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

Boyer, Timothy A. Timothy.Boyer at opm.gov
Sun Sep 26 21:02:55 UTC 2010


You can either do the same thing you did with Net::SNMP

perl -MCPAN -e 'install Getopt::Long'

or download the RPM from here:

http://packages.sw.be/perl-Getopt-Long/
________________________________________
From: Leandro Roggerone [leandro_roggerone at dmcwireless.com]
Sent: Sunday, September 26, 2010 3:51 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Fwd: Can't locate Net/SNMP.pm in @INC

  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.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null




More information about the Nagiosplugin-help mailing list