I want to monitor and register the number of WIFI clients in my network so that I can measure what the busy times are on the network. I've created a function/probe to get the number of clients with:
ros_command("/caps-man registration-table print count-only")
This will give me a number each time the function/probe is executed, see also screenshot.
When the number of WIFI clients are above 210 I want to get a notification. With the current setup/configuration even that the number is only 23, it is already stating that the number of WIFI clients is above 210. Why? What is wrong in the function?
It looks like the if statement: CountRegisteredClientsTable() > 210 is not returning false even when the number of WIFI client is 23. What is wrong with this IF statement.
Full IF statement (see also screenshot) is: if(CountRegisteredClientsTable() > 210, "Number of WIFI clients below 210", "Number of WIFI Clients above 210! ")