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
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
-----------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Maurice Al-Khaliedy
Sent: Wednesday, January 14, 2004 9:57 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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

Reply via email to