[mrtg] Re: This is a stumper

Croson, John JCroson at ramart.org
Tue Oct 28 19:27:18 MET 2003


I tried the Interval: 5 but it doesn't make any difference.

The log contains:
2003-10-28 11:30:11 -- Started mrtg
2003-10-28 11:35:05 -- Started mrtg
2003-10-28 11:40:11 -- Started mrtg
2003-10-28 11:45:05 -- Started mrtg
2003-10-28 11:50:11 -- Started mrtg
2003-10-28 11:55:05 -- Started mrtg
2003-10-28 12:00:07 -- Started mrtg
2003-10-28 12:05:05 -- Started mrtg
2003-10-28 12:10:11 -- Started mrtg
2003-10-28 12:11:23 -- Started mrtg

No errors.

I deleted all log files and old files...

ls -la -G --full-time:
-rw-r--r--    1 root         1339 Tue Oct 28 12:15:12 2003 mydomain_3-day.png
-rw-r--r--    1 root         1346 Tue Oct 28 10:45:47 2003 mydomain_3-month.png
-rw-r--r--    1 root         1382 Tue Oct 28 11:55:11 2003 mydomain_3-week.png
-rw-r--r--    1 root         1655 Tue Oct 28 10:45:47 2003 mydomain_3-year.png
-rw-r--r--    1 root         8020 Tue Oct 28 12:15:12 2003 mydomain_3.html
-rw-r--r--    1 root        48163 Tue Oct 28 12:15:12 2003 mydomain_3.log
-rw-r--r--    1 root        48163 Tue Oct 28 12:13:03 2003 mydomain_3.old
-rw-r--r--    1 root         1339 Tue Oct 28 12:15:12 2003 mydomain_6-day.png
-rw-r--r--    1 root         1346 Tue Oct 28 10:45:48 2003 mydomain_6-month.png
-rw-r--r--    1 root         1382 Tue Oct 28 11:55:11 2003 mydomain_6-week.png
-rw-r--r--    1 root         1655 Tue Oct 28 10:45:48 2003 mydomain_6-year.png
-rw-r--r--    1 root         8035 Tue Oct 28 12:15:12 2003 mydomain_6.html
-rw-r--r--    1 root        48163 Tue Oct 28 12:15:12 2003 mydomain_6.log
-rw-r--r--    1 root        48163 Tue Oct 28 12:13:04 2003 mydomain_6.old

I must be doing something really stupid, but I can get this:

snmpwalk -Os -c myoid -v 1 mydomain interfaces

ifIndex.7 = INTEGER: 7
ifIndex.8 = INTEGER: 8
ifDescr.7 = STRING: eth1
ifDescr.8 = STRING: eth2
ifType.7 = INTEGER: ethernetCsmacd(6)
ifType.8 = INTEGER: ethernetCsmacd(6)
ifMtu.7 = INTEGER: 1500
ifMtu.8 = INTEGER: 1500
ifSpeed.7 = Gauge32: 10000000
ifSpeed.8 = Gauge32: 10000000
ifPhysAddress.7 = STRING: 0:0:c0:17:e:e7
ifPhysAddress.8 = STRING: 0:0:c0:41:3f:dc
ifInOctets.7 = Counter32: 40672535302
ifInOctets.8 = Counter32: 58583173974
ifInUcastPkts.7 = Counter32: 42946949
ifInUcastPkts.8 = Counter32: 109002345
ifInDiscards.7 = Counter32: 0
ifInDiscards.8 = Counter32: 0
ifInErrors.7 = Counter32: 257
ifInErrors.8 = Counter32: 454
ifOutOctets.7 = Counter32: 9197273758
ifOutOctets.8 = Counter32: 109738222966
ifOutUcastPkts.7 = Counter32: 36334918
ifOutUcastPkts.8 = Counter32: 113370167
ifOutDiscards.7 = Counter32: 0
ifOutDiscards.8 = Counter32: 0
ifOutErrors.7 = Counter32: 59
ifOutErrors.8 = Counter32: 777
ifOutQLen.7 = Gauge32: 0
ifOutQLen.8 = Gauge32: 0
ifSpecific.7 = OID: zeroDotZero
ifSpecific.8 = OID: zeroDotZero


Anyone have any idea what I'm doing incorrectly?


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


> -----Original Message-----
> From: Latchezar Vassilev [mailto:lvassile at netscape.net]
> Sent: Tuesday, October 28, 2003 11:55 AM
> To: Croson, John
> Subject: RE: [mrtg] This is a stumper
> 
> 
> John,
> 
> 
> You can try a couple of things there:
> 1. Set up an interval inside your mrtg.cfg file like:
> 
> Interval:5
> 2. Take a look into the 
> /var/log/whatever_is_the_name_mrtg.log for errors.
> 
> 3. Do you see your files in the mrtg work directory changing 
> timestamp and size?
> 
> Tx,
> Latchezar
> 
> 
> 
> 
> 
> "Croson, John" <JCroson at ramart.org> wrote:
> 
> >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
> >
> >
> 
> __________________________________________________________________
> McAfee VirusScan Online from the Netscape Network.
> Comprehensive protection for your entire computer. Get your 
> free trial today!
> http://channels.netscape.com/ns/computing/mcafee/index.jsp?pro
mo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

--
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