Hi all,
How to monitoring UniFi AP? I dont find on the forum setup to monitoring UniFI AP. We have checkMK raw edition 1.5.0p18.
Regards,
Milos K.
Hi all,
How to monitoring UniFi AP? I dont find on the forum setup to monitoring UniFI AP. We have checkMK raw edition 1.5.0p18.
Regards,
Milos K.
Hi,
you can monitor a UniFi AccessPoint with SNMP.
Just enable SNMP in the UniFi Controller.
Remember to create a Interface Rule for the Wifi Interfaces (Error Rates).
Hi Norm,
We enable snmp in unifi but checkMK dont see nothing - Diagnostic of host UniFi_controler SNMP Error on 10.0.200.214: Timeout: No Response from 10.0.200.214 (Exit-Code: 1)
10.0.200.214 is ours UniFi controler windows server.
You have to query the IP of the AccessPoint not the Controller.
Sadly there is no UniFi Controller Check atm. At least I don’t know any.
Create for each AccessPoint a host in your Checkmk and check it with SNMP.
That should do it.
Here is a screenshot from a example AccessPoint from my setup.
The ath Interfaces are the wifi radios.
Ok, I try with that way manualy but when we add cisco controller, cisco AP is apear automatically.
What is solution when we have 200 UniFi AP? manually add one by one.
Hi,
unfortunally you have to add the AP’s manually but you can do it the smart way.
Maybe someone already have a check for the UniFi Controller and want to share it with the community
Hi Norm,
where is step no.2 what do you mean copy the whole table, how?
regards,
Milos K.
Simply mark the content with your mouse and then copy the marked content.
Like this (screenshot taken from UniFi Demo Controller):
EDIT:
You can also customize the collums to only show the IP and Hostname. To do that click on the three little dots in the upper right corner.
Thank you!
Regards,
Milos K.
No Problem
Happy Monitoring
We use this check-unifi on a linux machine with an checkmk agent to call the controller via the unifi api.
If you need more or other details you can extend the shell api library and the check with some help from the Unifi API-Browser
@OliB That’s the stuff I wanted to see. Thanks for sharing it with the community.
I’m gonna test this in the future.
I tried but it does not work for me - I got no output on the CLI
Hi @Norm,
could you please provide an example for that interface rule? I am faced with this problem and it is really annoying.
Thanks a lot!
Atomique
Hi @atomique,
This is an example rule:
Network interfaces and switch ports
ath interfaces are the radio interfaces (Unifi Access Points).
Hope this helps.
Norm
Hi @Norm ,
first things first: thanks for that fast reply and that screenshot!
I have created a rule like yours, but the filter seems not to work (regular expression ath.*). I think the cause is, that “port specification” only uses the service name field (“Interface XX”) and doesnt use the “Summary”-field which contains the information I try to filter for. Can you help me out with this, maybe?
Cheers
Atomique
Hi @atomique,
glad it helps.
I forgot to mention that you have to create a Service Discovery rule prior. Here is what I have in one of my setups:
You can find it via Setup → Network interface and switch port discovery
The important setting is to use the interface description on the UniFi Access Points.
After you created the rule you have to rediscover the services and remove the vanished services and replace them with the new ones. In the end you should have a service name like this:
This should solve your problem
Greetings Norm
Hi @Norm,
thanks a lot! That discovery-rule made the trick for me.
Have a nice day and again: Thank you for helping me out with this. Learned a lot
Greetings Atomique
Hi Check this