SlideShare a Scribd company logo
Monitoring CloudStack With
          Zenoss
          Shanker Balan
Managing Consultant, ShapeBlue India
  shanker.balan@shapeblue.com
Monitoring With Zenoss
• Integrated Platform
  – Application Monitoring
  – Sever Monitoring
  – Network Management Platform
• Features
  –   Event Management
  –   Time-series performance monitoring of devices
  –   Auto Discovery
  –   Alerting system provides notifications based on rule
      sets and on-call calendars
Extending Zenoss With ZenPacks
• Download from http://zenpacks.zenoss.com
  – ZenPacks.zenoss.CloudStack
  – ZenPacks.zenoss.XenMonitor
  – ZenPacks.community.VMwareEsx
  – ZenPacks.community.VMwareESXiMonitor
CloudStack Specific Metrics
These numbers are aggregated from all
zones, pods, clusters and hosts:
  1. Public IPs: Total and Used
  2. Private IPs: Total and Used
  3. Memory: Total (with and without over-
     provisioning), Allocated and Used
  4. CPU: Total (with and without over-
     provisioning), Allocated and Used
  5. Primary Storage: Total (with and without over-
     provisioning), Allocated and Used
  6. Secondary Storage: Total and Used
  7. Network: Read and Write
CloudStack Specific Metrics
• Cluster / Host Metrics
  1. Memory: Total and Used
  2. CPU: Total (with and without over-
     provisioning), Allocated, Used and Cores
  3. Network: Read and Write
CloudStack Threshold Monitoring
• Thresholds
  – Notifications for lower thresholds (25%)
  – Alarm/Warning for higher thresholds (85%)
• Key Metrics
  1. CPU
  2. Memory
Zenoss Event Logging
• CloudStack Logs
Zenoss Core Installation
• OS Platform
  – CentOS 6.x 64-bit
  – 2GB RAM
  – Fast Disks
• Deploy using core-autodeploy-4.2.sh available at
  https://github.com/zenoss/core-autodeploy/
  – cd /tmp
  – chmod +x core-autodeploy-4.2.sh
  – ./core-autodeploy-4.2.sh
CloudStack Integration
– Download CloudStack Zenpack from
  http://zenpacks.zenoss.com/.
– # zenpack --install <filename.egg>
– # zenoss restart
– Navigate to the Zenoss Infra page
  – Add URL, API Key, and Secret Key fields
CloudStack Monitoring in 4.2
• SNMP Support in future versions
  – Generate Traps
  https://cwiki.apache.org/confluence/display/CLOUD
  STACK/SNMP+Alerts+feature
• Syslog Support
  – Write to local syslog
  – Write to remote syslog
  – Log level / Log Priority
Demo
• CloudStack Devcloud + Zenoss Integration
Questions?

<shanker.balan@shapeblue.com>

More Related Content

PDF
Nagios nrpe
PPTX
How to Make a Honeypot Stickier (SSH*)
PPT
ZenPack Development with Jane Curry
PDF
Zenoss core beta_installation_guide_r5.0.0b2_d99.14.253
PPT
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
PDF
TryStack: A Sandbox for OpenStack Users and Admins
PPTX
How to Make a Honeypot Stickier (SSH*)
Nagios nrpe
How to Make a Honeypot Stickier (SSH*)
ZenPack Development with Jane Curry
Zenoss core beta_installation_guide_r5.0.0b2_d99.14.253
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
TryStack: A Sandbox for OpenStack Users and Admins
How to Make a Honeypot Stickier (SSH*)

What's hot (20)

PDF
2015.10.05 Updated > Network Device Development - Part 1: Switch
PDF
Linux Security Crash Course
PDF
Openstack trystack
PDF
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
PDF
2015.10.05 Updated > Network Device Development - Part 2: Firewall 101
PPT
HA in OpenStack service - meetup #9
PDF
Network Device Development - Part 5: Firewall 104 ~ Packet Splitter
PPTX
Automatic Backup in Ceph
PPTX
Black Hat 2015 Arsenal: Noriben Malware Analysis
PDF
Step by-step installation of a secure linux web dns- and mail server
ODP
opensuse conference 2015: security processes and technologies for Tumbleweed
PPTX
Open stack neutron and opendaylight
PPTX
Cyber Range - Blackhat Europe 19 Arsenal
PDF
Cyber Range - An Open-Source Offensive / Defensive Learning Environment on AWS
PPTX
How logging makes a private cloud a better cloud - OpenStack最新情報セミナー(2016年12月)
PPT
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
PDF
PDF
Real-time Cloud Management with SaltStack
PDF
Rdo mitaka
PDF
Linux Hardening - nullhyd
2015.10.05 Updated > Network Device Development - Part 1: Switch
Linux Security Crash Course
Openstack trystack
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
2015.10.05 Updated > Network Device Development - Part 2: Firewall 101
HA in OpenStack service - meetup #9
Network Device Development - Part 5: Firewall 104 ~ Packet Splitter
Automatic Backup in Ceph
Black Hat 2015 Arsenal: Noriben Malware Analysis
Step by-step installation of a secure linux web dns- and mail server
opensuse conference 2015: security processes and technologies for Tumbleweed
Open stack neutron and opendaylight
Cyber Range - Blackhat Europe 19 Arsenal
Cyber Range - An Open-Source Offensive / Defensive Learning Environment on AWS
How logging makes a private cloud a better cloud - OpenStack最新情報セミナー(2016年12月)
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Real-time Cloud Management with SaltStack
Rdo mitaka
Linux Hardening - nullhyd
Ad

