lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
149 stars 88 forks source link

Feature Request: Add Perfdata for accesspoint-status #308

Open bickhorn opened 1 year ago

bickhorn commented 1 year ago

Hello,

First, thank you for this wonderful plugin !

Is it possible to add some perfdata to the mode accesspoint-status ?

For now it is fully textual :

./check_nwc_health --community XXX --hostname 10.X.X.X --mode  accesspoint-status
OK - access point BW-A221 is enable/associated (2 interfaces with 6 clients), access point BW-B223 is enable/associated (2 interfaces with 2 clients)

Would it be possible to have for exemple :

./check_nwc_health --community XXX --hostname 10.X.X.X --mode  accesspoint-status
OK - access point BW-A221 is enable/associated (2 interfaces with 6 clients), access point BW-B223 is enable/associated (2 interfaces with 2 clients) 
| 'BW-A221_clients'=6 'BW-B223_clients'=2

End even maybe add some warning if too much client are on an access-point ?

Best regards

lausser commented 1 year ago

Hi,

there is a mode count-accesspoint-clients, which groups clients by ssid and outputs the numbers as perfdata

With –warninx/criticalx you can set individual thresholds.

--warningx SSID1_clients=100 –criticalx SSID1_clients=500 –warningx SSID2_clients=10….

Gerhard

Von: bickhorn @. Gesendet: Mittwoch, 14. Dezember 2022 11:05 An: lausser/check_nwc_health @.> Cc: Subscribed @.***> Betreff: [lausser/check_nwc_health] Feature Request: Add Perfdata for accesspoint-status (Issue #308)

Hello,

First, thank you for this wonderful plugin !

Is it possible to add some perfdata to the mode accesspoint-status ?

For now it is fully textual :

./check_nwc_health --community XXX --hostname 10.X.X.X --mode accesspoint-status OK - access point BW-A221 is enable/associated (2 interfaces with 6 clients), access point BW-B223 is enable/associated (2 interfaces with 2 clients)

Would it be possible to have for exemple :

./check_nwc_health --community XXX --hostname 10.X.X.X --mode accesspoint-status OK - access point BW-A221 is enable/associated (2 interfaces with 6 clients), access point BW-B223 is enable/associated (2 interfaces with 2 clients) | 'BW-A221_clients'=6 'BW-B223_clients'=2

End even maybe add some warning if too much client are on an access-point ?

Best regards

— Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/308 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQSOE3DJWADIC3CBYUVSDWNGLUVANCNFSM6AAAAAAS6IOZVQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bickhorn commented 1 year ago

Hello,

Thank to respond to my request

I've seen this mode and i use it already with my SSID.

But what i'm looking for is not the number of client per SSID, but the number of client per physical access point.

For my case, i have 3 SSID and 30 physical cisco aironet and i know i have XX people connected to the SSID. But i don't know how the client are distributed across the AP.

Best regards