[Nagiosplug-devel] Patch for check_ups

Gunther Schlegel schlegel at riege.de
Fri Nov 22 00:20:03 CET 2002


Hi,

we noticed that the check_ups script does not handle the "Replace
Batteries" condition reported by some UPS systems.

We have changed check_ups to report the warning state instead of ok and
to display "replace batteries" instead of unknown.

Source file and patch are attached. It compiled and works on our RedHat
7.3 netsaint server.

regards, Gunther

-- 
Gunther Schlegel                    Riege Software International GmbH
Manager System Administration                            Mollsfeld 10
                                             40670 Meerbusch, Germany
Email: schlegel at riege.de                      Phone: +49-2159-9148-0
                                              Fax:   +49-2159-9148-11
---------------------------------------------------------------------

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_ups.tgz
Type: application/x-gzip
Size: 5080 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20021122/8f737578/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://nagios-plugins.org/archive/devel/attachments/20021122/8f737578/attachment.sig>


More information about the Devel mailing list