Page 2 of 3

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Wed Sep 09, 2015 9:24 am
by tgriep
The command from the documentation just enabled the NRPE server on the remote host. It does not set the IP address so just run it as shown.

Code: Select all

nscp settings --activate-module NRPEServer --add-defaults

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Wed Sep 09, 2015 4:52 pm
by Box293
You typed --active-module not --activate-module as well and followed by an IP address. It appears you did not follow the guide.

If you need to start again:

http://sites.box293.com/nagios/guides/n ... t-ini-file


If you follow the guides step by step you shouldn't have any problems (copy and paste saves spelling mistakes).

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Wed Sep 09, 2015 7:44 pm
by wangyu
Thanks very much for Box293, I complete this operation :
http://sites.box293.com/nagios/guides/n ... dows/0-4-x

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Wed Sep 09, 2015 10:39 pm
by Box293
Did it resolve your original problem?

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Thu Sep 10, 2015 12:37 am
by wangyu
I want to ask Why me recreate a nsclient.ini File ?

When I finish install NSclient software, the nsclient.ini file is exist in C:\Program Files\NSClient++ folder .

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Thu Sep 10, 2015 1:07 am
by Box293
Sometimes people manually edit the file and make changes that are not vaild and cause more problems trying to troubleshoot issues. When you start fresh, it makes things simpler.

Is your original problem resolved?

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Thu Sep 10, 2015 3:04 am
by wangyu
When I finish install the NSCP-0.4.1.105-Win32.msi on nagios client.
The picture 68 show the config of the services.cfg
The picture 67 show the status of the Drive.

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Thu Sep 10, 2015 9:41 am
by hsmith
wangyu wrote:When I finish install the NSCP-0.4.1.105-Win32.msi on nagios client.
The picture 68 show the config of the services.cfg
The picture 67 show the status of the Drive.
Did you make sure that your Nagios server is allowed to talk to your remote box running NSClient? You can used allowed hosts = to make sure they are allowed to talk.

snippet from my working nsclient.ini:

Code: Select all

[/settings/default]

; PASSWORD - Password used to authenticate against server
password = supergoodpassword

; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 192.168.4.67, 192.168.4.11

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Sun Sep 13, 2015 10:41 pm
by wangyu
The nagios server is 10.134.40.139
The nagios client is 10.245.36.32
The file nsclient.ini show the configure, please look at the picture 12.

Re: NSClient - ERROR: PDH Collection thread not running.

Posted: Mon Sep 14, 2015 2:39 am
by Box293
Can you please post your entire nsclient.ini file