Having put an IP address on the management card of a APC Symmetra RM 12000 recently, I set out to setting up Nagios to monitor it today. I found a plugin called check_apc.pl which seemed to work fairly well. It was also quite nicely supported in Observium.
Downloading the plugin and executing it checked out OK:
After adding a
check_command, I added service checks to monitor the UPS host. After forcing a check, I was getting errors about “Service check did not exit properly”. Going back to the check_apc.pl page on exchange.nagios.org, I read thru the comments. The second comment fixed the issue for me, apparently built in Perl in Nagios may not be 100% the same as the CLI. I added
/usr/bin/perl in front of the check command and it immediately returned results like the CLI testing had.