Re: [Nagios-users] Error While Using check_ifstatus
Lei, Thanks. Here is the output: [r...@localhost init.d]# snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 IF-MIB::ifOperStatus = No Such Object available on this agent at this OID [r...@localhost init.d]# Wondering if you got a link to a good net-snmp tutorial. Martin --- On Sat, 5/23/09, Lei Chen clo...@gmail.com wrote: From: Lei Chen clo...@gmail.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: Martin Fontanez jdmfo...@yahoo.com Cc: nagios-users@lists.sourceforge.net, Assaf Flatto assaf.fla...@ssp-intl.com Date: Saturday, May 23, 2009, 1:48 AM 2009/5/22 Martin Fontanez jdmfo...@yahoo.com: Thanks Assaf, It looks like I have version 2 [r...@localhost snmp]# snmpwalk -v3 -c public localhost snmpwalk: No securityName specified [r...@localhost snmp]# [r...@localhost snmp]# snmpwalk -v2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90 SNMPv2-MIB::sysContact.0 = STRING: Root r...@localhost (configure /etc/snmp/snmp.local.conf) SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 [r...@localhost snmp]# I tried check_ifstatus with -v 2 option and getting same message: [r...@localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 2 -C public -I -u E1 6/0 CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 2 I'll guess the message that requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 means that there is something that needs configuring in snmp (???). I am very green with snmp. Try this to verify the test the IF-MIB::IfOperStatus OID. snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 --- On Fri, 5/22/09, Assaf Flatto assaf.fla...@ssp-intl.com wrote: From: Assaf Flatto assaf.fla...@ssp-intl.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: nagios-users@lists.sourceforge.net Date: Friday, May 22, 2009, 5:57 AM On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: I am new to Nagios. Trying to get link state info (up/down) on NIC cards on my box (realizing I could use check_ping but ICMP is blocked). I am using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or . I setup check-ifstatus but I am getting this error: CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 1 Wondering if anyone knows of a workaround. Are you sure the device you are quering is using SNMP v1 ? most devices come with SNMP2 or even 3 , check the setting of you snmp query and the snmp setting on the device to see what version you need to use to check.. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making
Re: [Nagios-users] Error While Using check_ifstatus
Here is resolution: Updated /etc/snmpd.conf file to contain the following line: rocommunity public then restarted snmpd and here is the new output: [r...@localhost snmp]# snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.3 = INTEGER: down(2) IF-MIB::ifOperStatus.4 = INTEGER: up(1) [r...@localhost snmp]# The nagios check_ifstatus works ok now. Thanks everyone. Cheers, Martin --- On Wed, 5/27/09, Martin Fontanez jdmfo...@yahoo.com wrote: From: Martin Fontanez jdmfo...@yahoo.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: Lei Chen clo...@gmail.com Cc: nagios-users@lists.sourceforge.net Date: Wednesday, May 27, 2009, 9:49 AM Lei, Thanks. Here is the output: [r...@localhost init.d]# snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 IF-MIB::ifOperStatus = No Such Object available on this agent at this OID [r...@localhost init.d]# Wondering if you got a link to a good net-snmp tutorial. Martin --- On Sat, 5/23/09, Lei Chen clo...@gmail.com wrote: From: Lei Chen clo...@gmail.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: Martin Fontanez jdmfo...@yahoo.com Cc: nagios-users@lists.sourceforge.net, Assaf Flatto assaf.fla...@ssp-intl.com Date: Saturday, May 23, 2009, 1:48 AM 2009/5/22 Martin Fontanez jdmfo...@yahoo.com: Thanks Assaf, It looks like I have version 2 [r...@localhost snmp]# snmpwalk -v3 -c public localhost snmpwalk: No securityName specified [r...@localhost snmp]# [r...@localhost snmp]# snmpwalk -v2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90 SNMPv2-MIB::sysContact.0 = STRING: Root r...@localhost (configure /etc/snmp/snmp.local.conf) SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 [r...@localhost snmp]# I tried check_ifstatus with -v 2 option and getting same message: [r...@localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 2 -C public -I -u E1 6/0 CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 2 I'll guess the message that requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 means that there is something that needs configuring in snmp (???). I am very green with snmp. Try this to verify the test the IF-MIB::IfOperStatus OID. snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 --- On Fri, 5/22/09, Assaf Flatto assaf.fla...@ssp-intl.com wrote: From: Assaf Flatto assaf.fla...@ssp-intl.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: nagios-users@lists.sourceforge.net Date: Friday, May 22, 2009, 5:57 AM On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: I am
Re: [Nagios-users] Error While Using check_ifstatus
Thanks Assaf, It looks like I have version 2 [r...@localhost snmp]# snmpwalk -v3 -c public localhost snmpwalk: No securityName specified [r...@localhost snmp]# [r...@localhost snmp]# snmpwalk -v2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90 SNMPv2-MIB::sysContact.0 = STRING: Root r...@localhost (configure /etc/snmp/snmp.local.conf) SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 [r...@localhost snmp]# I tried check_ifstatus with -v 2 option and getting same message: [r...@localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 2 -C public -I -u E1 6/0 CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 2 I'll guess the message that requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 means that there is something that needs configuring in snmp (???). I am very green with snmp. --- On Fri, 5/22/09, Assaf Flatto assaf.fla...@ssp-intl.com wrote: From: Assaf Flatto assaf.fla...@ssp-intl.com Subject: Re: [Nagios-users] Error While Using check_ifstatus To: nagios-users@lists.sourceforge.net Date: Friday, May 22, 2009, 5:57 AM On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: I am new to Nagios. Trying to get link state info (up/down) on NIC cards on my box (realizing I could use check_ping but ICMP is blocked). I am using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or . I setup check-ifstatus but I am getting this error: CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 1 Wondering if anyone knows of a workaround. Are you sure the device you are quering is using SNMP v1 ? most devices come with SNMP2 or even 3 , check the setting of you snmp query and the snmp setting on the device to see what version you need to use to check.. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery
[Nagios-users] Error While Using check_ifstatus
I am new to Nagios. Trying to get link state info (up/down) on NIC cards on my box (realizing I could use check_ping but ICMP is blocked). I am using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or . I setup check-ifstatus but I am getting this error: CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 1 Wondering if anyone knows of a workaround. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus
Davis, Thank you for taking the time to reply with such detail and precision. This worked well and and fixed the error. One thing with CPAN is that for some reason when I am in cpan prompt, whatever I type does not get displayed. Regards, Martin --- On Mon, 5/18/09, Andrew Davis ncc...@gmail.com wrote: From: Andrew Davis ncc...@gmail.com Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users@lists.sourceforge.net Date: Monday, May 18, 2009, 4:14 PM As root, try perl -MCPAN -e shell then install Net::SNMP. You may want to first do install Bundle::CPAN, then install Net::SNMP. Also open up the test script (assuming its not a compiled binary) and check for all the use lines and make sure they're installed. For example, from another script I saw: use strict; use Net::SNMP; use Getopt::Long; So my steps were: sudo su - perl -MCPAN -e shell install Bundle::CPAN reload cpan reload index install Net::SNMP install Getopt::Long For each, I installed prereq's where prompted... Also, depending on your OS, you may want to update the OS first before doing the above. For example, with CentOS, an yum -y update is good practice every now and then... keeps you nice and current. But keep in mind that anything built against a specific package may fail (last time I did this, Cacti choked as it was built against a specific version of a library and needed to be recompiled). Other common perl modules to consider include DBI, DBD::mysql, etc... Oh, and put the Net::SNMP line that you changed back... unfortunately, the output of your RPM query is showing the SNMP programs themselves. The script you're using is looking for the Perl module Net::SNMP. net-snmp and Net::SNMP are two completely different things, yet often times codependent. Hope this helps... A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan Martin Fontanez wrote: From: Martin Fontanez jdmfo...@yahoo.com Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users@lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives. Tried various solutions including creating a link to ../net dir but still get errors. I did yum installs of relevant *snmp* packages. Is there a standard fix for this error? 1 - [r...@localhost libexec]# ./check_ifstatus -H localhost Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. 2 - SNMP.pm is (not on @INC path, but created a link to ...Net/) on the following location: [r...@localhost libexec]# find / -name SNMP.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm [r...@localhost libexec]# 3 - Looks like I got relevant rpm installed: [r...@localhost libexec]# rpm -qa | grep -i snmp net-snmp-libs-5.3.2.2-5.el5 net-snmp-perl-5.3.2.2-5.el5 net-snmp-5.3.2.2-5.el5 [r...@localhost libexec]# 4. Edited the file ../check_ifconfig and replaced use Net::SNMP; with use SNMP; but that created other errors. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus
From: Martin Fontanez jdmfo...@yahoo.com Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users@lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives. Tried various solutions including creating a link to ../net dir but still get errors. I did yum installs of relevant *snmp* packages. Is there a standard fix for this error? 1 - [r...@localhost libexec]# ./check_ifstatus -H localhost Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. 2 - SNMP.pm is (not on @INC path, but created a link to ...Net/) on the following location: [r...@localhost libexec]# find / -name SNMP.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm [r...@localhost libexec]# 3 - Looks like I got relevant rpm installed: [r...@localhost libexec]# rpm -qa | grep -i snmp net-snmp-libs-5.3.2.2-5.el5 net-snmp-perl-5.3.2.2-5.el5 net-snmp-5.3.2.2-5.el5 [r...@localhost libexec]# 4. Edited the file ../check_ifconfig and replaced use Net::SNMP; with use SNMP; but that created other errors. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@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