[Nagiosplug-help] Fwd: Can't locate Net/SNMP.pm in @INC

Leandro Roggerone leandro_roggerone at dmcwireless.com
Sun Sep 26 19:51:04 UTC 2010


  hi everyone, i got this from de readme file:

Nagios SNMP plugins 1.1.1 README
------------------------------


Nagios SNMP plugins is a set of Nagios plugins to check hosts/devices 
using snmp protocol.
http://nagios.manubulon.com for more details.


Requirements:
-------------
- perl in /usr/bin/perl
- Net::SNMP and Getopt::Long
- File utils.pm in Nagios plugin directory (default 
/usr/local/nagios/libexec)
- Nagios user can write files in /tmp/ directory.

I checked :
perl:  is located there.
utils.pm:  is there also,

tmp is located there and looks like :
drwxrwxrwt   5 root root  4096 Sep 26 10:00 tmp

about perl i did :

perl -MCPAN -e 'install Net::SNMP'  from cli

but no idea what is:
Getopt::Long

Note : I've never installed any plugins using the install.sh , I just 
copy the chec_snmp_process.pl in the libexec directory and changed de 
execution mode to :
-rwxr-xr-x 1 nagios nagios  24233 Sep 24 10:38 check_snmp_process.pl

is it ok ? thanks. LEO.





More information about the Nagiosplugin-help mailing list