check_ifoperstatus

Tiago Augusto Wegner tiago at pbi.com.br
Thu Apr 1 20:42:00 CEST 2004


Levy,

A quick way to solve this is:
# perl -MCPAN -e shell
# install Net::SNMP
# quit

This is seen in the REQUIREMENTS file in nagios-plugins package.

Regards

Levy escreveu:
> 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
> 

-- 
Tiago A. Wegner - Consultor Técnico
tiago at pbi.com.br
Red Hat Certified Engineer

PBI - Redução de TCO
www.pbi.com.br

55 51 33251088 /91885858
MSN:tawegner at hotmail.com



-------------------------------------------------------
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