I know Mikrotik can do rouge DHCP server detection. While you can use the email tool to alert, I would really like this to flow into Nagios.
I had two thoughts for how this could be done.
First, I can give Nagios a SSH key, let it login to the router, and run a script to check. So, is there a way to run a rouge DHCP server from the command line once, and get the answer back in the output?
Second, the routerboard could run the check like it does now, but maybe there is a way to script it to send a SNMP trap to Nagios?