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.
CPU Utilisation gives an error
CPU Utilisation gives an error
Thanks & Regards,
I2MP Team.
I2MP Team.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: CPU Utilisation gives an error
Try rebuilding the performance counters on the windows host:
After doing restart the NSClient++ service.
Does this fix your problem?
Code: Select all
lodctr /RDoes this fix your problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: CPU Utilisation gives an error
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
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
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: CPU Utilisation gives an error
http://support2.microsoft.com/kb/2554336
Grtz
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).Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: CPU Utilisation gives an error
Thank you, Willem.
RIDS_I2MP, please let us know if you need further assistance.
RIDS_I2MP, please let us know if you need further assistance.
Former Nagios employee
Re: CPU Utilisation gives an error
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.
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.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: CPU Utilisation gives an error
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
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
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: CPU Utilisation gives an error
@RIDS_I2MP
Did you restart the NSClient++ service after rebuilding the Windows performance counters?
Did you restart the NSClient++ service after rebuilding the Windows performance counters?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CPU Utilisation gives an error
It works post the service restart. Please close this as solved.
Thanks & Regards,
I2MP Team.
I2MP Team.