This is a brand new physical install of Server 2008, never saw this error before, looking online indicates this error has something to do with the performance counters in Windows being jacked up. When I run the command to reset the performance counters (lodctr.exe /R) Windows throws this error:
"Error: Unable to rebuild performance counter setting from system backup store, error code is 5."
Digging into that error I found the lodctr commands to backup the original /S:Backup_Original.ini then do a restore R:PerfStringBackup.ini and that throws this error:
"Error: Unable to restore performance counter setting from backup file C:\Windows\System32\PerfStringBackup.ini, error code is 5".
In addition to the PDH Value issue, it's also having problems with"
Short of having the guy go back and wipe that drive and start from scratch on the OS install, does any have any suggestions?
NS Client Error Failed to get PDH Value
NS Client Error Failed to get PDH Value
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: NS Client Error Failed to get PDH Value
Did you run "lodctr.exe /R" as administrator?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NS Client Error Failed to get PDH Value
Crap!!!
Ran successfully as local admin, but did not fix the problem.
Thanks
Ran successfully as local admin, but did not fix the problem.
Thanks
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: NS Client Error Failed to get PDH Value
Is your problem now resolved?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NS Client Error Failed to get PDH Value
No, I ran the reset as admin, it ran successfully, but it did not fix the problem with the three services.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: NS Client Error Failed to get PDH Value
Could you post how the service checks are configured so we can review them?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NS Client Error Failed to get PDH Value
Just the standard CPU check from the Windows Server Monitoring Wizard:
define service {
host_name webterm2.hhsc.org
service_description CPU Usage
use xiwizard_windowsserver_nsclient_service
check_command check_xi_service_nsclient!nagios!CPULOAD!-l 5,90,95
max_check_attempts 3
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts cmasteller,lchong,ryamamoto
contact_groups CDC Help Desk
_xiwizard windowsserver
register 1
}
Is this what you were talking about, or did you need something else?
Mahalo
define service {
host_name webterm2.hhsc.org
service_description CPU Usage
use xiwizard_windowsserver_nsclient_service
check_command check_xi_service_nsclient!nagios!CPULOAD!-l 5,90,95
max_check_attempts 3
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts cmasteller,lchong,ryamamoto
contact_groups CDC Help Desk
_xiwizard windowsserver
register 1
}
Is this what you were talking about, or did you need something else?
Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: NS Client Error Failed to get PDH Value
I'm going to sit down with the guy who installed the OS on this server (he's new) and blow it away and reinstall it.
Never saw this problem with a basic Nagios config on a Windows server so I'm wondering what else might be lurking in the background that might jump up and bite us when this box goes into production.
I'll post the results when we're done.
Mahalo
Never saw this problem with a basic Nagios config on a Windows server so I'm wondering what else might be lurking in the background that might jump up and bite us when this box goes into production.
I'll post the results when we're done.
Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: NS Client Error Failed to get PDH Value
Great, thanks for the update.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: NS Client Error Failed to get PDH Value
Are you using nsclient++ as the NRPE agent?
I've had similar issues with a Win2008 Exchange server where the check_pdh command is failing.
I'm still in the process of proving my solution, but indications so far has been that the there is a problem with nsclient.
I have upgraded a server to the latest version 0.4.3.x and the check_pdh command appears to be working correctly now
Regards... Fred
I've had similar issues with a Win2008 Exchange server where the check_pdh command is failing.
I'm still in the process of proving my solution, but indications so far has been that the there is a problem with nsclient.
I have upgraded a server to the latest version 0.4.3.x and the check_pdh command appears to be working correctly now
Regards... Fred