[mrtg] Re: External program problem

Aaron Dewell acd at woods.net
Fri Jul 28 00:25:00 MEST 2000



Here's the config file extract:

Target[as5300-x.lines]: `/export/home/acd/bin/mrtg-as5300 -n as5300-2 -n as5300-10 -n as5300-11 -n as5300-12 -n as5300-13 -n as5300-14 -s communitystring`
MaxBytes[as5300-x.lines]: 120
Options[as5300-x.lines]: gauge
Title[as5300-x.lines]: All AS5300's lines in use total

The script /export/home/acd/bin/mrtg-as5300 produces this type of output when
supplied with these options:

704
0
0
as5300-14

The logfile (after it's been running like this for a few weeks, looks like this:

964733102 702 0
964733102 70 0 70 0
964732802 70 0 70 0
964732800 70 0 70 0
964732500 70 0 70 0
964732200 70 0 70 0
[many more lines looking the same]

That's the long and short of it.

Thanks,

Aaron

On Sun, 23 Jul 2000, Alex van den Bogaerdt wrote:
> Hmmm, if you set your options to bits, the value will be multiplied
> by eight.  This won't be right for RAS connections.  Apart from that,
> it shouldn't matter.
> 
> Option gauge should be used.  Check out the config.txt file in your
> MRTG distribution or on the web site.
> 
> Create a config file that has just enough in it to show the problem.
> You can leave out all the nice HTML formatting stuff etcetera.  Check
> if this config file works.  If it doesn't, replace the community string
> and the host name with "xxxxxx" and post it to the list.
> 
> regards,


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