On Fri, 2007-06-08 at 07:36 -0500, Scott Danton wrote: > I have recently purchased a Room Alert 7E to monitor the temperature > of our Server room. I am wondering if anyone has any experience > monitoring the temperature from a Room Alert device with MRTG?
No, but a plethora of other temperature sensors (my current favorite: Itwatchdogs Weathergoose) > I would love to get some help on a config. Looking at the > documentation they have built in MIB for Temp1F and Temp2F for the > temperature settings. I am not sure how to use these. I know for > monitoring a network interface in MRTG you would use something like > 172.16.2.10_2 Do I use the same thought process and do > 172.16.2.10_Temp1F? The name is mostly irrelevant. The target is everything. > How do I set up the graph for temperature? As you might be able to > tell I am not real sure of what I am doing. Please send anything you > think will be helpful. Even a sample cfg file if you have one. Here's a sample. To make this work, I used a LoadMIBs: line that included the mib file (and any pre-requisite mibs) # Created by # /usr/bin/cfgmaker --ifref=name --nointerfaces --host-template=probe.template --subdir=central/HOSTNAME --output=/var/mrtg/cfg/central/foo-probe.cfg [EMAIL PROTECTED]::2:1:1:1 ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # or for NT # WorkDir: c:\mrtgdata ### Global Defaults # to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits EnableIPv6: no ###################################################################### # System: foo-probe # Description: SH2 (3.5) # Contact: Dan McDonald # Location: foo Substation ###################################################################### #..................................................................... Target[foo-probe.example.com.temp.1]: SH2SensorCurrentValue.1&SH2SensorCurrentValue.1:[EMAIL PROTECTED] bb*host[foo-probe.example.com.temp.1]: foo-probe.example.com bb*svc[foo-probe.example.com.temp.1]: temp bb*yellow[foo-probe.example.com.temp.1]: 83 bb*red[foo-probe.example.com.temp.1]: 88 routers.cgi*Options[foo-probe.example.com.temp.1]: nototal Directory[foo-probe.example.com.temp.1]: central/foo-probe.example.com MaxBytes[foo-probe.example.com.temp.1]: 185 RouterUptime[foo-probe.example.com.temp.1]: [EMAIL PROTECTED] Options[foo-probe.example.com.temp.1]: Gauge noi Title[foo-probe.example.com.temp.1]: Probe temperature gauge YLegend[foo-probe.example.com.temp.1]: degrees F ShortLegend[foo-probe.example.com.temp.1]: F PageTop[foo-probe.example.com.temp.1]: <H1>Temperature</H1> <TABLE> <TR><TD>System:</TD><TD>foo-probe </TD></TR> <TR><TD>Location:</TD><TD>foo Substation </TD></TR> </TABLE> Target[foo-probe.example.com.hum.2]: SH2SensorCurrentValue.2&SH2SensorCurrentValue.2:[EMAIL PROTECTED] bb*host[foo-probe.example.com.hum.2]: foo-probe.example.com bb*svc[foo-probe.example.com.hum.2]: humidity bb*yellow[foo-probe.example.com.hum.2]: 17:80 bb*red[foo-probe.example.com.hum.2]: 12:85 routers.cgi*Options[foo-probe.example.com.hum.2]: nototal Directory[foo-probe.example.com.hum.2]: central/foo-probe.example.com MaxBytes[foo-probe.example.com.hum.2]: 100 RouterUptime[foo-probe.example.com.hum.2]: [EMAIL PROTECTED] Options[foo-probe.example.com.hum.2]: Gauge noi Title[foo-probe.example.com.hum.2]: Probe humidity gauge YLegend[foo-probe.example.com.hum.2]: relative humidity ShortLegend[foo-probe.example.com.hum.2]: % PageTop[foo-probe.example.com.hum.2]: <H1>Humidity</H1> <TABLE> <TR><TD>System:</TD><TD>foo-probe </TD></TR> <TR><TD>Location:</TD><TD>foo Substation </TD></TR> </TABLE> > -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX Austin Energy http://www.austinenergy.com _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
