[mrtg] FW: MRTG not graphing correctly
Anson Rinesmith
arinesmith at bigrivertelephone.com
Tue Jan 23 21:26:18 MET 2007
Try deleting both the roomalert.log and roomalert.old files, run mrtg 3
times manually, and then see if the cron job will pick it up from there.
_____
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 1:52 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] FW: MRTG not graphing correctly
In the log file the values show up correctly on the first line in the file,
then it repeats zeros continuously.
1169581503 7541 8475
1169581503 0 0 0 0
1169581203 0 0 0 0
1169581200 0 0 0 0
1169580900 0 0 0 0
1169580600 0 0 0 0
...
I've been seeing 0 values for several days now.
_____
From: Anson Rinesmith [mailto:arinesmith at bigrivertelephone.com]
Sent: Tuesday, January 23, 2007 11:16 AM
To: Jeff M. Rohr; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] MRTG not graphing correctly
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/8ea94bc3/attachment.htm
More information about the mrtg
mailing list