Check_snmp External Command Error Error In Packet
Contents |
to their myAvatar Product Email System Upgrade Upgrading MS Exchange Computer Assisted Coding 3M Computer Assisted Coding system installation IN THIS DISCUSSION Join the Community! Creating your account only takes a few check_snmp failed object iso minutes. Join Now I have Nagios monitoring multiple switches. I have it monitoring three
Check_snmp Nosuchname
right now, more will be added later on. There are two 48 port switches and one 24 port switch. The two 48 there is no such variable name in this mib zabbix port switches are cisco 2950 switches and the 24 port is a 3560. The two 48 port switches return everything fine with port status and bandwidth usage. the 24 port switch reports back bandwidth properly
Snmp Error In Packet
but not for the port status. It gives the error: "External command error: Error in packet" The thing that bothers me about this is that port 1 comes back with "SNMP OK - 1" but all of the others give that error. I checked my configurations and unless the command should be something else I am stumped. Config for port 1 - define service{ use generic-service ; Inherit snmpwalk error in packet. values from a template host_name sw1 service_description Port 1 Link Status check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB } Config for port 2 - define service{ use generic-service ; Inherit values from a template host_name sw1 service_description Port 2 Link Status check_command check_snmp!-C public -o ifOperStatus.2 -r 1 -m RFC1213-MIB } Anyone see something I do not? Reply Subscribe RELATED TOPICS: is not recognized as an internal or external command WMIC not recognized as an internal or external command   6 Replies Jalapeno OP Keith Heimbuch Nov 26, 2010 at 12:35 UTC Apparently this isn't listed in the MIB Port 1 check_snmp -H X.X.X.X -C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB SNMP OK - 1 | RFC1213-MIB::ifOperStatus.1=1 Port 2 check_snmp -H X.X.X.X -C public -o ifOperStatus.2 -r 1 -m RFC1213-MIB External command error: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: RFC1213-MIB::ifOperStatus.2 Keep in mind that I have used this same string for my two 48 port switches and every port returns a value. It seems to be this one and the two 2960 gig switches. 1
clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here
Reason: (nosuchname) There Is No Such Variable Name In This Mib
→ (This may not be possible with some types of ads)
Nagios Check_snmp
More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select https://community.spiceworks.com/topic/119968-nagios-error-external-command-error-error-in-packet a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Nagios Core Mailing Lists Nagios Core Nagios network monitoring software is enterprise server monitoring Brought to you by: egalstad, swilkerson Summary Files Reviews Support Wiki Mailing Lists Donate SVN CVS Git ▾ Nagios BPI Nagios Core https://sourceforge.net/p/nagios/mailman/nagios-users/thread/4E5BDEFB.7030809@aloah-from-hell.de/ Nagios Core Docs Nagios V-Shell NDOUtils NRDP NRPE NSCA NSTI nagios-announce nagios-checkins nagios-devel nagios-devteam nagios-drama nagios-project nagios-users nagios-users-br nagios-users-ru nagios-users [Nagios-users] snmpwalk is working, check_snmp is not ? From:
iCall iControl iControlREST IP Intelligence Services iRules iRulesLX iWorkflow Linerate LTM MobileSafe Secure Web Gateway Silverline https://devcentral.f5.com/questions/monitoring-via-snmp TMOS TMSH WebSafe Clear all filters Back to List Answers Monitoring via SNMP Updated 23-Apr-2012•Originally posted on 23-Apr-2012 by Michael 79 management monitoring I have http://stackoverflow.com/questions/17444248/reason-nosuchname-there-is-no-such-variable-name-in-this-mib been searching, hashing and working on trying to get monitoring via SNMP for my LTM 1600 boxes. I understand SNMP but there is something that error in I"m missing I presume. I was able to load a MIB Browser and formulate the OID for CPUs (OIDs: .1.3.6.1.4.1.3375.2.1.7.5.2.1.11.1.48.1,.1.3.6.1.4.1.3375.2.1.7.5.2.1.11.1.48.2). I used the same formula to work on getting other metrics and I have not been able to. I can pull data via MIB Browser and running an snmpwalk. But I error in packet can not get the same check as CPU to pull data. Using the snmpwalk from OID: .1.3.6.1.4.1.3375.2.1.1.2 (found in forums), I get a long list. Pulling out one of those, I can get a data response. $ snmpwalk -v 2c -c xxxxxx host SNMPv2-SMI::enterprises.3375.2.1.1.2.21.16.0SNMPv2-SMI::enterprises.3375.2.1.1.2.21.16.0 = Counter64: 2I convert it to it's full OID, and it comes back. $ snmpwalk -v 2c -c xxxxxx host .1.3.6.1.4.1.3375.2.1.1.2.21.16.0SNMPv2-SMI::enterprises.3375.2.1.1.2.21.16.0 = Counter64: 2But I then turn that into a host check, I get an error. $ ./check_snmp -v -H host -C xxxxxx -o .1.3.6.1.4.1.3375.2.1.1.2.21.16.0/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] idcbip01.host.com:161 .1.3.6.1.4.1.3375.2.1.1.2.21.16.0External command error: Error in packetReason: (noSuchName) There is no such variable name in this MIB.Failed object: iso.3.6.1.4.1.3375.2.1.1.2.21.16.0What am I missing? Both the MIB Browser and the snmpwalk will return data but the same in snmpget wont. 0 Rate this Question Answers to this Question 1 Answers: USER ACCEPTED
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Reason: (noSuchName) There is no such variable name in this MIB up vote 7 down vote favorite 2 I am using centos Operating System. i am trying to get the memory statistics of localhost through snmpget command, i am getting this error. snmpget -v 1 -c public localhost .1.3.6.1.4.1.2021.4.6 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::memAvailReal But, if i fire this one .. i am getting the output.. snmpget -v 1 -c public localhost .1.3.6.1.2.1.1.3.0 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (58756) 0:09:47.56 I am not getting what I am doing wrong. I exported the path of /usr/share/snmp/mibs/ to $PATH variable. can any one help me out. centos snmp share|improve this question edited Jul 3 '13 at 9:40 Carlos Landeras 8,06982963 asked Jul 3 '13 at 9:21 Riyaz 52117 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted You'd better read the FAQ page of net-snmp, http://www.net-snmp.org/wiki/index.php/FAQ:Applications_09 You should use snmpget -v 1 -c public localhost .1.3.6.1.4.1.2021.4.6.0. share|improve this answer answered Jul 4 '13 at 6:13 Lex Li 29.2k34365 1 Also useful to do snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.1 and you will see what OIDs exist in your tree –k1eran Jul 5 '13 at 8:46 thank you -k1eran –Riyaz Jul 8 '13 at 5:21 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged centos snmp or ask your own question. asked 3 years ago viewed 14606 times active 3 years ago Linked 0 SNMP OID for getting manufacturer serial number with SNMP version 1 Related 1How to query UCD-SNMP-MIB using snmpwalk0Bad operator (�): At line 1 in /usr/share/snmp/mibs/ZYXEL-ES2108G-MIB.txt2SNMP MIB DISPLAY-HINT or UNITS - which one has precedence?1Net-snmp can't find standard