At 13:38 21/05/2004, William W. Fisher wrote:
>On May 21, 2004, at 6:27 AM, Tim Streater wrote:
>>
>>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.

Bill,

Thanks. I think during browsing the 4.2 docs there must be a link which put me back in 
the 4.1 doc and so I missed the page which covers this.

By the way, the strip chart options pop-up doesn't contain a "Delete chart ..." entry, 
and if I choose "Chart Options" from the popup, the "Data" tab doesn't have an 
"Export..." button.

Cheers, 
--

Tim


____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to