Page 1 of 4

Wireless Clients

Posted: Sat Jun 18, 2016 8:29 pm
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?

Re: Wireless Clients

Posted: Sun Jun 19, 2016 4:00 am
by nozlaf
@rhassing wrote something a while ago which should work
ill make sure he looks in here

Re: Wireless Clients

Posted: Sun Jun 19, 2016 10:16 pm
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.

Re: Wireless Clients

Posted: Sun Jun 19, 2016 10:26 pm
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

Re: Wireless Clients

Posted: Sun Jun 19, 2016 10:40 pm
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/

Re: Wireless Clients

Posted: Sun Jun 19, 2016 10:55 pm
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

Re: Wireless Clients

Posted: Sun Jun 19, 2016 11:01 pm
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

Re: Wireless Clients

Posted: Sun Jun 19, 2016 11:06 pm
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.

Re: Wireless Clients

Posted: Sun Jun 19, 2016 11:11 pm
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

Re: Wireless Clients

Posted: Sun Jun 19, 2016 11:25 pm
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