[mrtg] Re: mrtg process crashing
Jerry Heidtke
jheidtke at fmlh.edu
Thu Aug 8 23:41:27 MEST 2002
Try these:
Target[max1]:
.1.3.6.1.4.1.529.4.21.1.12.13&.1.3.6.1.4.1.529.4.21.1.12.13:xxxxxx at 217.72.17
3.2
MRTG needs at least two, and no more than two, OIDs as a target. A space
after Target[...]: seems to help, as does a leading "." on the OID.
Options[max1]: gauge, integer, growright
You probably don't need "absolute", it's for counters that reset to zero
when read. In any case, you can't use both "absolute" and "gauge".
Jerry
-----Original Message-----
From: Tony Turner [mailto:tony at hotchilli.com]
Sent: Thursday, August 08, 2002 4:44 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] mrtg process crashing
Hi
I run MRTG on the same Redhat server to collect users on a TNT MAX and
bandwidth on cisco 2900 and 7206 ports.
All the above works fine.
I want to monitor available ports on the TNT MAX but it crashes that mrtg
process and not the others above.
I get this result from snmpwalk
snmpwalk 217.72.173.2 xxxxxx .1.3.6.1.4.1.529.4.21.1.12.13
result:
enterprises.529.4.21.1.12.13 = 30
##
here is the config:
RunAsDaemon:yes
Interval: 5
Refresh: 300
WorkDir: /var/www/html/linecount/
Target[max1]:1.3.6.1.4.1.529.4.21.1.12.13:xxxxxx at 217.72.173.2
Directory[max1]: city
MaxBytes[max1]:
WithPeak[max1]: dwmy
Title[max1]: Modem Traffic on max1 [30]
PageTop[max1]: Modem Traffic on max1 [30]
Options[max1]: absolute, gauge, integer, growright
Ylegend[max1]: Modems in use
ShortLegend[max1]: modems online
Unscaled[max1]: dwmy
LegendI[max1]: Total:
Legend1[max1]: Modems in use
Legend2[max1]:
And I get this error and dont understand why.
0' instead of a number
WARNING: Skipping Update of max1, inlast is not defined
WARNING: Skipping Update of max1, outlast is not defined
Anyone any ideas? I was getting a log file corrupt or sort order error so i
upgraded to the latest version of
mrtg to no avail. Just chnaged the error message to the one above.
Kind regards
Tony
--
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
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--
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