Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Pinging 5 hosts once every hour

Shell Programming and Scripting


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 6 Days Ago
Katkota Katkota is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 20 February 2017, 10:29 PM EST
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Pinging 5 hosts once every hour

Hello folks;
I'm trying to write a shell script to ping 5 hosts i have once every 1 hour and if it receives any failure from any of those hosts, it sends an email alert with the results from this failing ping.

Any help would be greatly appreciated
Sponsored Links
    #2  
Old Unix and Linux 5 Days Ago
vbe's Unix or Linux Image
vbe vbe is online now Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 23 February 2017, 1:57 AM EST
Location: Switzerland - GE
Posts: 6,379
Thanks: 258
Thanked 536 Times in 498 Posts
Quote:
I'm trying to write a shell script to ...
Yes, well what have you done so far, what isnt working for you?
May we look at or script and your the output you get (error...)?
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to convert 24 hour time to 12 hour timing? nex_asp Shell Programming and Scripting 13 01-30-2013 05:24 AM
aix tcp wrappers hosts.allow hosts.deny? wf201626 AIX 0 08-15-2012 04:43 PM
pinging an ip ammu Shell Programming and Scripting 1 07-19-2007 03:58 PM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 10:25 PM
pinging IP's in a file jalge2 AIX 2 06-21-2005 04:47 PM



All times are GMT -4. The time now is 03:03 AM.