Hello All,
I'm monitoring the cpu usage of a Windows 2012 R2 Hyper-V host. The usage is a continual 1-2%. After much reading, this appears to be correct in that there is nothing running on the host and the standard tools only report the host CPU usage.
However, I have discovered that using the "Performance Monitor" tool, and adding in the "Hyper-V Hypervisor Logical Processor(*)\% Total Run Time" counter, I can see the total CPU usage of the virtual machines (there are multiple vm's on this host). This is very useful information as I can see the full extent of the CPU usage of the physical machine.
My question is whether it's possible to monitor this via Nagios and so get a true history / graph of CPU utilisation?
Cheers,
Chris.
cpu usage hyper-v host
Re: cpu usage hyper-v host
Yes, the Windows wizard will actually let you input your performance counters so that you can monitor them for data. I'd say the performance counters should be pretty accurate since they're directly from Windows.
I'm a bit confused by your question, so hopefully that helps answer it.
I'm a bit confused by your question, so hopefully that helps answer it.
Former Nagios Employee
Re: cpu usage hyper-v host
Hi rkennedy,
thanks for that. I always wondered what the "performance counters" were about and now I know. I'm having some difficulty actually getting the required parameter to work but I'm on the right track - I have it working from the command line but just can't quite get it to work from the service check - but I'm getting there. Thanks very much for the info.
Cheers,
Chris.
thanks for that. I always wondered what the "performance counters" were about and now I know. I'm having some difficulty actually getting the required parameter to work but I'm on the right track - I have it working from the command line but just can't quite get it to work from the service check - but I'm getting there. Thanks very much for the info.
Cheers,
Chris.
Re: cpu usage hyper-v host
Hi rkennedy,
I ended up creating a script and defining a command that successfully checks and graphs the total processor usage from all VM's on the hosts. Thanks for your assistance.
Cheers,
Chris.
I ended up creating a script and defining a command that successfully checks and graphs the total processor usage from all VM's on the hosts. Thanks for your assistance.
Cheers,
Chris.
Re: cpu usage hyper-v host
Is it alright if we close this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/