Plugin problem

Michael Friedrich michael.friedrich at univie.ac.at
Mon Jul 13 18:20:12 CEST 2009



Natalie Aloi wrote the following on 13.07.2009 17:49:
> [root at dns libexec]# ./check_ifoperstatus
> Can't locate Net/SNMP.pm in @INC (@INC contains: 
> /usr/local/nagios/libexec 
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
> /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.10.0 /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/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_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 .) at 
> ./check_ifoperstatus line 41.
> BEGIN failed--compilation aborted at ./check_ifoperstatus line 41.

It tells you exactly what is missing - a package called net-snmp for 
perl. a bit google and on fedora you can refer to this page:

http://www.rpmfind.net/linux/rpm2html/search.php?query=net-snmp-perl

choose rpm which is applicable to your fedora version (if 10, then fc10 
and so on).

wget <downloadurl>
rpm -i <downloaded.rpm>


Another method of getting this is using the perl CPAN

perl -MCPAN -e shell
(go through config process if asked)
install Net::SNMP
quit


Kind regards,
Michael



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list