Hi, I have a requirement to check few hundred hosts in multiple offices and report the hosts not in network to local site admins.
I have gone through following links and both of them are very close to my requirement.
Actually in our case the hostnames input file will be a CSV file the two columns. One obviously the host name and other will be host physical location number (desk number sort of), So whenever the host is down this script should send a e-mail to local admins DL with the hostname and physical location number. By looking at the physical location number, respective site admin can go and check that specific host. We would like to run this script every 15 minutes. Obviously we would like to have only one message for the host down, not every 15 minutes for the same host, We also need host up message once the host is backup.
Appreciate your help...