[BACK]Return to README CVS log [TXT][DIR] Up to [local] / nagios / check_hw_sensors

Annotation of nagios/check_hw_sensors/README, Revision 1.2

1.1       andrew      1: check_hw_sensors plugin for Nagios monitors sysctl hw.sensors on OpenBSD
                      2:     check_hw_sensors (-f [<FILENAME>]|(-s <hw.sensors id> -w limit -c limit))
                      3:
                      4: Usage:
                      5:     -f, --filename=FILE
                      6:         FILE to load checks from (defaults to /etc/sensorsd.conf)
                      7:     -s, --sensor=ID
                      8:         ID of a single sensor.  "-s 0" means hw.sensors.0.
                      9:     -w, --warning=RANGE or single ENTRY
                     10:         Exit with WARNING status if outside of RANGE or if != ENTRY
1.2     ! andrew     11:     -c, --critical=RANGE or single ENTRY
1.1       andrew     12:         Exit with CRITICAL status if outside of RANGE or if != ENTRY
                     13:
                     14:     -h (--help)       usage help
                     15:
1.2     ! andrew     16: FILE is in the same format as sensorsd.conf(5) plus some additional
        !            17: entries.  These additional entries in the file are ignored by
        !            18: sensorsd(8).
1.1       andrew     19:
                     20: check_hw_sensors understands the following entries:
                     21:
                     22:     low, high, crit, warn, crit.low, crit.high, warn.low, warn.high
                     23:
                     24: An ENTRY depends on the type.  The descriptions in sensorsd.conf(5)
                     25: can be used when appropriate, or you can use the following:
                     26:
                     27:     volts_dc, fanrpm or raw - Anything that includes digits.
                     28:     Both the value of the check and the value of the sensor
                     29:     response that are not either a digit or period are stripped
                     30:     and then the two resultant values are compared.
                     31:
                     32:     temp - Can be as above, but if the entry has an F in it,
                     33:     it compares farenheit, otherwise it uses celcius.
                     34:
                     35:     indicator or drive - does a case sensitive match of each
                     36:     entry in the comma separated list and if it does not match
                     37:     any of the entries, it matches the status.
                     38:
                     39: The entries 'crit' or 'warn' (or the -c or -w on the command line)
                     40: may be a RANGE or a comma separated list of acceptable values.
                     41: The comma separated list of values contains a list of things that
                     42: will NOT cause the status.  This is possibly counterintuitive, but
                     43: you are more likely to know good values than bad values.
                     44:
                     45: A RANGE is a low ENTRY and a high ENTRY separated by a colon (:).
                     46: It can also be low: or :high with the other side left blank to only
                     47: make the single check..
                     48:
1.2     ! andrew     49: check_hw_sensors (nagios-plugins 1.4) 1.13
1.1       andrew     50: The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
                     51: copies of the plugins under the terms of the GNU General Public License.
                     52: For more information about these matters, see the file named COPYING.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>