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
Last Modified: 2012-05-05

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?

Question by:bsharath
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 12

Expert Comment

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..
LVL 11

Author Comment

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

Accepted Solution

ltxda earned 350 total points
ID: 22807641
LVL 12

Assisted Solution

hfraser earned 150 total points
ID: 22807701
LVL 11

Author Comment

ID: 22807708
Thank U Both....

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

756 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