check_cs121

check_cs121

Icinga/Nagios check to retrieve information from the SNMP adapter plugged into a UPS.  Currently checking Input Voltages, Phase Loads and UPS temparature. Run check_cs121 on command line to see usage options. Config as follows:-

Commands.cfg

define command {
    command_name    check_cs121
    command_line    $USER1$/check_cs121.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$
}

Services.cfg

define service{
    service_description     service_name
    check_command           check_cs121!community!option!W!C
    hostgroup_name          ups
}