Try using nagios. You can run scripts/commands (including email
notification) depending on the percent packet loss or ttl of ping.

On Tue, 29 Oct 2002, Ronald Warner wrote:

> for those scripting experts...  i am trying to create a script that will 
> ping a site and base on the ping result code will run an else clause...  
> does ping give out result codes? if it does, what are they?  thanks.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to