Page 1 of 1

could not fetch information from server

Posted: Thu Jun 06, 2013 2:54 pm
by ofadl
Hello everyone

I was setting up a couple servers on nagios, and after i was done, i got the error "could not fetch information from server". Anyone know how to resolve this?

Thanks

Re: could not fetch information from server

Posted: Thu Jun 06, 2013 3:10 pm
by abrist
Are these windows servers running nsclient?

Re: could not fetch information from server

Posted: Thu Jun 06, 2013 3:11 pm
by ofadl
yes two of them are running it, but one give that error of "could not fetch information from server" and the other gives a " no data was received from host"

Re: could not fetch information from server

Posted: Thu Jun 06, 2013 3:11 pm
by lmiltchev
I assume you are trying to monitor windows servers - did you add nagios IP to the "allowed_hosts=" line in the NSC.ini (or nsclient.ini) file on the client?

Re: could not fetch information from server

Posted: Thu Jun 06, 2013 3:13 pm
by ofadl
what do u mean by the nagios IP, dont u mean the server ip?

Re: could not fetch information from server

Posted: Thu Jun 06, 2013 4:39 pm
by abrist
ofadl wrote:what do u mean by the nagios IP, dont u mean the server ip?
IP as in the ip address of the nagios server.

Re: could not fetch information from server

Posted: Fri Jun 07, 2013 8:12 am
by ofadl
there are two allowed_hosts lines, which one do i add the nagios ip adress to, or do i add the nagios ip to both?

Re: could not fetch information from server

Posted: Fri Jun 07, 2013 8:14 am
by ofadl
i got it working, thanks alot for your help guys.... I had one more question, i have the same problem for the "could not fetch information from server" for two other services, which are not NSClient, both are CPU load processes

Re: could not fetch information from server

Posted: Fri Jun 07, 2013 9:49 am
by slansing
We're moving to your other thread to take care of this issue.. in the future, please keep similar issues in the same thread, thanks!