We have a device that pulls a DHCP IP but is not SNMP capable. So we thought a work around might we could monitor the ethernet port on a Mikrotik router to make sure it is active with the device connected. If the connected device losses power we would want to know that it is no longer connected.Is this a viable solution or is there some other work around we’re not thinking of?
Have you thought of using ping to monitor if the device is active or not?
Also if the device is directly connected to an interface of mikrotik you can check with a script if the interface on witch the device is attached is running or not with the command:
/interface ethernet get "interface_name" running
if the result turns true it means that the device is active
Another approach would be ARP request. Ping (ICMP echo) is often blocked but with ARP you have better chances (although, I already met few devices which were blocking ARP as well, due to power saving)