Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ??

Richard Mayhew richard at splash.co.za
Thu Jan 8 12:48:35 CET 2004


Or you can

perl -MCPAN -e shell
and install Net::SNMP


'install Net::SNMP' after upgrading your CPAN bundle which it will prompt
you to do..

:)


----- Original Message ----- 
From: "Francois JEANMOUGIN" <Francois.JEANMOUGIN at 123multimedia.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Thursday, January 08, 2004 1:36 PM
Subject: RE: [Nagios-users] Check_ifoperstatus or Check_snmp_disk --> Can't
locate Net/SNMP.pm ??




> -----Original Message-----
> Have anybody seen this before?
>
> [root at localhost libexec]# perl ./check_ifoperstatus
> Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec
> /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl .) at ./check_ifoperstatus line 40.
> BEGIN failed--compilation aborted at ./check_ifoperstatus line 40.
>
> I have a SNMP.pm in /usr/local/nagios/libexec ....
>
>
> Any hints?

cd libexec
mkdir Net
cp SNMP.pm Net/

'should work/

François.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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