• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

set up servers to "phone home" to detect network outages

I'm looking for a free/open-source tool to run on several windows servers that will "phone home" to a shared linux host (dreamhost) to report, at very least, network outages.

For example, a php script on the linux host that will email me if it does NOT hear from the windows daemon in a specified window of time.

I am interested in more comprehensive monitoring & reporting, but I am looking for something that alerts me to network outages without a comprehensive software installation and configuration.
0
SonicVoom
Asked:
SonicVoom
  • 2
1 Solution
 
Todd GerbertIT ConsultantCommented:
Been a while since I worked with Linux, and not particularly familiar with scripting (PHP or otherwise) on Linux, but I suspect it wouldn't be too terribly difficult to just have the Linux script ping whatever hosts you're interested in, and if enough ping's fail you can use sendmail to send yourself an e-mail.

If you're interested in an all-Windows solution, have a look at SpiceWorks: http://www.spiceworks.com/
0
 
larsrohrCommented:
I'm a fan of Xymon (http://sourceforge.net/projects/xymon/) for host/service monitoring.  It's designed to run on a unix/linux host, and while it can certainly be used for farily comprehensive monitoring, alerting and reporting, a quick install with a "bb-hosts" file populated with your Windows server IP address and names would help accomplish your goals.

However, for a quick-and-dirty solution that doesn't require installing and setting up Xymon, you might try running fping out of cron.
fping (http://fping.sourceforge.net/, available packaged for various Linux distributions) can specify multiple ping targets, and report just the unreachable ones:

fping -u < mylistofserverIPs.txt

Set up a cronjob to run this as frequently as you like, and the output will generate emails to you -- but no email if all are online.
0
 
SonicVoomAuthor Commented:
The reason I want the servers to "phone home" to the monitoring script is because they are behind firewalls and I can't ping them.
0
 
larsrohrCommented:
Installing Xymon may be reasonable.  It's free, not heavy-weight, and already has the machinery to send you emails when machines stop reporting.
The Windows client is called BBwin.exe (http://bbwin.sourceforge.net/).  The clients would be communicating with port 1984 on the server.

If you think this might work for you, I'd be happy to share some tips for the setup.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now