[mrtg] Re: Doing math with Multiple SNMP OID Targets

Purvis, William William.Purvis at compaq.com
Fri Mar 16 03:28:58 MET 2001

Hi All:
	I have been using MRTG for a couple of years and have read the FAQ's
and the documentation.  I have been monitoring some Netware 4.x & 5.x
servers with MRTG and the graphs are created and everything is working
correctly except the calculations for the disk space.  I would like to take
two SNMP OID values which when combined and then subtracted from the total
disk capacity give the correct used space for the system.
	My question is this:  Has anyone tried to do complex math (add,
subtract, multiply, divide) with 2 OIDs and a constant within MRTG?  I have
tried putting the following in the Target parameter, with no luck.

Title[FRC_PAR_01.SYS]: Sys Volume Used Space
:public at
options[FRC_PAR_01.SYS]:growright, gauge
YLegend[FRC_PAR_01.SYS]: Space in Kilobytes
ShortLEgend[FRC_PAR_01.SYS]: Kilobytes
LegendI[FRC_PAR_01.SYS]:Used Space
LegendO[FRC_PAR_01.SYS]:Used Space

Does anyone have a suggestion.

Thanks in advance,

William Reid Purvis
Compaq Professional Services,
ITP - Infrastructure & Technology Planning Group
e-mail: william.purvis at compaq.com
tel: +61 2 9022 2663
mobile: 0412 255 607

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