Page 1 of 1
OUTPUT: could not fetch information from server
Posted: Tue Aug 19, 2014 10:07 am
by tcpbr
Hi. We have a Windows server in a different VLAN and I would like monitor with Nsclient++. The Nagios server can see this another server and ports 5666 and 12489 are opened. Still can not monitor. This is the returned message: OUTPUT: could not fetch information from server
Best Regards
NMAP OUTPUT:
[root@srvnagios ~]# nmap -p 5666,12489,80 10.11.6.1
Starting Nmap 5.51 (
http://nmap.org ) at 2014-08-19 11:42 BRT
Nmap scan report for 10.11.6.1
Host is up (0.00071s latency).
PORT STATE SERVICE
80/tcp open http
5666/tcp open nrpe
12489/tcp open unknown
COMMAND OUTPUT
[root@srvnagios libexec]# /usr/local/nagios/libexec/check_nt -H 10.11.6.1 -s "XXXX" -p 12489 -v MEMUSE -w 80 -c 90
could not fetch information from server
Re: OUTPUT: could not fetch information from server
Posted: Tue Aug 19, 2014 10:11 am
by slansing
This is commonly due to not having your nagios server's address defined in the "allowed_hosts" section of the nsc/nsclient.ini file, can you verify it is defined there? If it is, make sure it is in the correct section "for check_nt" as there is a section for "check_nrpe" as well. Once added (if it was not) restart the nsclient service and re-test.
Re: OUTPUT: could not fetch information from server
Posted: Tue Aug 19, 2014 12:41 pm
by tcpbr
slansing wrote:This is commonly due to not having your nagios server's address defined in the "allowed_hosts" section of the nsc/nsclient.ini file, can you verify it is defined there? If it is, make sure it is in the correct section "for check_nt" as there is a section for "check_nrpe" as well. Once added (if it was not) restart the nsclient service and re-test.
Yes, is defined. As with the other servers
; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 192.168.254.254
Re: OUTPUT: could not fetch information from server
Posted: Tue Aug 19, 2014 3:01 pm
by slansing
In your nsclient's installation directory, you should have a nsclient.log file, can you attach that here if it is not too large by now?
Re: OUTPUT: could not fetch information from server
Posted: Wed Aug 20, 2014 8:48 am
by tcpbr
following file
Re: OUTPUT: could not fetch information from server
Posted: Wed Aug 20, 2014 11:05 am
by slansing
Are you sure your XI server is not "10.11.5.200"? That is being rejected, do you have anything else running NRPE/check_nt checks against this system? You may also want to rebuild your counters by issuing the following through command prompt: