(28 November 2012)
check_disk_snmp
check_diskw_snmpCheck a given system via snmp v1; report if the passed filesystem
has less than WARN or CRIT levels of space free.
Versions are supplied for Linux and Windows systems.
It requires the net-snmp command-line utilities.
This is based on
check_hd which didn't do exactly what I wanted.
macros.m4 definition:
define(`DODISKSNMP',`define service{
use generic-service
host_name $1
service_description SPACE-$5
check_command check_disk_snmp!$2!$3!$4!$5
normal_check_interval 5
} ')dnl
define(`DODISKWSNMP',`define service{
use generic-service
host_name $1
service_description SPACE-$5
check_command check_diskw_snmp!$2!$3!$4!$5
normal_check_interval 5
} ')dnl
sample.m4 use:
DODISKSNMP(`gw-yum',`public',`90',`95',`/')
DODISKWSNMP(`gw-ad01',`public',`90',`95',`C')