[Nagiosplug-help] problem with nagios-hp-agents.2.2 plugin

bharat moradiya hellobgm at gmail.com
Wed Apr 15 03:44:11 CEST 2009


Hello,

I am new for nagios. I have downloaded nagios-hp-agents.2.2.tar.gz and
decompressed by this:
*
[...]# tar xzf nagios-hp-agents.2.2.tar.gz
[...]# cd nagios-hp-agents
[...]# ls
nagios-hp-agents mibs README*

Then I have copied nagios-hp-agents to nagios libexec directory like this:

*[...]# cp nagios-hp-agents /usr/local/nagios/libexec/*

When I did like this:

*[...]# /usr/local/nagios/libexec/nagios-hp-agents*

*Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec
/usr/
lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl
/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-t
hread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/
perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.
8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib64/perl5/ven
dor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_
64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-mul
ti /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/v
endor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8
.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/
5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_hp_agents
lin
e 31.
BEGIN failed--compilation aborted at ./check_hp_agents line 31.*

What could be the problem... How to use this plugins actually? Can anyone
please suggest?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090415/d8c1171d/attachment.html>


More information about the Help mailing list