[mrtg] Math Calcs with OIDs

Jader Marasca jader at via-intl.com.br
Tue Mar 12 18:40:06 MET 2002


Hi!

I'm new to MRTG and beside to have several targets configurated ok I'm unable to do math calcs 
with OIDs!

I like to configure MRTG to watch CacheHits on a Novell Netware 5. So I did this file 

***start of  t.cfg file***
Target[ch]:(1.3.6.1.4.1.23.2.28.2.6.0 / 1.3.6.1.4.1.23.2.28.2.5.0):public at 10.5.100.1
Title[ch]: Cache Hits - Proliant 400
MaxBytes[ch]: 100
Options[ch]: gauge, growright
Ylegend[ch]: % 
ShortLegend[ch]: %
Legend1[ch]: % 
Legend2[ch]: % 
Legend3[ch]: % 
Legend4[ch]: % 
LegendI[ch]:  % :
LegendO[ch]: 
PageTop[ch]: <H1>Cache Hits - Proliant 400</H1>

*** end of t.cfg file ***

Where:
First OID = 1.3.6.1.4.1.23.2.28.2.6.0 = Cache Hits
Second OID = 1.3.6.1.4.1.23.2.28.2.5.0 = Cache Reads
10.5.100.1 = ip of Proliant 400 server running Netware 5

But I'm getting an error:

Illegal division by 0 at (eval 6) line 1

And do not work!

Someone can help me?

Thanks!

Jáder
[]s, 

     Jáder

============================================================
Personal e-mail: jader at brturbo.com


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