Rounding a computed value
Scott Hiemstra
shiemstra at h2.com
Thu Mar 1 09:19:34 EST 2012
Hello all,
We're pulling the inlet temperature from our 7206 via SNMP and converting it to farenheit. No issues doing that but I'd like to round the value since the precision isn't really there anyway. Is it possible to round the computed value so I'm not seeing values like 78.8?
Service UDP/SNMP {
community: **********
hidden: yes
hostname: my_7206.router.ip
oid: .1.3.6.1.4.1.9.9.13.1.3.1.3.1
sendnotify: no
uname: 7206_Celcius
}
Service Compute {
expr: ((%{Top:Environmentals:Server_Room:7206_Celcius} * 9) / 5) + 32
graph: yes
label: 7206 Temperature
maxvalue: 83
messagedn: server room is too hot
messageup: server room has cooled back down
uname: 7206 Temperature
ylabel: Degrees Farenheit
}
Thanks in advance,
Scott
More information about the Arguslist
mailing list