Can anybody help me with situation?
I have a spreadsheet that has a list of IP addresses, and would like to test the network connectivity via ping to each IP address. If this device is up, ping the next IP address. If the device is down, ping the next IP on that subnet. For example, if the IP is 192.168.0.2, ping 192.168.0.1. If this second device is down, go to the next IP in the spreadsheet. If the second device is up, send an alarm. I'm not sure how this alarm could or should be done. To make it simple, maybe we can put it into a log file. I'd prefer an email somehow though.
So, if the device in the spreadsheet is down, AND the device with this IP+1 is up, I want an alarm.
I have a spreadsheet that has a list of IP addresses, and would like to test the network connectivity via ping to each IP address. If this device is up, ping the next IP address. If the device is down, ping the next IP on that subnet. For example, if the IP is 192.168.0.2, ping 192.168.0.1. If this second device is down, go to the next IP in the spreadsheet. If the second device is up, send an alarm. I'm not sure how this alarm could or should be done. To make it simple, maybe we can put it into a log file. I'd prefer an email somehow though.
So, if the device in the spreadsheet is down, AND the device with this IP+1 is up, I want an alarm.