APC UPS MONITORIN
APC UPS MONITORIN
I am trying to monitor an APC UPS using check_powerware_ups.pl plugin but i got the following error.
ERROR: Yoy do NOT have the Net::SNMP library
Install itby running:
perl -MCPAN -e shell
cpan[1]> install Net::SNMP
Any ideas what is going wrong???
ERROR: Yoy do NOT have the Net::SNMP library
Install itby running:
perl -MCPAN -e shell
cpan[1]> install Net::SNMP
Any ideas what is going wrong???
Re: APC UPS MONITORIN
At Nagios web interface at service infos i got: (no output returnd from plugin)
Re: APC UPS MONITORIN
Code: Select all
ERROR: Yoy do NOT have the Net::SNMP library
Try to install it by running:
Code: Select all
perl -MCPAN -e shell
cpan[1]> install Net::SNMP
Former Nagios Employee.
me.
me.
Re: APC UPS MONITORIN
i tried this but iam getting the following
Code: Select all
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
Re: APC UPS MONITORIN
Take a look at this: https://www.centos.org/forums/viewtopic.php?t=48200
Former Nagios Employee.
me.
me.
Re: APC UPS MONITORIN
i followed the instructions. At cpan[1]> i wrote install Net::SNMP...
At cpan[2]> what i have to write to continue???
At cpan[2]> what i have to write to continue???
Re: APC UPS MONITORIN
Did anything happen after you ran the first command?
Former Nagios Employee.
me.
me.
Re: APC UPS MONITORIN
yes.... it installed something and now i got stack
Code: Select all
cpan[2]>
Re: APC UPS MONITORIN
ok!!!! the half problem solved! now i can run the plugin from command line and i am getting results (which are true).
But still at the nagios web interface i am getting (no output returned from plugin)
But still at the nagios web interface i am getting (no output returned from plugin)