[mrtg] Problems interpreting decimal "gauge" info (systemload)

Bernard van de Koppel bko at netwerkinformatie.com
Thu Mar 1 00:00:20 MET 2001


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



More information about the mrtg mailing list