[mrtg] new unusual problem (technical)
Dick
dick at dwave.net
Wed Nov 8 06:00:09 MET 2000
Please advise. This is an upgrade from 2.8.12 to 2.9.4 and this was
working before the upgrade. (BTW: MRTG ROCKS!)
Anyway:
noc:~/dynamic$ /usr/local/mrtg-2/bin/mrtg tc2.cfg
Error:
can't resolve "" to IP address
SNMPGET Problem for
...tc2.cfg start...
WorkDir: /home/mrtg/web/modems
icondir: /icons
#NoMib2: Yes
Interval: 5
Refresh: 600
Target[tc2.ports]: `/home/mrtg/countformat
/home/mrtg/modemcounts/wausau-tc2 /home/mrtg/history/tc2 /tc2`
Title[tc2.ports]: Modem Traffic for tc2
MaxBytes[tc2.ports]: 168
AbsMax[tc2.ports]: 168
XSize[tc2.ports]: 380
Options[tc2.ports]: absolute, gauge, growright
Ylegend[tc2.ports]: tc2
RouterUptime[tc2.ports]:
ShortLegend[tc2.ports]: Modems
Unscaled[tc2.ports]: dwmy
WithPeak[tc2.ports]: wmy
PageTop[tc2.ports]: <center><B>Modem Traffic for tc2 (168 max)</B>
...tc2.cfg end...
noc:~/dynamic$ /home/mrtg/countformat /home/mrtg/modemcounts/wausau-tc2
/home/mrtg/history/tc2 /tc2
132
138
0
0
I know 132, 138, 0, 0 isn't exactly what should be returned but it should
work and has always on older versions. I would be open for advice as to
what better data it should return instead of the last two zeros. Also the
line:
`/home/mrtg/countformat /home/mrtg/modemcounts/wausau-tc2
/home/mrtg/history/tc2 /tc2`
is all on one in the config file.
If I replace the long `line` with `cat /tmp/tmp.txt` and /tmp/tmp.txt has
data in it is still acts the same.
NOTE: It does make graphs anyway but it takes a while and sends all kinds
of messages every 5 minutes.... :-(
--
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