SlideShare a Scribd company logo
1 of 14
Monitoring VMware ESX/vSphere with Opsview
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 2
Introduction
This presentation takes you through the steps required to
monitor VMware ESX and VM’s running on ESX using Opsview.
If you don’t already have Opsview installed, visit our website and
download Opsview Atom (free), Opsview Pro (30 day trial) or
request a trial to Opsview Enterprise.
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
3
Initial Setup
• In order to monitor VMware ESX and VM’s running on ESX, we
will need to download and install a few items of software
listed below, namely the VMware vSphere SDK for Perl and a
Nagios plugin for checking ESX.
• Firstly, we will need to get a terminal onto our Opsview server
(via ssh, for example). Once on, “su –“ into root (if not
already) and “cd /tmp”.
• Once on, we will need to download the VMware SDK
(mentioned earlier) from the VMware website; link here. This
will require you to have login access to www.vmware.com.
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
4
Initial Setup
• The file will be downloaded to the machine you are
using to connect to your Opsview system, so we will
need to either using ssh:// or WinSCP (depending on
platform) to copy to the Opsview system. The file will
resemble the following name:
VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.tar.gz
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
5
Initial Setup
• Once you have copied the file to your /tmp, as root
we will need to install a few packages depending on
your distribution:
RHEL/Centos:
yum install cpan openssl-devel perl-Class-MethodMaker perl-SOAP-
Lite perl-XML-LibXML perl-uuid
Ubuntu/Debian:
apt-get install cpanmin libdata-dump-perl libsoap-lite-perl
libclass-methodmaker-perl  libxml-libxml-simple-perl libssl-dev
libarchive-zip-perl libuuid-perl
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
6
Configuration
• We will also need to run the following, due to
idiosyncrasies within the VMware SDK:
export http_proxy=
export ftp_proxy=
Once installed, “cd /tmp” and run the following commands:
tar zxvf VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
Once you run the vmware-install.pl command, you will be asked
to read and confirm you agree with the user agreement. Once
done, the SDK will be installed
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
7
Configuration
• That is the sum of the command line portion of
setting up Opsview to monitor VMware, Next we will
add our VMware hosts via the GUI. To do this, login
to Opsview and navigate to “SETTINGS > HOSTS” and
click on the green ‘plus’ icon in the top left, to add a
new host.
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
8
Configuration
• You will need to populate the fields
accordingly, i.e. host address, description, etc
as below:
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
9
Configuration
• The main part on this “HOST” section of
adding a new host, is at the bottom – “Host
Templates”. We have 2 host templates for
VMware monitoring Opsview 4.1 onwards:
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
10
OS – VMware ESX – Guest
Use this host template for your virtual
machines running on the ESX server.
OS – VMware ESX – Host
Use this host template for your ESX server
itself, which is hosting virtual machines.
Configuration
• Select the host template appropriate for your host, i.e. “OS –
VMware ESX – Host” and click the arrow to move it into the
left box, and finally click next.
• Next, you can optionally configure your notifications, or add
extra monitors, but in order for monitoring to work we will
need to navigate to “ATTRIBUTES” and specify the values for
“ESXUSER”, “ESXPASSWORD” and “DATASTORE” (the name of
the datastore we wish to monitor):
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
11
Configuration
• Click “SUBMIT CHANGES”, and our new VMware host is
added. We must now go to “SETTINGS > APPLY CHANGES”,
and reload configuration. After 8-10 seconds your Opsview
will be reloaded and your new host is being monitored, as
below:
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
12
Configuration
• You can also add, duplicate and customise the service checks
via going to “SETTINGS > SERVICE CHECKS”, and
modify/duplicate accordingly (i.e. if you want to monitor
multiple datastores, etc).
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
13
About Opsview
Opsview delivers a single unified view of the health of all your distributed physical,
virtual and hybrid cloud systems.
We give DevOps staff all the tools they need to get their jobs done faster, easier and
for less.
• Opsview Enterprise offers large enterprises (+100 devices) and MSPs a certified,
professionally supported system with enhanced functionality such as dynamic
dashboards and reports
• SMEs looking for feature-rich dashboards to monitor the performance of their on-
premise, virtualized or cloud apps choose Opsview Pro
• Opsview Atom is our free, enterprise level monitoring tool for up to 25 devices
www.opsview.com
Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence
14

More Related Content

