Fix indexes in parsing the /var/log/messages.
Check whether the IP addresses we found is actually up and responsive.
The last stage of development, doesn't work 100% times.
It's better to parse ARP table.
Everybody needs to be ignorant