Xymon Mailing List Archive search

Hobbit compatible temperature monitor

list Geoff Hallford
Wed, 25 Jun 2008 13:06:49 -0400
Message-Id: <user-62bb89f56b6e@xymon.invalid>

I am using a Netbotz 320 device in my network and DC's. I have linked them
to Hobbit using MRTG and bbmrtg.pl for temp and humidity and alerting. Here
is an example MRTG entry for a 320 Netbotz:

######################################################################
# System: netbotz-dc1
# Description: Netbotz Environmental Monitoring
#
# Contact: (REMOVED)
# Location: DC1 - Room 322 - Main Campus
######################################################################

### Temperature >> Descr: 'Temperature' | Name: '' ###
# bb* = Big Brother info
bb*host[netbotz-dc1_1]: netbotz-dc1
bb*svc[netbotz-dc1_1]: temp
bb*yellow[netbotz-dc1_1]: 65:75
bb*red[netbotz-dc1_1]: 60:80
bb*unit[netbotz-dc1_1]: F

Target[netbotz-dc1_1]:
.1.3.6.1.4.1.5528.100.4.1.1.1.9.1095346743&.1.3.6.1.4.1.5528.100.4.1.1.1.9.1095346743:tslab at netbotz-dc1
# MaxBytes sets the scale of the graph to 100.0 Deg
MaxBytes[netbotz-dc1_1]: 100
Unscaled[netbotz-dc1_1]:  dwym
YLegend[netbotz-dc1_1]:  Temperature(Fahrenheit)
ShortLegend[netbotz-dc1_1]:  Degrees F
LegendI[netbotz-dc1_1]:  Temperature
LegendO[netbotz-dc1_1]:  Temperature
Legend1[netbotz-dc1_1]:  Temperature(Degrees Fahrenheit)
Legend2[netbotz-dc1_1]:  Temperature(Degrees Fahrenheit)
Options[netbotz-dc1_1]: gauge,nopercent

Title[netbotz-dc1_1]: Temperature for DC1 Netbotz in room 322 - Main Campus
PageTop[netbotz-dc1_1]: <h1>Temperature for DC1 Netbotz in room 322 - Main
Campus</h1>

# bb* = Big Brother info
bb*host[netbotz-dc1_2]: netbotz-dc1
bb*svc[netbotz-dc1_2]: humidity
bb*yellow[netbotz-dc1_2]: 15:75
bb*red[netbotz-dc1_2]: 10:80
bb*unit[netbotz-dc1_2]: Percent

Target[netbotz-dc1_2]:
.1.3.6.1.4.1.5528.100.4.1.2.1.8.1094232622&.1.3.6.1.4.1.5528.100.4.1.2.1.8.1094232622:tslab at netbotz-dc1
# MaxBytes sets the scale of the graph to 100.0 Deg
MaxBytes[netbotz-dc1_2]: 50
Unscaled[netbotz-dc1_2]:  dwym
YLegend[netbotz-dc1_2]:  Humidity
ShortLegend[netbotz-dc1_2]:  Degrees F
LegendI[netbotz-dc1_2]:  Humidity
LegendO[netbotz-dc1_2]:  Humidity
Legend1[netbotz-dc1_2]:  Humidity
Legend2[netbotz-dc1_2]:  Humidity
Options[netbotz-dc1_2]: gauge,nopercent

Title[netbotz-dc1_2]: Humidity for DC1 Netbotz in room 322 - Main Campus
PageTop[netbotz-dc1_2]: <h1>Humidity for DC1 Netbotz in room 322 - Main
Campus</h1>


On Wed, Jun 25, 2008 at 12:03 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:
On Wed, Jun 25, 2008 at 10:28 AM, Eric Boyd <user-abc320474c7c@xymon.invalid> wrote:
I am looking to add temperature graphs to hobbit.

What should I use to monitor and graph the temperature of our server room?
None of our servers report any temperature readings in the client data.
We have some APC battery backups that have environmental monitors built
in, but I am willing to spend a little cash on a separate device if there is
something proven to work with Hobbit.

I'm using OneWire DS18S20 sensors from Maxim-IC.com to watch room and
refrigerator temps in my wife's dairy at home.  Right now it's a bit of a
hack, with the sensors just soldered onto old phone cables, but it works
just fine.  The fridge seems to be maintaining about 25F while the room temp
gets up over 85F.

I'm using digitemp to read the sensors, which can be hooked up to either
USB or serial ports, though it's also possible to use owfs.  The readings
are fed to Hobbit via a custom script that generates NCV compatible data for
graphing.

The bare sensors are about $5, and the USB or serial port connector is
around $30.  You can use any old ethernet or phone cable.

Ralph Mitchell
-- 
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson