I have at least one windows box that is not reporting CPU usage. I've tried from WMI and the windows agent. The error from the agent is: "NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back?"
From WMI: COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H dfw113eas03 -u '[email protected]' -p 'Very42n81' -m checkcpu -w '80' -c '90' -t 60
OUTPUT: UNKNOWN - The WMI query had problems. The plugin is having trouble finding the required WMI Classes on the target host (dfw113eas03). There can be multiple reasons for this (please go through them and check)
including permissions problems (try using an admin login) or software that creates the class is not installed (eg if you are trying to checkiis but IIS is not installed). This may be doubtful as other wmi checks are working. It can also happen if your version of Windows does not support this check (this might be because the WMI fields are named differently in different Windows versions). Sometimes, some systems 'lose' WMI Classes and you might need to rebuild your WMI repository. Sometimes the WMI service is not running, other times a reboot can fix it. Other causes include mistyping the WMI namesspace/class/fieldnames. There may be other causes as well. You can use wmic from the command line to troubleshoot. Wmic error text on the next line. [wmi/wmic.c:212:main()] ERROR: Retrieve result data. NTSTATUS: NT code 0x80041010 - NT code 0x80041010
I am monitoring about 500 windows boxes, all configurations were identical with WMI checks. On this box, some WMI checks (and some agent checks) work fine, but CPU seems to be hosed.
Any ideas?
Windows CPU not reporting
Re: Windows CPU not reporting
Try rebuilding the WMI repository:
http://blogs.technet.com/b/askperf/arch ... itory.aspx
Let us know if this helped.
http://blogs.technet.com/b/askperf/arch ... itory.aspx
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!