File monitoring-plugins-snmp-services of Package monitoring-plugins-snmp

# example services for check_snmp


#########################################################################
#
#   Disk usage check
#
#########################################################################
# Check partition "/" to be less than 90%/97% used (& performance output) 

define service {
    name Check_Linux_root
    service_description Check_Linux_root
    check_command check_snmp_storage_v2c!"/"!90!97!-rf
    }

# Check partition /, /boot, /var/backup to be less than 90%/97% used 

define service {
    name Check_partitions
    service_description Check_partitions / /boot /var/backup 
    check_command check_snmp_storage_v2c!"(^/$)|boot|var/backup"!90!97!
    }

# Check ALL "FixedDisk" type storages.
# This is not a always good idea as you can see in the output : some like /sys don't need to be checked.
#define service {
#    name Check_all_partitions
#    service_description Check all mounted partitions  
#    check_command check_snmp_storage_v2c!".*"!90!97!-q FixedDisk -S1
#    }

#########################################################################
#
#  CPU/load usage check
#
#########################################################################

define service {
    name linux_load
    check_command check_snmp_load_v1!netsl!4,3,3!7,7,7!-f
}

openSUSE Build Service is sponsored by