<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;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {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=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<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>&nbsp;</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
1:52 PM<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] FW: 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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>In the log file the values show up
correctly on the first line in the file, then it&nbsp;repeats
zeros&nbsp;continuously.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>1169581503 7541 8475<br>
1169581503 0 0 0 0<br>
1169581203 0 0 0 0<br>
1169581200 0 0 0 0<br>
1169580900 0 0 0 0<br>
1169580600 0 0 0 0<br>
...</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I've been seeing 0 values for several days
now.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</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 style='margin-bottom:12.0pt'><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'> Anson
Rinesmith [mailto:arinesmith@bigrivertelephone.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, January 23, 2007
11:16 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Jeff M. Rohr;
mrtg@lists.oetiker.ch<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mrtg] MRTG not
graphing correctly</span></font><o:p></o:p></p>

<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>&nbsp;</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>&nbsp;</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>&nbsp;</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!&nbsp;
Now I'm trying to manually configure a MRTG file and having a problem.&nbsp;
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.&nbsp; I created the file below, ran indexmaker and added a
cron job to run it every 5 min.&nbsp; I'm able to do a snmpget on the same OID's
below which do return values.&nbsp; Additionally, when using debug
(&quot;cfg,snpo,log&quot;) I can see that MRTG is returning the same values as
the snmpget, but still not graphing correctly.&nbsp; 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>&nbsp;</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&amp;1.3.6.1.4.1.20916.1.2.1.1.6.0:public@&lt;IP&gt;</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]:
&lt; H1 &gt;Detailed Statistics For Room Alert &lt; /H1 &gt;</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>