I have one AP Ubiquiti Unifi connected to my router Mikrotik and I want my router to report me every 5 minute if the AP Ubiquiti is working correctly.
My question is, how can the Mikrotik validate if the AP Ubiquiti is working? is there a solution for this? any specific instruction to validate it?
Thanks!!
well, basically that the access point is really working
I guess SNMP should be good enough… any experience doing it from a router Mikrotik to some Ubiquiti Unifi AP?
Depends on what SNMP server you want to use. It also depends on what OIDs the UniFi access point supports and lets you monitor. Just because it responds to SNMP/ping doesn’t mean that it’s “working”, it is usually a good assumption, but not always. There have been times where one of my access points was accessible and appeared to be working fine, but was not actually broadcasting anymore. Looks like there is a new set of OIDs for the UniFi access points that may contain the number of connected stations, that would tell you if things are working or not.
Depending on what model MikroTik you have, you can install the DUDE and that could work as your SNMP server, otherwise you will need another device/server to handle that.
You could write a Python script to query Mongo and see packets transfered. If it drops below a level you set, then SMS a message to your phone.
It would not necessarily be running on your Miktotik gear.
why not just enable the email alerts from the UniFi controller? that’s already built in and requires no more work than entering your SMTP server and email address.
I started with netwatch + one scheduled task that checks if the netwatch is OK to send me the notification.
Not the best one but at least I know the AP is on…