could not fetch information from server/free disk s

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

could not fetch information from server/free disk s

Post 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
Attachments
nagios screenshot.PNG
nsclient log.PNG
nsclient1.ini
(7.21 KiB) Downloaded 472 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

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

Post 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
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

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

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

Great to hear! Locking up.
Former Nagios employee
Locked