Difference between revisions of "ZenPack:CloudStack"

From Zenoss Wiki
Jump to: navigation, search
Line 7: Line 7:
 
|Source URI=git://github.com/zenoss/ZenPacks.zenoss.CloudStack.git
 
|Source URI=git://github.com/zenoss/ZenPacks.zenoss.CloudStack.git
 
|Releases={{Release
 
|Releases={{Release
 +
|Version=1.1.0
 +
|Tag=1.1.0
 +
|Release date=2013/08/21
 +
|Summary=Impact integration with XenServer ZenPack.
 +
|Compatible with=Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x
 +
|Incompatible with=Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x
 +
}}{{Release
 
|Version=1.0.9
 
|Version=1.0.9
 
|Tag=1.0.9
 
|Tag=1.0.9
Line 25: Line 32:
 
|Version=3
 
|Version=3
 
}}
 
}}
 +
|Integrations=
 
|Binaries=
 
|Binaries=
 
}}
 
}}

Revision as of 18:07, 21 August 2013

Organization
Zenoss, Inc.
License
GNU General Public License, Version 2, or later
ZenPack name
ZenPacks.zenoss.CloudStack
More Information
GitHub page/HomePage
Link to more docs
View Documentation
Git sources (for cloning)
Link


Applications Monitored: 



CloudStack ZenPack

Monitor CloudStack

Warning

The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.

Support

This is an Open Source ZenPack developed by Zenoss, Inc. Enterprise support for this ZenPack is available to commercial customers with an active subscription.

Releases

Version 1.1.0- Download
Summary of changes: Impact integration with XenServer ZenPack.
Released on 2013/08/21
Compatible with Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x
Incompatible with Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x
Version 1.0.9- Download
Released on 2013/04/24
Compatible with Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x
Version 1.0.8- Download
Released on 2013/04/01
Compatible with Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x

Background

Monitoring for Apache CloudStack and by extension, Citrix CloudPlatform.

The easiest way to start monitoring CloudStack is to navigate to the Infrastructure page, click the *+* menu to add a device and choose Add CloudStack. Fill out the URL, API Key, and Secret Key fields then click OK. The URL should only include the protocol, host and port (i.e. http://cloudstack.example.com/). You can find or create the keys by logging into the CloudStack web interface and navigate to Accounts and users.

Zenoss will then add the CloudStack device to the system along with all of its associated zones, pods, clusters, system VMs and VMs. Monitoring will also start after the discovery is complete.

Metrics

Once you've successfully added a CloudStack cloud to Zenoss you will begin to see the following metrics available for the entire cloud. These numbers are aggregated from all zones, pods, clusters and hosts.

  • Public IPs: Total and Used
  • Private IPs: Total and Used
  • Memory: Total (with and without over-provisioning), Allocated and Used
  • CPU: Total (with and without over-provisioning), Allocated and Used
  • Primary Storage: Total (with and without over-provisioning), Allocated and Used
  • Secondary Storage: Total and Used
  • Network: Read and Write


The same list of metrics are available for each zone. The same metrics with the exception of public IPs and secondary storage are also available for each pod.

The following metrics are available aggregated to each cluster, and for each host.

  • Memory: Total and Used
  • CPU: Total (with and without over-provisioning), Allocated, Used and Cores
  • Network: Read and Write

Events

CloudStack has both alerts and events. Once you've successfully added a CloudStack cloud to Zenoss you will automatically receive all CloudStack alerts as events in Zenoss. You will also automatically receive all CloudStack events. However, the events will go straight into your event history by default.

To avoid overloading CloudStack and Zenoss, only the last two (2) days of events will be checked. This allows for timezone discrepency between the Zenoss and CloudStack servers as well as some downtime without missing events. There is no real-time event collection mechanism with the CloudStack API, so alerts and events will only be polled once per minute.

Installed Items

Installing the ZenPack will add the following items to your Zenoss system.

Device Classes
  • /CloudStack
Configuration Properties
  • zCloudStackURL
  • zCloudStackAPIKey
  • zCloudStackSecretKey
Modeler Plugins
  • zenoss.CloudStack
Monitoring Templates
  • Cloud
  • Zone
  • Pod
  • Cluster
  • Host
Event Classes
  • /Status/CloudStack
  • /Perf/CloudStack
  • /App/CloudStack

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.zenoss.CloudStack-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone git://github.com/zenoss/ZenPacks.zenoss.CloudStack.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.zenoss.CloudStack
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus