Hi All,

I am trying to set up a custom probe to report alarms on our Juniper routers. I started by asking the router for jnxRedAlarms. I was able to make my simple probe work but only after using the type keyword INTEGER instead of DEFAULT in the <snmp-device-variables> section. Is this a bug (running 3.7)? NB the doc doesn't mention INTEGER.

I would like, in the device pop-up, to be able to say something like:

Last red alarm change 3hrs 4mins 2secs ago.

I guess for this I would need to get jnxRedAlarmLastChange and subtract this from sysUpTime. So I have some questions:

1) Does InterMapper have any "built-in variables" or variables which automatically exist based on what the basic probe is doing? E.g., IM already asks for sysUpTime, so I would like to avoid asking a second time. In my case it would be nice if ${sysUpTime} already existed.

2) Can I do any manipulation of variables? I need to be able to compute the difference as noted above but if I simply put:

${sysUpTime} - ${jnxRedAlarmLastChange}

I just get:

0 - 0

in the pop-up window.

3) How can I tell IM that some value I want to retrieve should be treated as a time?

Thanks for any comments,

___________________________________________________________________
* * Tim Streater Network Engineer
* *
* Francis House
* 112 Hills Road Tel +44 1223 302992
* Cambridge CB2 1PQ Fax +44 1223 303005
D A N T E United Kingdom WWW http://www.dante.net
____________________________________________________________________



____________________________________________________________________
Note: To unsubscribe from this mailing list, please send email to:
<mailto:[EMAIL PROTECTED]> Thanks!

Reply via email to