Page 1 of 1
CPU Utilisation gives an error
Posted: Fri Sep 19, 2014 9:45 am
by RIDS_I2MP
Hi Team,
We are getting the below error when we try to monitor CPU utilization on a windows server.
NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back?
Other parameters monitored on this server work fine except for this, please suggest.
Re: CPU Utilisation gives an error
Posted: Fri Sep 19, 2014 11:45 am
by Box293
Try rebuilding the performance counters on the windows host:
After doing restart the NSClient++ service.
Does this fix your problem?
Re: CPU Utilisation gives an error
Posted: Sat Oct 11, 2014 4:56 am
by RIDS_I2MP
Hi Team,
Could you please provide a document or point us to the Microsoft link which details the process. Our Admin team needs this to proceed further with this activity
Re: CPU Utilisation gives an error
Posted: Sun Oct 12, 2014 5:06 am
by WillemDH
http://support2.microsoft.com/kb/2554336
Code: Select all
Rebuilding all performance counters including extensible and third-party counters
To rebuild all Performance counters including extensible and third-party counters, type the following commands at an Administrative command prompt. Press ENTER after each command.
Rebuilding the counters:
cd c:\windows\system32
lodctr /R
cd c:\windows\sysWOW64
lodctr /R
Resyncing the counters with Windows Management Instrumentation (WMI):
WINMGMT.EXE /RESYNCPERF
Stop and restart the Performance Logs and Alerts service.
Stop and restart the Windows Management Instrumentation service.
Create a new Data Collector Set (do not use an existing Data Collector Set).
Grtz
Re: CPU Utilisation gives an error
Posted: Mon Oct 13, 2014 9:16 am
by tmcdonald
Thank you, Willem.
RIDS_I2MP, please let us know if you need further assistance.
Re: CPU Utilisation gives an error
Posted: Mon Oct 13, 2014 9:31 am
by RIDS_I2MP
Hi,
We did run this this afternoon, however it is still the same...!! Can you let us know if we need to look for a specific counter in perfmon and the settings it should have.
Re: CPU Utilisation gives an error
Posted: Mon Oct 13, 2014 10:29 am
by WillemDH
Can you give us the complete command you are using? Go to the service in CCM and Test, then paste output here. Do you use checkcpu
http://www.nsclient.org/nscp/wiki/CheckSystem/checkCPU or use performance counters?
What version of NSClient++? You could consider posting a thread here:
http://www.nsclient.org/forums/ to see if some NSClient power user / developer might have seen this before.
Grtz
Re: CPU Utilisation gives an error
Posted: Mon Oct 13, 2014 11:54 am
by lmiltchev
@RIDS_I2MP
Did you restart the NSClient++ service after rebuilding the Windows performance counters?
Re: CPU Utilisation gives an error
Posted: Wed Oct 15, 2014 3:02 am
by RIDS_I2MP
It works post the service restart. Please close this as solved.