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 wrote: > From: Martin Fontanez > Subject: Re: [Nagios-users] Error While Using check_ifstatus > To: "Lei Chen" > 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 > wrote: > > > From: Lei Chen > > Subject: Re: [Nagios-users] Error While Using > check_ifstatus > > To: "Martin Fontanez" > > Cc: nagios-users@lists.sourceforge.net, > "Assaf Flatto" > > Date: Saturday, May 23, 2009, 1:48 AM > > 2009/5/22 Martin Fontanez : > > > 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 > > (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
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 wrote: > From: Lei Chen > Subject: Re: [Nagios-users] Error While Using check_ifstatus > To: "Martin Fontanez" > Cc: nagios-users@lists.sourceforge.net, "Assaf Flatto" > > Date: Saturday, May 23, 2009, 1:48 AM > 2009/5/22 Martin Fontanez : > > 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 > (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 > wrote: > > > > From: Assaf Flatto > > 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 > >> >. &
Re: [Nagios-users] Error While Using check_ifstatus
2009/5/22 Martin Fontanez : > 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 (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 wrote: > > From: Assaf Flatto > 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 ad
Re: [Nagios-users] Error While Using check_ifstatus
You may have v3 available on the device you are querying, but you need to specify a lot more information to snmpwalk than you have. Read more at http://net-snmp.sourceforge.net/wiki/index.php/TUT:SNMPv3_Options (especially the table at about the middle of the page). Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onot...@broadridge.com <mailto:steve.onot...@broadridge.com> Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 From: Martin Fontanez [mailto:jdmfo...@yahoo.com] Sent: May 22, 2009 08:23 To: nagios-users@lists.sourceforge.net; Assaf Flatto Subject: 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 (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 wrote: From: Assaf Flatto 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
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 (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 wrote: From: Assaf Flatto 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, computer
Re: [Nagios-users] Error While Using check_ifstatus
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, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY -- 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
[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