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

Purvis, William William.Purvis at compaq.com
Mon Mar 19 06:06:42 MET 2001


Hi Bear & All:
	I've tried your suggestions below, and did not get anything graphed.
I went into the log file and there were no values being collected.  MRTG
however did not give me any errors.  I am running MRTG 2.9.10 on Windows NT
4 SP6.

	Do you have a specific example you could send me.  I have tried
several variations, 

Title[FRC_PAR_01.SYS1]: Sys Volume Used Space
Target[FRC_PAR_01.SYS1]:1.3.6.1.4.1.23.2.28.2.14.1.4.1:public at 10.128.1.40  +
1.3.6.1.4.1.23.2.28.2.14.1.5.1:public at 10.128.1.40
options[FRC_PAR_01.SYS1]:growright, gauge
kMG[FRC_PAR_01.SYS1]: ,M,G,T,P

But even the above Target line does not work.  In any event, I can easily
program something to work around this.  I just thought it would be better to
use "pure" MRTG if I could.

Thanks in advance, for your thoughts, comments, and help.

Regards,

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





-----Original Message-----
From: Purvis, William 
Sent: Monday, 19 March 2001 11:33 AM
To: bear
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Doing math with Multiple SNMP OID Targets



Hi Bear:
	I am just giving it a try right now.  I will let you know how it
goes.  I'll respond in the next couple of hours after I've tried it a bit.

Thanks:

P.S.  When I read the documentation (the reference.html), I looked at this,
but under the section for "Multi  Target Syntax" it only uses the interface
numbers for the routers, and not any generic SNMP OID targets.  This is why
I was unsure of the syntax and have not gotten it working.

Regards,

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



-----Original Message-----
From: bear [mailto:bear at tik.com.au]
Sent: Monday, 19 March 2001 11:20 AM
To: Purvis, William
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Re: Doing math with Multiple SNMP OID Targets



--Hi
As from the doc's this does work , have NOT tryed to do any other math than
this
 we use it to add all our dailup machines for a quick ref to see how many
lines are in use , this month tuesday and wednesday are the busiest ? TV its
all about TV !

Targert[x.y.z]: OID&Null_OID:public at z.x.y  +
Othermachine_OID&Null_OID:public at a.s.d  +
AndAnother_OID&Null_OID:public at q.w.e

Note the double spacing around the +

Bear

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