check_ifoperstatus
carole verdon
verdon at cict.fr
Fri Apr 2 10:03:19 CEST 2004
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
>
>
>
>
--
**********************************
VERDON Carole
Ingénieur Système
CICT - Université Paul Sabatier
118, route de Narbonne
31062 Toulouse Cedex
Tél.: 05.61.36.60.44
Fax: 05.61.52.14.58
Mail: verdon at cict.fr
**********************************
-------------------------------------------------------
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_id70&alloc_id638&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