[mrtg] Re: Problems interpreting decimal "gauge" info (systemload)
Paul C. Williamson
pwilliamson at mandtbank.com
Thu Mar 1 15:35:33 MET 2001
As an aside, what is an "acceptable" load on a linux box?
I know that what hardware I have influences that number...
I am taking my load and multiplying it by 100, and put my MaxBytes at 400. I
've never come close to it, but if I'm running my box at a constant load of
1.1 or so, is that ok?
Paul
>>> Bernard van de Koppel <bko at netwerkinformatie.com> 02/28/01 06:00PM >>>
Hi,
I have a problem getting the data for my system load, gathered from the
local ucd-snmpd (on linux) graphed through mrgt (version 2.9.10 on RH
Linux 7).
What happens is, that the snmp query will respond with a decimal vallue,
but mrtg is not putting it into the statistics log file (only the first
line is updated).
Is it possible to poll decimal values through mrtg??? I did not find
anything about it in the manuals, but found no example also???
Any help appreciated.
Bernard
The first few lines from the "system-load.log" file.
983372281 1.52 1.75
983372281 0 0 0 0
983371506 0 0 0 0
983371500 0 0 0 0
983371200 0 0 0 0
983370900 0 0 0 0
983370600 0 0 0 0
983370300 0 0 0 0
983370000 0 0 0 0
983369700 0 0 0 0
983369400 0 0 0 0
The setup I use to poll this value:
# 1 min en 5 min system load
Target[system-load]:
1.3.6.1.4.1.2021.10.1.3.1&1.3.6.1.4.1.2021.10.1.3.2:communityx at 127.0.0.1
MaxBytes[system-load]: 100
Title[system-load]: System load frans.netwerkinformatie.com
PageTop[system-load]: <H1>Systemload</H1>
Options[system-load]: nopercent, gauge
YLegend[system-load]: Load / perc
Legend1[system-load]: Average 1 minute systemload
Legend2[system-load]: Average 5 minute systemload
--
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
--
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