[mrtg] Re: Graph with only one Value

Chris Snider Chris.Snider at Tagtmi.com
Wed Jan 14 17:32:01 MET 2004


This is what I'm using to monitor and graph only the cpu usage.  By adding
the noo to the options it graphs only the "input" or solid graph.  Or you
can use noi and it will graph only the "output" or line graph.  You will
need to enter the oid for what you want graphed twice in the Target section.
Hope this helps.  

Target[cpu]:1.3.6.1.4.1.232.11.2.3.1.1.2.0&.1.3.6.1.4.1.232.11.2.3.1.1.2.0:c
ommunity at MyServer
MaxBytes[cpu]: 100
routers.cgi*ShortDesc[cpu]:  CPU # 1
bb*svc[cpu]: cpu
bb*red[cpu]: 90
bb*yellow[cpu]: 80
Options[cpu]:  gauge, unknaszero, noo
Directory[cpu]: 
WithPeak[cpu]: wmy
YLegend[cpu]: % Utilization
ShortLegend[cpu]: %
Legend1[cpu]: Proc Load in next minute
Legend3[cpu]: Maximal 5 Minute Proc Load
LegendI[cpu]:  Load:
Title[cpu]: CPU 1 Load
PageTop[cpu]: <H1>Processor 1 Load</H1>

-----------------------------------------------
TAG/TMI 
Chris Snider
Systems Engineer
(402)479-0115 ext 13349
chris.snider at tagtmi.com
-----------------------------------------------


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Maurice Al-Khaliedy
Sent: Wednesday, January 14, 2004 9:57 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Graph with only one Value

Hello,

is it possible to graph only one value with mrtg ?
And how looks like the cfg file

e.g.

The output of a script give me only one value. 0 or 1.
The graph should show like a rectangle.

 y #
   #
 1 ########  #########################
   #      #  #
   #      #  #
 0 ###################################
                                    x


Ciao
Maurice

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