Could not fetch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

Could not fetch

Post by MichielvM »

Hi,

I have a random issue (Yay!)

One particular host will randomly give "could not fetch information from server" messages.
I must note that random in this case means 90% of the time.

This is a virtual Windows 8 Pro machine on an ESx host with other VM's which run like clockwork.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Could not fetch

Post by rkennedy »

Is there anything special about this host that differentiates it from the others? There may be multiple NSClient processes running which is why this error would happen randomly.

Can you please verify that the Nagios host IP is contained in the 'allowed_hosts=' line under the nsclient.ini (possibly NSC.ini)? Additionally, verify the service is running (run services.msc -> NSClient++). It will need to be restarted to render any changes made to the .ini file.

Will you attach a copy of your nsclient.log (via PM or this thread)?
Former Nagios Employee
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

Re: Could not fetch

Post by MichielvM »

Everything checked out OK. No major differences between working and this one. Ini file OK. All the usual suspects checked out.

Your remark about multiple NSclient proccesses got me thinking.
I recall having some trouble with this NSClient install. Couldn't get rid of handshake errors, so I bumped it to a higher version (0.4.3) without uninstalling.
Never thinking twice about it.

I did a complete uninstall, removed al traces of NSClient and installed my trusty ol' 0.4.1. (stable imho)
And presto! Errors be gone!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Could not fetch

Post by rkennedy »

Glad to see this magic worked for you! I will now close this thread, but feel free to open another if you need more assistance.
Former Nagios Employee
Locked