SNMP Problem, Temperature of a Foundry Network s

Tedman Eng teng at dataway.com
Thu Nov 4 20:23:58 CET 2004


Try the full OID.  The leading "." trailing ".0" is often truncated in OID
descriptions.

 1.3.6.1.4.1.1991.1.1.1.1.18 should actually be 
.1.3.6.1.4.1.1991.1.1.1.1.18.0


snmpget -v 1 -c public yourHost .1.3.6.1.4.1.1991.1.1.1.1.18.0 -m ALL


-----Original Message-----
From: Jan Scholten [mailto:Jan.Scholten at iconz.net]
Sent: Tuesday, November 02, 2004 7:55 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] SNMP Problem, Temperature of a Foundry Networks


Hi i have a strange problem:

chewbacca:/usr/local/nagios/libexec# snmpwalk -v 1 -c public myHost  
.1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL
FOUNDRY-SN-AGENT-MIB::snChasActualTemperature.0 = INTEGER: 39

good! (Temperature a bit high, but ok!)

chewbacca:/usr/local/nagios/libexec# snmpget -v 1 -c public myHost   
.1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: FOUNDRY-SN-AGENT-MIB::snChasActualTemperature

I downloaded a Foundry networks mib from snmplink.org (and oidview.org to  
try another) it's defined in the Mibs:


snChasActualTemperature OBJECT-TYPE
     SYNTAX  INTEGER (-110..250)
	ACCESS	read-only
	STATUS	mandatory
	DESCRIPTION
		"Temperature of the chassis. Each unit is 0.5 degrees
Celcius.
		Only management module built with temperature sensor
hardware
		is applicable. For those non-applicable management module,
it
		returns no-such-name."
	::= { snChasGen 18 }

and since i can get the value with snmpwalk i should be able to get it  
with snmpget (i thought). check_snmp provides a " No data recieved from  
host "

What am i doing wrong?

Jan


-- 
Jan Scholten
Research and Development Intern
Iconz.co.nz


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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