Viewers also liked (10)

PDF
8 Source Code Cloudstack Developer Day
PPTX
CloudStack Metering – Working with the Usage Data
PPTX
Webinar widescreen zenoss service-now integration final draft
PPTX
CloudStack Metering – Working with the Usage Data
PPTX
Jason Stanley, Secure-24 - Own IT Through Proactive IT Monitoring
PPTX
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
PPTX
Zenoss & ServiceNow Integration - Incident Management & CMDB
PDF
Zenoss administration
ODP
Open Source Monitoring Tools Shootout
ODP
CloudStack, jclouds and Whirr!
8 Source Code Cloudstack Developer Day
CloudStack Metering – Working with the Usage Data
Webinar widescreen zenoss service-now integration final draft
CloudStack Metering – Working with the Usage Data
Jason Stanley, Secure-24 - Own IT Through Proactive IT Monitoring
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
Zenoss & ServiceNow Integration - Incident Management & CMDB
Zenoss administration
Open Source Monitoring Tools Shootout
CloudStack, jclouds and Whirr!
Ad

Similar to Cloud stack monitoring with zenoss (20)

PPTX
Intro to Zenoss by Andrew Kirch
PDF
Monitoring CloudStack and components
PDF
Bacd zenoss
PDF
Zenoss & Cloud
PPTX
Intro to Zenoss by Andrew Kirch
PDF
Webinar Monitoring in era of cloud computing
PPTX
Getting Started with Apache CloudStack
PDF
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
PPT
Nagios Conference 2014 - Konstantin Benz - Monitoring Openstack The Relations...
PPTX
Troubleshooting Zenoss: A Support Perspective
PPTX
The Art of Container Monitoring
PPTX
CloudStack Metering - Working with Usage Data #CCCNA14
PDF
Giles Sirett: Introduction and CloudStack news
PPTX
CloudStackFinalProject
PDF
Amazon CloudWatch - Observability and Monitoring
PPTX
Ceilosca
PDF
CloudStack In Production
ODP
Build a Cloud Day - CloudStack
ODP
Build a Cloud Day - CloudStack
PPTX
Unlock the Intelligent Data Center with VMware & Zenoss
Intro to Zenoss by Andrew Kirch
Monitoring CloudStack and components
Bacd zenoss
Zenoss & Cloud
Intro to Zenoss by Andrew Kirch
Webinar Monitoring in era of cloud computing
Getting Started with Apache CloudStack
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
Nagios Conference 2014 - Konstantin Benz - Monitoring Openstack The Relations...
Troubleshooting Zenoss: A Support Perspective
The Art of Container Monitoring
CloudStack Metering - Working with Usage Data #CCCNA14
Giles Sirett: Introduction and CloudStack news
CloudStackFinalProject
Amazon CloudWatch - Observability and Monitoring
Ceilosca
CloudStack In Production
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
Unlock the Intelligent Data Center with VMware & Zenoss

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Unlocking AI with Model Context Protocol (MCP)
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Understanding_Digital_Forensics_Presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Programs and apps: productivity, graphics, security and other tools
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Cloud stack monitoring with zenoss

  • 1. Monitoring CloudStack With Zenoss Shanker Balan Managing Consultant, ShapeBlue India shanker.balan@shapeblue.com
  • 2. Monitoring With Zenoss • Integrated Platform – Application Monitoring – Sever Monitoring – Network Management Platform • Features – Event Management – Time-series performance monitoring of devices – Auto Discovery – Alerting system provides notifications based on rule sets and on-call calendars
  • 3. Extending Zenoss With ZenPacks • Download from http://zenpacks.zenoss.com – ZenPacks.zenoss.CloudStack – ZenPacks.zenoss.XenMonitor – ZenPacks.community.VMwareEsx – ZenPacks.community.VMwareESXiMonitor
  • 4. CloudStack Specific Metrics These numbers are aggregated from all zones, pods, clusters and hosts: 1. Public IPs: Total and Used 2. Private IPs: Total and Used 3. Memory: Total (with and without over- provisioning), Allocated and Used 4. CPU: Total (with and without over- provisioning), Allocated and Used 5. Primary Storage: Total (with and without over- provisioning), Allocated and Used 6. Secondary Storage: Total and Used 7. Network: Read and Write
  • 5. CloudStack Specific Metrics • Cluster / Host Metrics 1. Memory: Total and Used 2. CPU: Total (with and without over- provisioning), Allocated, Used and Cores 3. Network: Read and Write
  • 6. CloudStack Threshold Monitoring • Thresholds – Notifications for lower thresholds (25%) – Alarm/Warning for higher thresholds (85%) • Key Metrics 1. CPU 2. Memory
  • 7. Zenoss Event Logging • CloudStack Logs
  • 8. Zenoss Core Installation • OS Platform – CentOS 6.x 64-bit – 2GB RAM – Fast Disks • Deploy using core-autodeploy-4.2.sh available at https://github.com/zenoss/core-autodeploy/ – cd /tmp – chmod +x core-autodeploy-4.2.sh – ./core-autodeploy-4.2.sh
  • 9. CloudStack Integration – Download CloudStack Zenpack from http://zenpacks.zenoss.com/. – # zenpack --install <filename.egg> – # zenoss restart – Navigate to the Zenoss Infra page – Add URL, API Key, and Secret Key fields
  • 10. CloudStack Monitoring in 4.2 • SNMP Support in future versions – Generate Traps https://cwiki.apache.org/confluence/display/CLOUD STACK/SNMP+Alerts+feature • Syslog Support – Write to local syslog – Write to remote syslog – Log level / Log Priority
  • 11. Demo • CloudStack Devcloud + Zenoss Integration

