[mrtg] Re: MRTG 2.9.17 w/LoadMIBs option
Matt Walkowiak
matt at inetdvd.com
Thu Oct 17 15:57:45 MEST 2002
What does your .SH script look like?
Maybe things have changed in the later versions of MRTG (i've been out of it
for a while) and it is now assuming zero for the second number, however if
you look at your graphs, there is a blue line down at the bottom.
goto http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html and
search for External Monitoring Scripts.
Matt
----- Original Message -----
From: "nate" <mrtg at aphroland.org>
To: <mrtg at list.ee.ethz.ch>
Sent: Wednesday, October 16, 2002 4:37 PM
Subject: [mrtg] Re: MRTG 2.9.17 w/LoadMIBs option
>
> Matt Walkowiak said:
> >
> > Not quite - MRTG needs two numbers, but they do not have to be SNMP
> > specific. In fact, MRTG doesn't care where the numbers come from, just
> > that it gets two of them. A lot of times people use the same number
> > twice (blue line on top of green fill) or they set one of the numbers to
> > be zero all the time by picking a SNMP OID that always returns zero, or
> > some other way of getting zero.
>
> but see my other post.. I have other MRTG things that work only on
> 1 number
>
> one of the scripts calculates diskspace usage and mrtg calls the
> script, the output:
> [mrtg at portal:~/conf]$ ../bin/diskspaceusage.sh
> 28722687
> [mrtg at portal:~/conf]$
>
> only 1 number .....but MRTG doesn't mind..it just graphs one(no blue
> line):
>
http://mrtg.aphroland.org/portal.aphroland.org/portal.aphroland.org.disk1a.h
tml
>
> The mrtg target:
> Target[portal.aphroland.org.disk1a]: `/home/mrtg/bin/diskspaceusage.sh`
> Title[portal.aphroland.org.disk1a]: portal.aphroland.org's Disk Space
> (193,497,660 kB / 190GB) Megabytes used
> Background[portal.aphroland.org.disk1a]: #738AA6
> Unscaled[portal.aphroland.org.disk1a]: dwym
> MaxBytes[portal.aphroland.org.disk1a]: 193497660
> PageTop[portal.aphroland.org.disk1a]: <H1> portal.aphroland.org's Disk
> Space(193,497,660 kB) Megabytes used </H1>
> kmg[portal.aphroland.org.disk1a]: KB,MB,GB
> LegendI[portal.aphroland.org.disk1a]: MB used
> LegendO[portal.aphroland.org.disk1a]:
> Legend1[portal.aphroland.org.disk1a]: MB used
> Legend2[portal.aphroland.org.disk1a]:
> YLegend[portal.aphroland.org.disk1a]: Megabytes used
> shortlegend[portal.aphroland.org.disk1a]: used
> Options[portal.aphroland.org.disk1a]: gauge
>
>
> nate
>
>
>
> --
> 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