At 15:54 29/04/2008, Jon Myers wrote:
I'm working on a probe for Watchguard Fireboxes, and it returns CPU Utilization
measured in 0.01%. So a value of 234 is really 2.34%.
It seems a little odd how Intermapper handles these calculations, but in my
<snmp-device-variables> section, I'm doing this:
cpu.u, 1.3.6.1.4.1.3097.6.3.4.0, INTEGER, "CPU Load"
cpu.util, ${cpu.u} / 100, CALCULATION, "CPU Load"
the number returned seems to chop off the decimal portion. Really not much of a big deal, but I'd like to have the whole thing there. Also, is there a way to do this calculation without having those two lines, and using two variables? Once the
calculation is made, I don't need the first variable (cpu.u).
Does dividing by 100.00 help?
-- Tim
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]