[mrtg] Re: Memory + Buffers + Cache

Alex van den Bogaerdt alex at ergens.op.het.net
Tue May 27 17:36:25 MEST 2003


On Tue, May 27, 2003 at 10:09:54AM -0500, Brandon Lederer wrote:

> I am trying to graph the total amount free of Memory + Buffers + Cache, I
> just cant find the right target line.  I know you can do some math on the
> target Line, and I have found all the numbers I need to put together to get
> the value I want.  I just cant get it to work.  The number I am trying to
> get is 1.3.6.1.4.1.2021.4.6.0 + 1.3.6.1.4.1.2021.4.13.0 +
> 1.3.6.1.4.1.2021.4.14.0 and graph this on the Green.  Then I want to graph
> 1.3.6.1.4.1.2021.4.5.0 on the blue line.  I just cant make the target line
> work.

MRTG works in pairs.  Only.  No exception.

Labels for this discussion:
   OID1 :== 1.3.6.1.4.1.2021.4.6.0
   OID2 :== 1.3.6.1.4.1.2021.4.13.0
   OID3 :== 1.3.6.1.4.1.2021.4.14.0
   OID4 :== 1.3.6.1.4.1.2021.4.5.0

Options:

1 find an OID that returns zero (labeled OID0)
  report OID1&OID0 + OID2&OID0 + OID3&OID4

  this internally results in (OID1+OID2+OID3)&(0+0+OID4)

2 write a script that returns the 4 lines as described in the docs
  use the external program interface of mrtg

3 use mrtg to collect data and use rrdtool with a suitable front end
  to report this data ("suitable" could be "your home grown")

Alex

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