[mrtg] mathematical expressions for Collision statistics

Tom McGovern tom at mcgov.net
Tue Nov 6 16:23:42 MET 2001


I'm trying to measure the amount of ethernet collisions as a percentage of
the overall interface traffic. I think this is what I want:

Target[13-col.]:etherStatsCollisions.113:public at
27 / ifOutOctets.113:public at +
ifInOctets.113:public at &
etherStatsCollisions.113:public at /
ifOutOctets.113:public at +
ifInOctets.113:public at

Note I am just graphing the same variable twice fo simplicity.

But, how will MRTG interpret this formula ? Can I use parentheses in my
formular ?

Basically I need the following:

etherStatsCollisions / (ifInOctets + ifOutOctets) * 100


Tom McGovern

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