Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please note
As suggested by @laf in #4266, this adds wireless client counts to Gen2 Unifi UAPs which have the most recent firmware applied. While I ran through the pre-commit php check and other checks, I think this needs another conditional before being applied. Unifi will have APs which do not support, as well as switchs / routers / etc which have no wifi at all. I wasn't sure what conditional would be appropriate here; while there are presently 3 hardware devices which support this, more will probably be added going forward. I would think it could be possible to check to see if oid .1.3.6.1.4.1.41112.1.6.1.2.1.8.0 is populated. If it is, poll for the clients and if not, don't! But, I'm not enough of an expert on this to know really :-)
I also wasn't sure if "radio0" / "radio1" were appropriate. I just copied those from the cisco section above. The radio0 should be the 2.4GHZ radio and radio 1 is the 5GHZ.