Wireless Clients

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Wireless Clients

Post by orani »

I have an HP MSM 720 Wireless Access Controller and some MSM 466-R Access Points.

Is there any plugin/script/way to monitor how many clients are connected or the bandwidth they use?
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Wireless Clients

Post by nozlaf »

@rhassing wrote something a while ago which should work
ill make sure he looks in here
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Wireless Clients

Post by Box293 »

This plugin may work:

https://exchange.nagios.org/directory/P ... ck/details

Or this one:

https://exchange.nagios.org/directory/P ... nt/details

As for bandwidth, you might be able to monitor the access point using MRTG.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

I thought about MRTG but and i read some documentations but still i dont get how it works.

I ran

Code: Select all

yum install mrtg
and completed succesfully but

i cant figure out what i have to do with the .log file, what is the use of it and how i create and configure it.


As far as wireless clients plugins you gave i will check them both tommorow and i will get back to you as soon as possible with feedback.

Thanks for help and support
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Wireless Clients

Post by Box293 »

I'll be honest, I use Nagios XI and it has a switch / router wizard that automates the MRTG configuration files which makes things so much easier. I've not had to configure it from scratch.

Basically MRTG polls the device every 5 minutes and collects the data and dumps it into an RRD file.

You then configure Nagios to query those RRD files using the pluing check_rrdtraf which returns the performance data and Nagios creates it's own RRD files so you get performance graphs.

This should help:

https://assets.nagios.com/downloads/nag ... uters.html

Or this:

http://www.cyberciti.biz/nixcraft/linux ... ures/mrtg/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

I finaly tested the two plugins but i have bad news.

When i run the plugin about APs from command line i get

Code: Select all

Timeout: No Responcse from "ipaddress" 
the other plugin (controller) gives me

Code: Select all

/bin/bash^M: bad interpreter: No such file or directory
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

If i run the controller script with sh or bash command (not ./) i get this:

Code: Select all

sh check_msm_controller.sh -H 192.168.110.1 -C 0@5@_P@bl1c
: command not foundr.sh: line 3: 
: command not foundr.sh: line 5: 
: command not foundr.sh: line 9: 
'heck_msm_controller.sh: line 10: syntax error near unexpected token `do
'heck_msm_controller.sh: line 10: `for parameter in $*; do
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Wireless Clients

Post by Box293 »

orani wrote:the other plugin (controller) gives me

Code: Select all

/bin/bash^M: bad interpreter: No such file or directory
This KB article explains how to fix it:
https://support.nagios.com/kb/article.php?id=474

Do the same for both plugins.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

About the AP script if i run it with -A "APname" i got the following

Code: Select all

.1.3.6.1.4.1.8744.5.23.1.2.1.1.5.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.2.1.1.2.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.2.1.1.6.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.2.1.1.7.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.4.1.1.1.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.2.1.1.4.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
.1.3.6.1.4.1.8744.5.23.1.2.1.1.3.PRL-M-AP-1: Unknown Object Identifier (Sub-id not found: enterprises -> PRL-M-AP-1)
CRITICAL AP Name:  Serial:  Location:  Uptime:  Contact:  IP:  MAC:  Status: unknown
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

This KB article explains how to fix it:
https://support.nagios.com/kb/article.php?id=474

Do the same for both plugins.

Code: Select all

Timeout: No Response from 192.168.110.4
Timeout: No Response from 192.168.110.4
OK AP: 0
but i got 6 AP working fine
Locked