NSClient - ERROR: PDH Collection thread not running.

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.
wangyu
Posts: 41
Joined: Tue Aug 25, 2015 2:41 am

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

Post by wangyu »

The attachment is nsclient.ini
Attachments
nsclient.ini
(12.55 KiB) Downloaded 305 times
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

It looks like the NSClientServer isn't enabled on your remote host and that is causing the issue.

Under this section in the nsclient.ini file

Code: Select all

[/modules]
Add this line

Code: Select all

NSClientServer = 1
Save it out and restart the nsclient++ service and see if that resolves it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
wangyu
Posts: 41
Joined: Tue Aug 25, 2015 2:41 am

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

Post by wangyu »

When I add the line:
NSClientServer = 1
It's OK now.
Thanks very much for all help.
Attachments
14.png
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

Glad to hear it worked, is there anything else we can do for you, or are we good to close this one?
Former Nagios Employee.
me.
wangyu
Posts: 41
Joined: Tue Aug 25, 2015 2:41 am

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

Post by wangyu »

You can close the one issue, thanks very much.
Locked