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

Re: Wireless Clients

Post by orani »

Yes it is. I disabled snmp on both controllers and i re-enabled and still the same output.
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Wireless Clients

Post by rhassing »

Is the communitystring correct?
Rob Hassing
Image
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

yes it is :/
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Wireless Clients

Post by rkennedy »

orani wrote:Both of snmpwalk gives me timeout: no response from 192.168.110.1
Can you run nmap 192.168.110.1 and post the full output? If SNMP walk isn't working then the plugin surely won't either.
Former Nagios Employee
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

Code: Select all

# nmap 192.168.110.1

Starting Nmap 5.51 ( http://nmap.org ) at 2016-06-21 19:51 EEST
Nmap scan report for 192.168.110.1
Host is up (0.0043s latency).
Not shown: 985 closed ports
PORT     STATE    SERVICE
20/tcp   filtered ftp-data
21/tcp   filtered ftp
22/tcp   open     ssh
53/tcp   open     domain
80/tcp   open     http
161/tcp  filtered snmp
443/tcp  open     https
1056/tcp filtered vfo
2001/tcp filtered dc
5432/tcp open     postgresql
8080/tcp open     http-proxy
8081/tcp open     blackice-icecap
8082/tcp open     blackice-alerts
8090/tcp open     unknown
8093/tcp open     unknown

Nmap done: 1 IP address (1 host up) scanned in 1.61 seconds
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Wireless Clients

Post by rkennedy »

This is probably the culprit, since it's showing filtered and not open -

Code: Select all

161/tcp  filtered snmp
Is there a firewall on the AP, or between the Nagios machine and the AP?
Former Nagios Employee
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

yes there is a firewall but it has no access list preventing snmp/161 or 162 pass throwgh it!

I have also an HP IMC platform for monitoring an there snmp works fine so i dont think that the firewall causes that problem.

But i will try to bypass it to see if it works...

i will keep you informed.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Wireless Clients

Post by ssax »

Try this, it needs to be UDP for SNMP:

Code: Select all

nmap -sU -p161 192.168.110.1
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Wireless Clients

Post by orani »

Code: Select all

# nmap -sU -p161 192.168.110.1

Starting Nmap 5.51 ( http://nmap.org ) at 2016-06-23 02:46 EEST
Nmap scan report for 192.168.110.1
Host is up (0.0017s latency).
PORT    STATE         SERVICE
161/udp open|filtered snmp

Nmap done: 1 IP address (1 host up) scanned in 0.43 seconds
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 »

Because the output says "filtered" it means there is something blocking the port, a firewall or router between the XI server and the device. Here's the output when I run the nmap command:

Code: Select all

Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-23 10:21 AEST
Nmap scan report for centos01 (10.25.13.10)
Host is up (0.00038s latency).
rDNS record for 10.25.13.10: centos01.box293.local
PORT    STATE SERVICE
161/udp open  snmp
MAC Address: 00:50:56:AB:89:1C (VMware)

Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked