This is my first plug-in made for Nagios. It was made in order to help the administrator to check via SNMP the inverse scale variables such as UPS line in voltage.
For example, one needs to know when the input voltage of an UPS drops to zero => an error, as the power line is in fault, but not having problems when the same check is 220V in normal conditions.
With the normal “check_snmp” you can’t check those limits, as the check will always be in error.
Usage: ./check_snmp_inverter.sh -H <remote_host_IP> -C <comunity_string> -o <OID> -w <warning value> -c <critical value> -u <measure block> -l <label>
The critical value is the real value that one needs to set, for example: 0, and the warning value greater than the critical – ex: 240.
You can download it from here.