temperature sensors

Lewis Getschel lgetschel at denver.westerngeco.slb.com
Mon Aug 22 20:55:44 CEST 2005


For me, thinking outside the box, I came up with using the "Supervisor 
module 5 asic 2 temperature Sensor" of our Cisco 65xx router. It's a 
couple of degrees higher than the room itself, but not enough for me to 
need something else.

SNMPv2-SMI::mib-2.47.1.1.1.1.2.7010 = STRING: "Supervisor module 5 asic 
2 temperature Sensor"
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.7010 = INTEGER: 27
That's C degrees.

Here in Colorado, I think in F degrees, so:
# Convert degrees C to degrees F ( F=((C * 1.8) + 32) )
CURRENT_F_TEMP=`echo "scale=0; ($MODULETEMP * 1.8) +32" | /usr/bin/bc | 
/usr/bin/awk -F. '{print $1}'`
This yields 80 degrees, which matches the A/C temp display

(If anyone wants this plugin, just ask.)
Lewis


Frederik Vanhee wrote:

> Hello out there,
>
> what kind of temperature sensors are you using to measure the 
> temperature in the computerroom for example ?
> Network connection is necessary.
> Any experience with the Esensors promoted on the Nagios website ?
>
> Thanks,
>
> Frederik
>
-- 
Lewis Getschel             | Today is done...
WesternGeco                |     Today was fun...
1625 Broadway              |         Tomorrow is another one.
Denver, CO 80202           |
Direct Phone - 303-389-4407|        -- Dr. Seuss --



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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