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.
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 »

Perhaps these plugins aren't specifically designed for your access points.

If you look at the plugin code you can see what SNMP OID's are being targeted. You can do an SNMP walk against your devices to see if they have these OID's. There might be different OID's returned in the SNMP walk which may work.

Code: Select all

snmpwalk -v 2c -c 0@5@_P@bl1c 192.168.110.1 -O f -m all 1.3.6.1.4.1.8744

Code: Select all

snmpwalk -v 2c -c 0@5@_P@bl1c 192.168.110.1 -O f -m all 1.3.6.1.4.1
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Wireless Clients

Post by nozlaf »

Code: Select all

 ./check_msm_ap.sh  -H 172.17.1.1 -C public -A 1
OK AP Name: BigApNameSerial: CN20D332V5 Location: MyAPLocation Uptime: Timeticks: (437081400) 50 days, 14:06:54.00 Contact:  IP: 172.17.1.33 MAC: B4:A1:2E:4B:EA:2B Status: running
the -A is for the AP number, not sure where you got the idea it was for the name
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Wireless Clients

Post by nozlaf »

orani wrote:
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
I noticed that you have a different IP here to the IP you used in the other commands 192.168.110.1

the IP here needs to be the IP of the MSM controller, not the AP

if you run it against an MSM controller you will get the following output (I have two down AP's)

Code: Select all


 ./check_msm_controller.sh  -H 172.17.1.1 -C public
CRITICAL AP: CN3271D0B2 CN1451D325
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Wireless Clients

Post by rkennedy »

Thanks @nozlaf!

@orani - let us know if you have any further questions.
Former Nagios Employee
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

I am not at office now. I will be tomorrow for more tests.

For that you said I have tow controllers (teaming) and 6 APs.

Controllers ips: 192.168.110.1 and 192.168.110.2 and the teaming ip 192.168.110.4

And

My APs ips are 192.168.110.31-36

When I use the controller script which ip should I use? .1(team manager) or .4(teaming)

As you said for the AP script -A "APnumber".... What is the number of an AP? How can I find it?

Do you mean I have to run the command 6 times (-A 1 to -A 6)???
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

i ran both scripts again using your advices.

Code: Select all

./check_msm_ap.sh -H 192.168.110.1 -A 1 -C 0@5@_P@bl1c
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
CRITICAL AP Name:  Serial:  Location:  Uptime:  Contact:  IP:  MAC:  Status: unknown
Nothing new happened

Code: Select all

./check_msm_controller.sh -H 192.168.110.1 -C 0@5@_P@bl1c
Timeout: No Response from 192.168.110.1
Timeout: No Response from 192.168.110.1
OK AP: 0
This means that APs are ok and AP:0 means that no AP has problem?
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Wireless Clients

Post by rhassing »

I have created a script which checks if all Access points are still in sync.
And I created some sFlow tools you might use in Nagios, but this was not especially for MSM.
Rob Hassing
Image
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Wireless Clients

Post by ssax »

Please run the snmpwalk commands that Box293 listed, it doesn't look like SNMP is enabled/allowed.

Also, try putting single quotes around your community as well:

Code: Select all

./check_msm_ap.sh -H 192.168.110.1 -A 1 -C '0@5@_P@bl1c'

Let us know the results.


Thank you
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

Both of snmpwalk gives me timeout: no response from 192.168.110.1
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Wireless Clients

Post by rhassing »

Is snmp enabled on the controller?
Rob Hassing
Image
Locked