Greetings,
I recently purchased Orion NPM and NCM to monitor network health and automate a number of tasks that I once had to perform manually. One of the task I am looking to setup a scheduled job that will perform the following task.
1. Access a node (the remote host is on a stub network which is only accessible from one node).
2. Perform a ping to the remote host from the node.
3. Read the response.
If success rate = 100 percent than exit
Else if wait 5 minutes and ping again
If success rate = 100 percent than exit
Else if shoot out an email.
So far the job that I have created is able to access the node, perform one ping, and email the results regardless if it was successful or not. Unfortunately, my scripting experience is very limited and any help would be appreciated.
Thanks.