I try to use check_ifoperstatus plugin,and have net-snmp installed.
when ./check_ifoperstatus -h
Can’t locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios bexec /usr b/perl5/5.8.0/i386-linux-thread-multi /usr b/perl5/5.8.0 /usr b/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr b/perl5/site_perl/5.8.0 /usr b/perl5/site_perl /usr b/perl5 endor_perl/5.8.0/i386-linux-thread-multi /usr b/perl5 endor_perl/5.8.0 /usr b/perl5 endor_perl .) at ./check_ifoperstatus line 41.
BEGIN failed–compilation aborted at ./check_ifoperstatus line 41.
do anyone know about it?
check the net-snmp install… the problem looks to be perl related but i don’t know which files come with the snmp package and which come with perl… i think it should all be in the net-snmp package…
Luca
I got the answer,the problem above requires net-snmp module, the website where you can download this module:http://search.cpan.org/~dtown/Net-SNMP-5.1.0/lib/Net/SNMP.pm