I want to put in my probe something like:
$lsptext := ${lspState}==2 ? "Up" : "Down"
where ${lspState} is the result of an SNMP query. Where does this statement need to go in the probe and how do I define $lsptext so I don't get "undefined variable"?
The easiest way is to place this definition in the <snmp-device-variables> section of the probe using the "CALCULATION" type. The arithmetic expression goes where you would normally see the OID:
Isptext, $IspState == 2 ? "Up" : "Down", CALCULATION, "Chart legend"
You can then use $Isptext like it is a regular variable.
Note: With 4.2, the { and } are now optional if the variable name has no spaces in it.
I couldn't obviously see and new strip charting features - what am I missing?
I believe most of the strip chart changes are bug fixes, namely improved support for charting negative values and better interaction with IM Remote.
Regards,
Bill Fisher Dartware, LLC
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]
