Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Ping Script Help

Hello Community,

Can someone please help me with a script that do the following:

I need the script to run every five minutes

ping 1.1.1.1 source 2.2.2.2 count 10

ping 4.4.4.4 source 2.2.2.2 count 10

if i get 8+ replies i need syslog message "SLA SUCCESS" if i got lest than 8 or non back, i need syslog "SLA FAILED"

The trick is that I need a syslog message that lets me know what ping failed.

based on the syslog i will setup event manager to take actions..

Kind regards

Carlton

1 REPLY
New Member

Re: Ping Script Help

Any guidance will be greatly appreciated.

Cheers

Carlton

Sent from Cisco Technical Support iPad App

291
Views
0
Helpful
1
Replies