Random Project

IMS Works great

I’m using CentOS 7.1 with Nagios Core 4.1rc
I had a slight issue getting this to work out of the box. I had to add a line of code to correct the following error:
“Can’t locate utils.pm in @INC (@INC contains: . /usr/lib/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5)”

It’s simple though, just mod the check_ims_sensor file by adding the line:

use lib “/usr/local/nagios/libexec”;

under the line: use lib qw ( . /usr/lib/nagios/libexec );

And it got rid of the error and worked like a champ.
My only question is if and when the battery check will be supported. As I got the following
“Error: Input type battery is unsupported at this time.”

Just curious. it’s no big.
Gonna go check out the APC plugin now.
Thanks for making this!