Editor's Notes

  • #2: ShapeBlue are specialist cloud builders and are the globally leading consultants &amp; integrators of many many cloud technologies. We were the first Citrix Cloud Advisor in Europe and in the last 6  months we have worked with BSkysB, Colt, SunGard AS, Citrix themselves, Centrica, Orange Telecom, Slovak Telecom Trader Media  and a whole range of smaller organisations. Of particular note is our development  of Sungard&apos;s Sungard Online cloud, a major global public cloud.
  • #3: Zenoss is an application, server, and network management platform based on the Zope application server. Zenoss provides a web interface that allows system administrators to monitor availability, inventory, configuration, performance, and events.The CloudStack ZenPack adds CloudStack/CloudPlatform specific metrics
  • #4: ZenPacks provide a plug-in architecture that allows community members to extend Zenoss&apos;s functionality. The authors are free to choose how they license their individual ZenPacks. ZenPacks are encapsulated in Python eggs and provide instrumentation and reports for monitored infrastructure components.
  • #5: The same list of metrics is available for each zone. The same metrics with the exception of public IPs and secondary storage are also available for each pod
  • #6: The following metrics are available aggregated to each cluster, and for each host
  • #7: The monitoring of the following metrics is recommended. A lower notification threshold is also suggested along with an alarm threshold, allowing for the ‘rate of consumption’ to be estimated. A high rate of consumption could indicate either a high uptake rate or an issue in the environment; it should therefore be investigated to determine its cause.Once the notification thresholds have been reached (and confirmed due to legitimate consumption) they should be raised to 50% for further ‘rate of consumption’ monitoring.
  • #8: Zenoss has event management tools which can annotate system alerts.In addition to monitoring resource levels, Zenoss also extracts events from the CloudStack event logs. These should be monitored particularly for host failures.
  • #9: Version 6.x of RHEL or CentOS is recommended.Core-autodeploy-4.2.sh will automatically deploy Zenoss Core 4 for you. It will download Java, MySQL, Zenoss Core 4, all RPM dependencies, and install everything including the Zenoss Core ZenPacks. Perform these steps on a fresh CentOS or Red Hat Enterprise Linux installation:The script will take several minutes (around 10-30) to complete. When done, you should have a fully functioning Zenoss Core install and available at http://localhost:8080/
  • #10: This ZenPack has no special installation considerations. You should install the most recent version of the ZenPack for the version of Zenoss you&apos;re running.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 and clusters. Monitoring will also start after the discovery is complete
  • #11: Use Simple Network Management Protocol (SNMP) to configure the SNMP agent on CloudStack Management Server to generate asynchronous events, which are called traps. The traps are generated whenever there are abnormal conditions as observed by the Management Server. The traps are then sent to a remote device called a trap listener, which signals the abnormal condition on CloudStack.  The trap listener is typically an external management station such as Microsoft SCOM, HP Openview etc.Logging feature enables logging status and status information collected by various modules and components in a CloudStack environment. SYSLOG is a standard protocol for logging. It has two components -  the SYSLOG auditing module, which runs on the management server (of CloudStack), and the SYSLOG server, which can also run on the management server or on a remote system. SYSLOG uses UDP for the transfer of data.When configured,  the management server starts sending all the log information to the SYSLOG server, and the SYSLOG server can filter the log entries before storing them in a log file. A SYSLOG server can receive log information from more than one client and CloudStack management server can also send log information to more than one SYSLOG server.