check_ifoperstatus
Subhendu Ghosh
sghosh at sghosh.org
Fri Apr 2 18:49:31 CEST 2004
Don't do this... (copy the file)
SNMP.pm in the lib directory comes from a different package than SNMP.pm
in the Net directory.
For the Net::SNMP module - verify installation be running
'perl -M CPAN -e "install Net::SNMP' '
Net::SNMP perl module is different than the Net-SNMP package from
net-snmp.sourceforge.net which provides the command line tools, snmp agent
and a perl interface to the library.
-sg
On Fri, 2 Apr 2004, carole verdon wrote:
> If you already installed the Net::SNMP module, that means
> check_ifoperstatus don't find the SNMP.pm library in the good directory
> (Net directory of perl). You must do something that seems like:
>
> cp /usr/local/net-snmp-5.1/perl/blib/lib/SNMP.pm /usr/lib/perl5/5.8.0/Net/
>
> I hope that will help you.
>
> Carole.
>
> Levy wrote:
>
> >Hi
> >I'm new to nagios, but have it setup and worked fine for most checks.
> >Problem is when using the check_ifoperstatus this is the error I'm getting:
> >
> >-bash-2.05b$ ./check_ifoperstatus
> >Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec
> >/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> >/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0
> >/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> >/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_ifoperstatus
> >line 40.
> >BEGIN failed--compilation aborted at ./check_ifoperstatus line 40.
> >-bash-2.05b$
> >
> >Nagios 1.2 on Red hat linux 9 with nagios-plugins 1.3.1
> >
> >Thanks for any help.
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by: IBM Linux Tutorials
> >Free Linux tutorial presented by Daniel Robbins, President and CEO of
> >GenToo technologies. Learn everything from fundamentals to system
> >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> >_______________________________________________
> >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: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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