[mrtg] MRTG not graphing correctly
Anson Rinesmith
arinesmith at bigrivertelephone.com
Tue Jan 23 18:16:13 MET 2007
look in /usr/local/groundwork/apache2/htdocs/mrtgRA/roomalert.log
Are the values you are seeing in snmpget and in the debug, showing up in the
log file?
Also, if you deleted everything in your workdir, it will take a few times of
running to get enough values to generate graphs.
_____
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of Jeff M. Rohr
Sent: Tuesday, January 23, 2007 10:19 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] MRTG not graphing correctly
Hello,
Newbie to MRTG. I have it up and working for network statistics and its
great! Now I'm trying to manually configure a MRTG file and having a
problem. I'm pulling data from an AVTECH Room Alert (environment monitor)
to get temperature readings, but nothing is being graphed. At first it
graphed some very small values from 0 to 8 then after deleting the original
image files nothing will graph. I created the file below, ran indexmaker
and added a cron job to run it every 5 min. I'm able to do a snmpget on the
same OID's below which do return values. Additionally, when using debug
("cfg,snpo,log") I can see that MRTG is returning the same values as the
snmpget, but still not graphing correctly. Any advice?
Thanks,
Jeff
# File: /var/www/mrtg/cfg/mrtgRA.cfg
#
# Configuration file for Room Alert statistics
#
# Global Config Options
LoadMIBs: /usr/local/groundwork/include/net-snmp/MIB/ROOMALERT7E.MIB
workdir: /usr/local/groundwork/apache2/htdocs/mrtgRA
# Temp Monitoring
Size[roomalert]: 600
YSize[roomalert]: 200
Target[roomalert]:
1.3.6.1.4.1.20916.1.2.1.1.5.0&1.3.6.1.4.1.20916.1.2.1.1.6.0:public@<IP>
Title[roomalert]: Room Alert
PageTop[roomalert]: < H1 >Detailed Statistics For Room Alert < /H1 >
MaxBytes[roomalert]: 120
ShortLegend[roomalert]: Temp in F
YLegend[roomalert]: Temperature in Fahrenheit
Legend1[roomalert]: Temperature Sensor 1 (Internal)
Legend2[roomalert]: Temperature Sensor 2 (External)
LegendI[roomalert]: Temp
LegendO[roomalert]: Temp
options[roomalert]: growright,nopercent,gauge,integer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.oetiker.ch/pipermail/mrtg/attachments/20070123/f537e28b/attachment.html
More information about the mrtg
mailing list