ERROR opening session: No response from remote host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
javier25
Posts: 1
Joined: Mon Sep 10, 2018 3:29 am

ERROR opening session: No response from remote host

Post by javier25 »

Hello.
I have read all the post related with my problem and I don´t see the fix in the forum.
I´m monitoring with snmp and this is the issue:


cpu-load

Notifications for this service have been disabled Perform Extra Service Actions
UNKNOWN 09-28-2018 10:54:17 0d 21h 17m 54s 3/3 ERROR opening session: No response from remote host 'ESPE-RFD-ELK01.mts.local' during discovery.

This is how I have defined the service:
define service{
use generic-service,srv-pnp
host_name ESPE-RFD-ELK01
service_description disk-usage
check_command snmp-storage-v3!80!90
}

I have done this command:
[root@NSS-NAGIOS libexec]# nmap 10.1.10.201 -p 161 -sU

Starting Nmap 5.51 ( http://nmap.org ) at 2018-09-28 10:48 CEST
Nmap scan report for espe-rfd-elk01.mts.local (10.1.10.201)
Host is up (0.00020s latency).
PORT STATE SERVICE
161/udp filtered snmp
MAC Address: 00:50:56:B9:AF:C3 (VMware)

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds


and another one:
[root@NSS-NAGIOS libexec]# nmap 10.1.10.201 -p 162 -sU

Starting Nmap 5.51 ( http://nmap.org ) at 2018-09-28 10:51 CEST
Nmap scan report for espe-rfd-elk01.mts.local (10.1.10.201)
Host is up (0.00021s latency).
PORT STATE SERVICE
162/udp filtered snmptrap
MAC Address: 00:50:56:B9:AF:C3 (VMware)

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
You have mail in /var/spool/mail/root
[root@NSS-NAGIOS libexec]# ^C
You have mail in /var/spool/mail/root


Someone can say me where is the issue?.

Greetings.
jforcier

Re: ERROR opening session: No response from remote host

Post by jforcier »

Are you able to do an snmpwalk to that IP?

Code: Select all

snmpwalk -v 2c -c public <ipaddress> 1.3.6.1.2.1.1.3
It's possible you have a firewall issue even if nmap says otherwise.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ERROR opening session: No response from remote host

Post by lmiltchev »

[root@NSS-NAGIOS libexec]# nmap 10.1.10.201 -p 162 -sU

Starting Nmap 5.51 ( http://nmap.org ) at 2018-09-28 10:51 CEST
Nmap scan report for espe-rfd-elk01.mts.local (10.1.10.201)
Host is up (0.00021s latency).
PORT STATE SERVICE
162/udp filtered snmptrap
MAC Address: 00:50:56:B9:AF:C3 (VMware)
This sure looks like a firewall issue to me. Instead of "filtered", the nmap output should show "open"...

Example:
# nmap x.x.x.x -p 161 -sU

Starting Nmap 6.47 ( http://nmap.org ) at 2018-09-28 13:38 CDT
Nmap scan report for x.x.x.x
Host is up (0.0010s latency).
PORT STATE SERVICE
161/udp open snmp
MAC Address: 00:50:56:84:F1:DC (VMware)

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked