Solved

How can i have a Ping-t and get a mail when there is a Ping reply or time out.

Posted on 2008-10-26
5
197 Views
Last Modified: 2012-05-05
Hi,

How can i have a Ping-t and get a mail when there is a Ping reply or time out.
There are times when i want to be warned when a machine comes live or is Timed out. Is there a way a script run's and mails me the data when there is a change?

Regards
Sharath
0
Comment
Question by:bsharath
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:hfraser
ID: 22807608
if you only need to monitor a single host, a small shell script run as a cron job will work. If you're deciding to take system management seriously, there are several free system management packages available to do just this. Have a look at Nagios, OpenNMS to name a couple. They'll watch many sites, track history, etc..
0
 
LVL 11

Author Comment

by:bsharath
ID: 22807621
I just want this for few systems . And definetly if a script could do it. That would be great...
0
 
LVL 4

Accepted Solution

by:
ltxda earned 350 total points
ID: 22807641
0
 
LVL 12

Assisted Solution

by:hfraser
hfraser earned 150 total points
ID: 22807701
0
 
LVL 11

Author Comment

by:bsharath
ID: 22807708
Thank U Both....
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS CLI issues with Tags 3 75
How does Redux fit into React? 3 79
batch script 3 37
Windows updates batch files 7 42
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question