[mrtg] Re: can't write config

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Mar 14 11:36:56 MET 2003


Andrew,

Leave out the 'absolute' from the options line. the counter is either an
'absolute' or a 'gauge', but never both. 

>From the reference.html:
---------------
gauge

Treat the values gathered from target as 'current status' measurements
and not as ever incrementing counters. This would be useful to monitor
things like disk space, processor load, temperature, and the like ... 
In the absence of 'gauge' or 'absolute' options, MRTG treats variable as
a counter and calculates the difference between the current and the
previous value and divides that by the elapsed time between the last two
readings to get the value to be plotted.


absolute

This is for counter type data sources which reset their value when they
are read. This means that rateup does not have to build the difference
between the current and the last value read from the data source. The
value obtained is still divided by the elapsed time between the current
and the last reading, which makes it different from the 'gauge' option.
Useful for external data gatherers. 
---------------

Hth,

Jan.

-----Original Message-----
From: Andrew V. Sirotkin [mailto:avs at dtcom.ru] 
Sent: Friday, March 14, 2003 3:09 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] can't write config


Hello!

Help me, please!

A am using mrtg-2.9.27 by the next mrtg.cfg:
---
WorkDir: /share/httproot/admin/mrtg
Language: russian1251

Options[_]: bits,growright

 

Target[ping_tcms]: `ping.mrtg.pl <host>`
Options[ping_tcms]: growright, absolute, gauge, noinfo, nopercent

MaxBytes[ping_tcms]: 1000

AbsMax[ping_tcms]: 10000

Title[ping_tcms]: speed
Unscaled[ping_tcms]: dwmy

YLegend[ping_tcms]: ms

ShortLegend[ping_tcms]: ms
Legend1[ping_tcms]: time
Legend2[ping_tcms]:

Legend3[ping_tcms]:

Legend4[ping_tcms]:

LegendI[ping_tcms]: time:
LegendO[ping_tcms]:

PageTop[ping_tcms]: <H1>speed</H1>
---

ping.mrtg.pl <host> returns the next values:

12
0              
stirng
string

but I got a next log values, and bad image for it:

ping_tcms.log

1047607203 18 0
1047607203 18 0 18 0                                            
1047606913 4294967310 -4629706876567683072 2885574404882825241 0
1047606900 4294967314 -4629706876567683072 2885574404882825241 0
1047606600 4294967308 -4629706876567683072 2885574404882825229 0

ping_tcms.old

1047606913 13 0
1047606913 13 0 13 0                                            
1047606902 4294967321 -4629708027618918400 2885574404882825241 0
1047606900 4294967314 -4629708027618918400 2885574404882825241 0
1047606600 4294967308 -4629708027618918400 2885574404882825229 0

I did it two years ago by mrtg-2.9.2 with thic config and target, but
don't got this problems. What's a matter???

Andrew V. Sirotkin
mailto:avs at magadan.ru

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



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. 
Aan dit bericht kunnen geen rechten worden ontleend. 

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. 
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.

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