<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>MRTG not graphing correctly</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>look in /usr/local/groundwork/apache2/htdocs/mrtgRA/roomalert.log<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Are the values you are seeing in snmpget
and in the debug, showing up in the log file?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Also, if you deleted everything in your
workdir, it will take a few times of running to get enough values to generate
graphs.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jeff M. Rohr<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, January 23, 2007
10:19 AM<br>
<b><span style='font-weight:bold'>To:</span></b> mrtg@lists.oetiker.ch<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mrtg] MRTG not graphing
correctly</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hello,</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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?</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks,</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Jeff</span></font>
<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#
File: /var/www/mrtg/cfg/mrtgRA.cfg</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#
Configuration file for Room Alert statistics</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#
Global Config Options</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>LoadMIBs:
/usr/local/groundwork/include/net-snmp/MIB/ROOMALERT7E.MIB</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>workdir:
/usr/local/groundwork/apache2/htdocs/mrtgRA</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#
Temp Monitoring</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Size[roomalert]:
600</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>YSize[roomalert]:
200</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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></span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Title[roomalert]:
Room Alert</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>PageTop[roomalert]:
< H1 >Detailed Statistics For Room Alert < /H1 ></span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>MaxBytes[roomalert]:
120</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>ShortLegend[roomalert]:
Temp in F</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>YLegend[roomalert]:
Temperature in Fahrenheit</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Legend1[roomalert]:
Temperature Sensor 1 (Internal)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Legend2[roomalert]:
Temperature Sensor 2 (External)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>LegendI[roomalert]:
Temp</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>LegendO[roomalert]:
Temp</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>options[roomalert]:
growright,nopercent,gauge,integer</span></font> <o:p></o:p></p>
</div>
</body>
</html>