Xen Virtual Hosts
You are viewing the ZenPack Archive
This page is part of the ZenPack Archive. Archived ZenPacks may not be compatible with your version of Zenoss Service Dynamics or Zenoss Cloud.
Open Source
This ZenPack is developed and supported by Zenoss Inc. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Open Source ZenPacks.
Organization
Zenoss, Inc.
Name
ZenPacks.zenoss.XenMonitor
Link To More Docs
Applications Monitored
Xen
Xen Virtual Hosts ZenPack
The XenMonitor ZenPack allows you to monitor Xen para-virtualized domains with Zenoss. Note: This ZenPack is deprecated has been superseded by http://wiki.zenoss.org/ZenPack:XenServer
Support
This ZenPack is part of Zenoss Core. Open Source users receive community support for this ZenPack via our online forums. Enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.
Background
The ZenPacks.zenoss.XenMonitor ZenPack monitors Xen para-virtualized domains.
With this ZenPack, the zenmodeler can discover guests running on Xen hosts, and Zenoss platform includes screens and templates for collecting and displaying resources allocated to guests.
Prerequisites
Prerequisite | Restriction |
Product | Zenoss platform 4.x |
Required ZenPacks | ZenPacks.zenoss.XenMonitor ZenPacks.zenoss.ZenossVirtualHostMonitor |
Model Hosts and Guest
For each Xen server, follow this procedure:
- Optionally, place an SSH key to your Xen server to allow the zenoss user from the Zenoss platform server to log in as root without requiring further credentials.
- Create the Xen server in the /Servers/Virtual Hosts/Xen device class. Warning: If you have this server modeled already, remove the server and recreate it under the Xen device class. Do not move it.
- Select the Guest menu and ensure that the guest hosts were found during the modeling process.
Daemons
Type | Name |
Modeler | zenmodeler |
Performance Collector | zencommand |
Monitoring with sudo
To configure sudo in order to run the xm on the Virtual Machine Host, you will need to modify a few things.
- Modify the zCommandPath zProperty to be blank, otherwise this path will be pre-pended to the sudo command.
- Modify the zCommandUsername and zCommandPassword configuration properties to be a non-root user with sudo access to the xm command.
- Modify the Xen.py modeler to add the sudo command. The modeler can be found under the $ZENHOME/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor directory, under the modeler/plugins directory.
- Modify the performance templates.
- Navigate to the /Devices/Server/Virtual Machine Host/Xen device class
- From the device class click on the Templates tab
- Click on the VirtualMachine performance template
- In the Data Sources table, click on the resources Data Source
- Edit the command template to add the sudo command to the beginning of the xm command