Couldn't find software that does ONLY that, but here is a quick and dirty solution for bash:
while (( 1 > 0 )); do
echo Starting check at `date +%c`
for i in #Space-delimited IP list here#; do
if [ `ping -n 1 $i | grep loss | cut -d' ' -f 15` != \(0% ]; then
echo " Computer $i is down"
fi
done
sleep 60 #change time interval as you see fit
done
Regards,
zakaluka.
*EDIT*: the message lost all it's space formatting, but it should work fine. Make sure to replace the #Space-delimited IP list here# with a list of your IP addresses.
|