Recently uploaded

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Monitoring VMware ESX with Opsview

  • 1.
  • 2. Monitoring VMware ESX/vSphere with Opsview Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 2
  • 3. Introduction This presentation takes you through the steps required to monitor VMware ESX and VM’s running on ESX using Opsview. If you don’t already have Opsview installed, visit our website and download Opsview Atom (free), Opsview Pro (30 day trial) or request a trial to Opsview Enterprise. Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 3
  • 4. Initial Setup • In order to monitor VMware ESX and VM’s running on ESX, we will need to download and install a few items of software listed below, namely the VMware vSphere SDK for Perl and a Nagios plugin for checking ESX. • Firstly, we will need to get a terminal onto our Opsview server (via ssh, for example). Once on, “su –“ into root (if not already) and “cd /tmp”. • Once on, we will need to download the VMware SDK (mentioned earlier) from the VMware website; link here. This will require you to have login access to www.vmware.com. Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 4
  • 5. Initial Setup • The file will be downloaded to the machine you are using to connect to your Opsview system, so we will need to either using ssh:// or WinSCP (depending on platform) to copy to the Opsview system. The file will resemble the following name: VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.tar.gz Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 5
  • 6. Initial Setup • Once you have copied the file to your /tmp, as root we will need to install a few packages depending on your distribution: RHEL/Centos: yum install cpan openssl-devel perl-Class-MethodMaker perl-SOAP- Lite perl-XML-LibXML perl-uuid Ubuntu/Debian: apt-get install cpanmin libdata-dump-perl libsoap-lite-perl libclass-methodmaker-perl libxml-libxml-simple-perl libssl-dev libarchive-zip-perl libuuid-perl Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 6
  • 7. Configuration • We will also need to run the following, due to idiosyncrasies within the VMware SDK: export http_proxy= export ftp_proxy= Once installed, “cd /tmp” and run the following commands: tar zxvf VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.tar.gz cd vmware-vsphere-cli-distrib/ ./vmware-install.pl Once you run the vmware-install.pl command, you will be asked to read and confirm you agree with the user agreement. Once done, the SDK will be installed Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 7
  • 8. Configuration • That is the sum of the command line portion of setting up Opsview to monitor VMware, Next we will add our VMware hosts via the GUI. To do this, login to Opsview and navigate to “SETTINGS > HOSTS” and click on the green ‘plus’ icon in the top left, to add a new host. Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 8
  • 9. Configuration • You will need to populate the fields accordingly, i.e. host address, description, etc as below: Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 9
  • 10. Configuration • The main part on this “HOST” section of adding a new host, is at the bottom – “Host Templates”. We have 2 host templates for VMware monitoring Opsview 4.1 onwards: Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 10 OS – VMware ESX – Guest Use this host template for your virtual machines running on the ESX server. OS – VMware ESX – Host Use this host template for your ESX server itself, which is hosting virtual machines.
  • 11. Configuration • Select the host template appropriate for your host, i.e. “OS – VMware ESX – Host” and click the arrow to move it into the left box, and finally click next. • Next, you can optionally configure your notifications, or add extra monitors, but in order for monitoring to work we will need to navigate to “ATTRIBUTES” and specify the values for “ESXUSER”, “ESXPASSWORD” and “DATASTORE” (the name of the datastore we wish to monitor): Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 11
  • 12. Configuration • Click “SUBMIT CHANGES”, and our new VMware host is added. We must now go to “SETTINGS > APPLY CHANGES”, and reload configuration. After 8-10 seconds your Opsview will be reloaded and your new host is being monitored, as below: Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 12
  • 13. Configuration • You can also add, duplicate and customise the service checks via going to “SETTINGS > SERVICE CHECKS”, and modify/duplicate accordingly (i.e. if you want to monitor multiple datastores, etc). Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 13
  • 14. About Opsview Opsview delivers a single unified view of the health of all your distributed physical, virtual and hybrid cloud systems. We give DevOps staff all the tools they need to get their jobs done faster, easier and for less. • Opsview Enterprise offers large enterprises (+100 devices) and MSPs a certified, professionally supported system with enhanced functionality such as dynamic dashboards and reports • SMEs looking for feature-rich dashboards to monitor the performance of their on- premise, virtualized or cloud apps choose Opsview Pro • Opsview Atom is our free, enterprise level monitoring tool for up to 25 devices www.opsview.com Wednesday, 04 March 2015 © Opsview Ltd. Commercial in Confidence 14