SNMP Problem, Temperature of a Foundry Networks

Edy Gasparini edy at egan.com.au
Wed Nov 3 05:19:40 CET 2004


Try:

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

Ie. Add .0 to the OID

Edy
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Jan Scholten
> Sent: Wednesday, 3 November 2004 2: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