At 16:12 12/12/2003, William W. Fisher wrote:
>James:
>
>Assuming that we had support for arithmetic expressions involving + - * / available 
>to custom probes, can you give me an example of what you would use the additional 
>if-then and while loops?  Would you use these in the context of a custom-snmp probe 
>or tcp-script, or both?

[...]

>For Custom SNMP probes, I'm not sure how you would use a while loop. Can you provide 
>an example?

Bill,

For monitoring LSPs in Junipers - the MIB has various entries whose number of rows 
grows and shrinks with the number of LSPs (there seems to be another variable I can 
query which tells me the number of active LSPs). So I want to poll that and have a 
while loop to retrieve the rows I want. Then I want some if/then logic to convert LSP 
state values to something readable for output, e.g. lspState=2 means UP, and so on.

Just a quick example.

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