[mrtg] math in Target

R Dicaire kritek at gmail.com
Sun Mar 9 00:40:52 CET 2008

Hi...I'm pulling data via snmp that returns a 5 char result:

UCD-SNMP-MIB::ucdExperimental. = Gauge32: 39000

This is CPU temperature. My target gets CPU and motherboard temps,
both return 5 char as results.
I'm trying to perform math on these results but it looks like I don't
understand the docs on how this is performed.
My target line:

Target[daw1_temps]: . at daw1 / 1000
&. at daw1 / 1000

(Forgive any linewrapping, I have left the requisite white space
around the math expr)

Is this not possible on the target line, or must some other means be
used to get the desired result, and if so, how?

aRDy Music and Rick Dicaire present:

More information about the mrtg mailing list