[mrtg] This is a stumper

Croson, John JCroson at ramart.org
Tue Oct 28 18:02:08 MET 2003


I can't seem to get any graphing for my interfaces. I have successfully graphed squid usage (mib.txt), memory, processes, apache hits, etc.

When I type cfgmaker mycommunity at mydomain I get valid output listing the interfaces, but when that info is added to the mrtg.cfg, and cron runs it every 5 min, no graphing.

Example:

Target[mydomain_7]: 7:mycommunity at mydomain:
SetEnv[mydomain_7]: MRTG_INT_IP="myip" MRTG_INT_DESCR="eth1"
MaxBytes[mydomain_7]: 1250000
Title[mydomain_7]: Traffic Analysis for 7 -- mydomain
PageTop[mydomain_7]: <H1>Traffic Analysis for 7 -- mydomain</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>mydomain in RAM</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>root</TD></TR>
   <TR><TD>Description:</TD><TD>eth1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>myip (mydomain)</TD></TR>
 </TABLE>
--------------------------------------------------------------------------

So this is my config for that interface:

Target[mydomain_3]: 3:mycommunity at mydomain:
SetEnv[mydomain_3]: MRTG_INT_IP="myip" MRTG_INT_DESCR="eth1"
Options[mydomain_3]: growright
MaxBytes[mydomain_3]: 1250000
Kilo[mydomain_3]:1024
Ylegend[mydomain_3]: octets/s
ShortLegend[mydomain_3]: o/s
Legend1[mydomain_3]: Flows in input of mydomain
Legend2[mydomain_3]: Flows in output of mydomain
LegendI[mydomain_3]: Input:
LegendO[mydomain_3]: Output:
Title[mydomain_3]: Traffic Analysis for 3 -- mydomain
PageTop[mydomain_3]: <H1>Traffic Analysis for 3 -eth1- mydomain</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>mydomain</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>hostmaster at mydomain</TD></TR>
   <TR><TD>Description:</TD><TD>eth1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>myip mydomain</TD></TR>
 </TABLE>

I have logging enabled for the cron job, and I am getting no error messages there, or in syslog. Just a verification of localhost connecting to snmpd.

Any hints?


John Croson
Technology Operations Manager
Wustum Museum
Racine Art Museum
441 Main Street
Racine, WI 53403
262-638-8300 ext. 104
fax 262-898-1045

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list