Dude and CapsMan monitoring

I’ve the TheDude running and I’m getting Telegram notifications when a device goes down, this works perfectly.
Next is that I want to monitor if the Mikrotik AccessPoint (AP’s) are connected to the CapsManager. At a number of occasions the AP is not connected anymore to the CapsMan but the AP is still online, connected to the network.
How can I monitor that the Caps client/AP is still connected to the CapsManager? Any suggestions?

Made some progress myself, I need to make use of the ros_command.

With the next command I can collect the amount of registered CapsClients:

ros_command(“/caps-man remote-cap print count-only”)

Next is to add a Probe using this function and that is something I’m not able to do yet. I don’t understand the “Available” and “Error” fields. Any suggestions on how to check number of CapsClients?
Screenshot 2022-02-21 at 19.40.13.png

Found the solution :slight_smile: Sharing it in this post so that I could help anybody else searching for a similar solution.

I created two functions to retrieve the number of Caps Clients and the number of Caps Radios from the Dude server.
Screenshot 2022-02-22 at 09.00.26.png
Then I created the two Probe items.
Screenshot 2022-02-22 at 09.00.26.png
And then I added the two Probe items to the device.
Screenshot 2022-02-22 at 09.00.43.png
This now monitors the number of caps clients and radios, when dropped below the value I specified I get a notification and can check what the issue is. Great extension of the Dude monitoring.
Screenshot 2022-02-22 at 08.59.58.png