[mrtg] Re: Thanx to everyone.
Alex Nguyen
anguyen at videotron.net
Wed Nov 27 20:38:39 MET 2002
Use "gauge" in the target's Option. By default MRTG store the value as a
counter and it will caculate the different over 300 seconds. With "gauge",
MRTG will store as is :
Options[T60cpu]: gauge
A.
On Wed, 27 Nov 2002, Patrick Ouellet wrote:
PO> Date: Wed, 27 Nov 2002 14:23:28 -0500
PO> From: Patrick Ouellet <pouellet at microtecsecurite.com>
PO> To: MRTG Mailing List <mrtg at list.ee.ethz.ch>
PO> Subject: [mrtg] Thanx to everyone.
PO>
PO> Thanx to everyone, I got flammed at my last question
PO> and I think I deserved it...
PO>
PO> Anyway, now everything works, well some graph works perfectly
PO> some other don't...
PO>
PO> This time my problem is this:
PO>
PO> if I do a snmpget to get the cpu load with
PO> hrProcessorLoad.23 and hrProcessorLoad.24
PO> ( which is for a two cpu system )
PO> I get some data, lets say
PO> 28 for first proc and 27 for the second one
PO>
PO> MRTG give's me a flat 0 line for this graph...
PO> Is there something im missing?
PO>
PO> If I look at the log I have this...
PO> T60cpu.log
PO> 1038422101 28 27
PO> 1038422101 0 0 0 0
PO> 1038421801 0 0 0 0
PO> 1038421800 0 0 0 0
PO> 1038421500 0 0 0 0
PO> 1038421200 0 0 0 0
PO> 1038420900 0 0 0 0
PO> 1038420600 0 0 0 0
PO> 1038420300 0 0 0 0
PO>
PO> And zeros for all the log...
PO>
PO> if I look at my log for number of users I have this
PO> T60user.log
PO>
PO> 1038422101 165 165
PO> 1038422101 165 165 165 165
PO> 1038421801 163 163 163 163
PO> 1038421800 163 163 163 163
PO> 1038421500 163 163 163 163
PO> 1038421200 164 164 164 164
PO> 1038420900 161 161 161 161
PO> 1038420600 159 159 160 160
PO> 1038420300 159 159 159 159
PO> 1038420000 158 158 159 159
PO>
PO> Which is okay...
PO>
PO> Both those graph are runned by the same config file mrtg.cfg
PO> and both of them have been runned the same number of time.
PO>
PO> Those data are from the same server....
PO>
PO> This is my config for this graph
PO> ## CPU LOAD DE TERMINAL 60 ##
PO>
PO> Target[T60Cpu]:
PO> 1.3.6.1.2.1.25.3.3.1.2.23&1.3.6.1.2.1.25.3.3.1.2.24:public at 10.1.100.60
PO> MaxBytes[T60cpu]: 100
PO> Options[T60cpu]: integer,unknaszero,nolegend
PO> YLegend[T60cpu]: Pourcent
PO> Title[T60cpu]: Load des deux CPU de Terminal 60
PO> PageTop[T60cpu]: <H1>Utilisation des cpu de Terminal 60</H1>
PO> Unscaled[T60cpu]: dwmy
PO>
PO> Does anybody knows what the problem is?
PO> MRTG when runned, doesn't give me any error.
PO> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PO> Patrick Ouellet - pouellet at microtecsecurite.com
PO> Administrateur des serveurs reseaux
PO> Informatique - Poste 130
PO> Microtec Technologies inc.
PO> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PO> "First they ignore you. Then they laugh at you.
PO> Then they fight you. Then you win."
PO> -Mahatma Gandhi
PO> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PO>
PO>
PO>
PO> --
PO> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
PO> Archive http://www.ee.ethz.ch/~slist/mrtg
PO> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
PO> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
PO>
--
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