| | 34 | === Adding extra metrics === |
| | 35 | Extra sensors, metrics, and exceptions may be added to a particular node or node type. There is a large set available in the [https://trac.lal.in2p3.fr/LCGQWG/browser/templates/trunk/standard/monitoring/lemon QWG Lemon directory] (sub-directories metric, sensor, exception). For example, to add monitoring for the service {{{myservice}}} you would do: |
| | 36 | |
| | 37 | {{{ |
| | 38 | include monitoring/lemon/sensor/myservice; |
| | 39 | include monitoring/lemon/metric/myservice; |
| | 40 | include monitoring/lemon/exception/myservice; |
| | 41 | }}} |
| | 42 | |
| | 43 | '''NB''' some of the metrics require additional RPM(s) to be installed on monitored machines. For example, the {{{fio}}} sensor, which includes monitoring of Quattor services, requires the installation of {{{lemon-sensor-fio}}} which depends on {{{perl-Time-HiRes}}}. These RPMs and dependencies are not currently automatically included in QWG -- this should be done. |
| | 44 | |
| | 45 | |