SonicVoom
asked on
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.
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.
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.
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.
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
If you're interested in an all-Windows solution, have a look at SpiceWorks: http://www.spiceworks.com/