Page 3 of 4

Re: Wireless Clients

Posted: Tue Jun 21, 2016 8:19 am
by orani
Yes it is. I disabled snmp on both controllers and i re-enabled and still the same output.

Re: Wireless Clients

Posted: Tue Jun 21, 2016 8:33 am
by rhassing
Is the communitystring correct?

Re: Wireless Clients

Posted: Tue Jun 21, 2016 8:41 am
by orani
yes it is :/

Re: Wireless Clients

Posted: Tue Jun 21, 2016 11:18 am
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.

Re: Wireless Clients

Posted: Tue Jun 21, 2016 11:53 am
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

Re: Wireless Clients

Posted: Tue Jun 21, 2016 3:14 pm
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?

Re: Wireless Clients

Posted: Tue Jun 21, 2016 3:21 pm
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.

Re: Wireless Clients

Posted: Tue Jun 21, 2016 4:57 pm
by ssax
Try this, it needs to be UDP for SNMP:

Code: Select all

nmap -sU -p161 192.168.110.1

Re: Wireless Clients

Posted: Wed Jun 22, 2016 6:47 pm
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

Re: Wireless Clients

Posted: Wed Jun 22, 2016 7:23 pm
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