[mrtg] Troubleshooting an MRTG/external program problem

Pete Templin petelists at templin.org
Thu Sep 22 21:49:48 MEST 2005


List,

I've got numerous targets pointing to an external program that don't 
seem to be updating correctly.  Each target is marked with the guage 
option, but they don't appear to be updating the logfile as expected.

Sample target:

#---------------------------------------------------
Target[dist1.tunnel2211.3]: `/usr/local/bin/burst 
cisco/aust/dist1.tunnel2211.1`
AbsMax[dist1.tunnel2211.3]: 12500000
MaxBytes[dist1.tunnel2211.3]: 12500000
Title[dist1.tunnel2211.3]: Bandwidth Trend
PageTop[dist1.tunnel2211.3]: <H1>Bandwidth Trend for TE AD1 to HE1</H1>
Options[dist1.tunnel2211.3]: growright, gauge, bits
WithPeak[dist1.tunnel2211.3]: wmy
YLegend[dist1.tunnel2211.3]: Trend
ThreshMinI[dist1.tunnel2211.3]: 10625000
ThreshMaxI[dist1.tunnel2211.3]: 12375000
ThreshProgI[dist1.tunnel2211.3]: /usr/local/bin/threshnull
ThreshProgOKI[dist1.tunnel2211.3]: /usr/local/bin/threshnull
ThreshMinO[dist1.tunnel2211.3]: 10625000
ThreshMaxO[dist1.tunnel2211.3]: 12375000
ThreshProgO[dist1.tunnel2211.3]: /usr/local/bin/speedalarmout
ThreshProgOKO[dist1.tunnel2211.3]: /usr/local/bin/speedclearout
ThreshDesc[dist1.tunnel2211.3]: TE AD1 to HE1

Program output:

tcsh> /usr/local/bin/burst cisco/aust/dist1.tunnel2211.1
465792
465792
1
cisco/aust/dist1.tunnel2211.1
tcsh>

Logfile:

1127414582 465792 465792
1127414582 293504 293504 293504 293504
1127407382 293504 293504 293504 293504
1127407200 293504 293504 293504 293504
1127406900 293504 293504 293504 293504
1127406600 293504 293504 293504 293504
1127406300 293504 293504 293504 293504

Version info:

tcsh# dpkg -s mrtg
Package: mrtg
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 1406
Maintainer: Shiju p. Nair <shiju at infovillage.net>
Architecture: i386
Version: 2.10.13-1.2

(Debian Stable)

Any thoughts on where to begin?

pt

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



More information about the mrtg mailing list