![]() |
![]() |
Subject: | How to monitor VMs in HyperV and HyperV R2 |
Author: | [Not Specified] |
Posted: | 2013-12-28 11:16 |
Dec 23, 2013 4:48 AM
How to monitor VMs in HyperV and HyperV R2
This question is Not Answered.(Mark as assumed answered)
I need to monitor VMs in Hyper-V server, how and what zenpack can help me to detect the VMs status in HyperV and Hyper R2, and tell me once there is VMs hang up or shutdown unexpectedly
I tried to install ZenPacks.Hyper.virtualMachines-0.1-py2.7.egg or ZenPacks.Hyper.virtualMachines-0.2-py2.7.egg(changed file name from py2.6), both can be installed, but cannot give me the right status of VMs and more details.I can only see VM is enabled or disabled. That is not the online status of VMs.
And in Hyper-VVM component, I tried to enable monitoring on VMs, the monitoring.. menu is dim and cannot select.
Refer to http://wiki.zenoss.org/ZenPack:Hyper-V_Server_R2 , which has been deleted, it says:
Install the ZenPack:
$ zenpack --install ZenPacks.zenoss.Microsoft.HyperV-*.egg
I cannot find this .egg file on internet. Please advise.
Attachments:
Attachment Zenoss - Mozilla Firefox (Private Browsing)_2013-12-23_17-44-06.png (80.1 K)
Attachment Zenoss - Mozilla Firefox (Private Browsing)_2013-12-23_17-46-27.png (58.1 K)
Helpful Answersby hydruid, jmp242
Like (0)
Reply
Tags: none (add)
jmp242 ZenossMaster
jmp242
4,060 posts since
Mar 7, 2007
1. Dec 23, 2013 10:47 AM (in response to QnA Zen)
Helpful AnswerRe: How to monitor VMs in HyperV and HyperV R2
I recommend actually adding the VMs as devices in the appropriate OS classes in Zenoss for detailed monitoring.
--
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
Unmark as Helpful
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
2. Dec 23, 2013 10:58 AM (in response to QnA Zen)
Helpful AnswerRe: How to monitor VMs in HyperV and HyperV R2
All of the Hyper-V ZenPacks are for enterprise, not for the free Core
Version.
Unmark as Helpful
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
QnA Zen Rank: White Belt
QnA Zen
15 posts since
Nov 17, 2013
3. Dec 23, 2013 9:48 PM (in response to hydruid)
Re: How to monitor VMs in HyperV and HyperV R2
Hi hydruid
Thanks for your reply. Is there any official article on Zenoss talking about this
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
4. Dec 24, 2013 9:16 AM (in response to QnA Zen)
Re: How to monitor VMs in HyperV and HyperV R2
You encountered the issues in the OP because that ZenPack is for
Enterprise. If you want confirmation, give Zenoss sales a call :P
I would go with jmp242's device and just monitor the VM's directly, it's
what I do!
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (1)
Reply
jmp242 ZenossMaster
jmp242
4,060 posts since
Mar 7, 2007
5. Dec 24, 2013 9:27 AM (in response to hydruid)
Re: How to monitor VMs in HyperV and HyperV R2
And as a plug for the community and ZCA - if you don't want to buy Enterprise, but are willing to fund development of a community Hyper-V zenpack replicating the functionality, there are a few great ZCA consultants who do custom development. I could certaily help you get in touch if you're interested.
--
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (1)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
6. Dec 24, 2013 9:53 AM (in response to jmp242)
Re: How to monitor VMs in HyperV and HyperV R2
Once again, jmp242 is correct! James you are the man!
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (1)
Reply
QnA Zen Rank: White Belt
QnA Zen
15 posts since
Nov 17, 2013
7. Dec 25, 2013 3:41 AM (in response to hydruid)
Re: How to monitor VMs in HyperV and HyperV R2
Hi hydruid and jmp242
Sincerely thank you for your assistance. I am a new user of Zenoss and we will only use the free version zenoss-core-4.2.4.
Would you please help to read my other questsions and help
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
QnA Zen Rank: White Belt
QnA Zen
15 posts since
Nov 17, 2013
8. Dec 26, 2013 3:17 AM (in response to jmp242)
Re: How to monitor VMs in HyperV and HyperV R2
May I know why Hyper-V ZenPacks does not work in free version
Can I use WMI query or WinPerf to get notification which VM is down
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
9. Dec 26, 2013 9:45 AM (in response to QnA Zen)
Re: How to monitor VMs in HyperV and HyperV R2
You didn't read our answer, Zenoss produces ZenPacks for customers that are
for the "pay version" only. Usually those ZenPacks are designed to work
with Enterprise instead of Core, they are very similar but not the same.
I'm not sure if you can use a WMI query to determine if a VM is down/up but
with a little bit of searching I'm sure you can find a way to do it.
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
Subject: | Update |
Author: | [Not Specified] |
Posted: | 2013-12-29 14:03 |
Hello,
Here is a post that might nudge you in the right direction: http://social.technet.microsoft.com/Forums/en-US/b81e8449-3683-4838-bd65-4ec999037661/log-event-when-vm-shutdown-or-turned-offforum=windowsserver2008r2virtualization
Hydruid
Hydruid
Subject: | Hi Hydruid |
Author: | [Not Specified] |
Posted: | 2014-01-03 01:47 |
Hi Hydruid
Thank you for your advice. If there is no Windows event log to record VM shutdown, then we cannot get by event log in zenoss
When I use wmi.hyperV plugin to model device, I found below information. Do you know how Zenoss collect below information The zenpack can get id/pc name and vmStatus. But it only update when modeling device. I still cannot create query to timely check the VM status.
INFO:zen.ZenModeler:End of Processing rm Values
'id': 'testw7v03',
'modname': 'ZenPacks.Hyper.virtualMachines.HypervVM',
'snmpindex': '2C329B9F-D9FD-43F9-AD7B-1ECB425D9365',
'vmDisplayName': 'testw7v03',
'vmMemory': 2048L,
'vmState': 'Enabled',
'vmVMID': '2C329B9F-D9FD-43F9-AD7B-1ECB425D9365'}>,
Subject: | I just happen to found the |
Author: | [Not Specified] |
Posted: | 2014-01-03 02:51 |
Subject: | Can I copy or use something |
Author: | [Not Specified] |
Posted: | 2014-01-03 02:52 |
Subject: | That looks like from 4 years |
Author: | [Not Specified] |
Posted: | 2014-01-03 08:02 |
That looks like from 4 years ago, and no one has done anything with it since that I can tell. If you want to update the Zenpack, I'd say, go ahead.
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
Subject: | Update |
Author: | [Not Specified] |
Posted: | 2014-03-11 14:56 |
QNA,
I finally got around to needing additional Hyper-V monitoring as well and came up with a basic Monitoring Template. I attached it to a ZenPack for you to use as an example: https://github.com/hydruid/zenoss/tree/master/zenpacks/Hyper-V
Hydruid
< |
Previous Collectors |
Next not able to login getting source code in browser |
> |