Page 1 of 1

could not fetch information from server/free disk s

Posted: Thu Jul 10, 2014 9:34 am
by Ladi
Hi All,

Am trying to setup nagios to monitor a window server which have done but am having some issues, after installing the agent on the window and configure all the necessary part on Nagios server, am having the below error on my Nagios.

could not fetech information from server and (No output returned from plugin), Free disk space : Invalid drive . have checked nsclient++ and i could see some error. Kindly see below attached log, nsclient.ini file and nagios screenshot.

I will be happy to hear from you.


Regards,
Ladi

Re: could not fetch information from server/free disk s

Posted: Thu Jul 10, 2014 11:52 pm
by Box293
Could you also post the .cfg file from your nagios server which has these services defined in it?

As for the nsclient1.ini file and from looking at the screenshots, you need to:
Replace
allowed hosts = 127.0.0.1
With:
allowed hosts = ::ffff:192.128.7.224

And then restart the NSClient service.

Re: could not fetch information from server/free disk s

Posted: Fri Jul 11, 2014 4:32 am
by Ladi
Hello Box,

Thanks for your response. I will try what you just said, but from what i read, the documentation said i should put my nagios server ip in that place which i did.

Let me try what you said and revert.


Thanks

Re: could not fetch information from server/free disk s

Posted: Fri Jul 11, 2014 5:52 am
by Ladi
Hi Box,

Have tried it and it works fine. I passed in the ip and suggested and i left the password space blank. After all this, i restarted my NSCleint++ and nagios server and everything works perfectly.


Thanks for your support.


Regards.

Re: could not fetch information from server/free disk s

Posted: Fri Jul 11, 2014 9:36 am
by tmcdonald
Great to hear! Locking up.