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


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-16-2017
Katkota Katkota is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 4 March 2017, 8:50 PM EST
Posts: 151
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 02-17-2017
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 25 September 2017, 3:35 PM EDT
Location: Switzerland - GE
Posts: 6,459
Thanks: 284
Thanked 549 Times in 511 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
Closed

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 04:24 AM
aix tcp wrappers hosts.allow hosts.deny? wf201626 AIX 0 08-15-2012 03:43 PM
pinging an ip ammu Shell Programming and Scripting 1 07-19-2007 02:58 PM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 09:25 PM
pinging IP's in a file jalge2 AIX 2 06-21-2005 03:47 PM



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