Vmware Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bojha
Posts: 55
Joined: Thu Jul 26, 2012 1:18 am

Vmware Monitoring

Post by bojha »

Hi All,

We are trying to monitor Vmware and following the below nagios Xi documentation guide .

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

the documentation shows all the configuration needs to be done in Nagios Xi servers only, but do we need to make any installation or configuration or set up in the remote Vmware server as well ? if yes please let me know .


Can we monitor the Vmware from nagios core ? because the requested Vmware is present in the same Data Center where nagios core is present and our Nagios XI environment is in a different Data Center. Please let me know if there is any documentation for monitoring the Vmware from nagios core.

With Regards,

Bijay Ojha
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Vmware Monitoring

Post by abrist »

bojha wrote: do we need to make any installation or configuration or set up in the remote Vmware server as well ? if yes please let me know .
No changes need to be done on the esx server, as the wizard/plugin checks with the vmware sdk api.
bojha wrote:Can we monitor the Vmware from nagios core ?
Yes, but it can a little more difficult (but not much) to setup:
http://exchange.nagios.org/index.php?op ... =check_esx
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bojha
Posts: 55
Joined: Thu Jul 26, 2012 1:18 am

Re: Vmware Monitoring

Post by bojha »

Hi abrist,

Thanks for the replay.

I have uploaded the Wizards successfully and as per the documentation when trying to install the prerequisites first two are fine but the last one i.e
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML shows some error and it is not finding this . does this changed. or do i need to install some thing different for this ?

also tried the precompiled module for the VMware-vSphere-Perl-SDK-5.5.0-1384587.i386.tar but it ask for the below patches need to be installed .
Compress::Zlib 2.037 or newer
SOAP::Lite 0.710.08 or newer
WSMan::StubOps 0.1 or newer

Please suggest how can i accomplish it .

With Regards,

Bijay Ojha
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Vmware Monitoring

Post by sreinhardt »

It will almost always complain about the "or newer" packages from vmware. You are likely just fine, provided you have a version installed. Can you provide the error from the yum command?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
bojha
Posts: 55
Joined: Thu Jul 26, 2012 1:18 am

Re: Vmware Monitoring

Post by bojha »

Hi sreinhardt.

Thank's for the replay.

Please find the below out put when ran the "yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML"

[root@nagiosxi ~]# yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML
Loaded plugins: rhnplugin, security
Setting up Install Process
Package perl-Nagios-Plugin-0.35-2.el5.rf.noarch already installed and latest version
No package libuuid* available.
Package perl-XML-LibXML-1.58-6.i386 already installed and latest version
Nothing to do


One more thing i need to know. Do we need to open any port on the remote Vmware ? how does Nagios XI will interact with the remote VMware host ? do we need to get any information regarding the Vmware to make the Nagios XI command ?

Please suggest me .

With Regards,

Bijay
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Vmware Monitoring

Post by abrist »

What version of redhat are you running?
Lets check for similar packages:

Code: Select all

yum search libuuid
bojha wrote:Do we need to open any port on the remote Vmware ? how does Nagios XI will interact with the remote VMware host ?
The plugin will use the vmware api to monitor the specified metrics. This does require entering vmware credentials for the vmware host in the wizard.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bojha
Posts: 55
Joined: Thu Jul 26, 2012 1:18 am

Re: Vmware Monitoring

Post by bojha »

Hi abrist,

Thank you very much..

Below are the results.
What version of redhat are you running?
[root@nagiosxi ~]# uname -a
Linux nagiosxi 2.6.18-308.1.1.el5 #1 SMP Fri Feb 17 16:47:13 EST 2012 i686 i686 i386 GNU/Linux

Vmware SDK version i am trying to install is -- VMware-vSphere-Perl-SDK-5.5.0-1384587.i386.tar.gz
yum search libuuid
[root@nagiosxi ~]# yum search libuuid
Loaded plugins: rhnplugin, security
Warning: No matches found for: libuuid
No Matches found
[root@nagiosxi ~]#



Please suggest me what else i need to check....


With Regards,

Bijay Ojha
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Vmware Monitoring

Post by scottwilkerson »

Can you run the following and return the results

Code: Select all

yum provides "libuuid.so.1"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bojha
Posts: 55
Joined: Thu Jul 26, 2012 1:18 am

Re: Vmware Monitoring

Post by bojha »

Hi Scottwilkerson,

Thanks for the replay..

Please find the below output of the command " yum provides "libuuid.so.1""

[root@nagiosxi ~]# yum provides "libuuid.so.1"
Loaded plugins: rhnplugin, security
e2fsprogs-libs-1.39-8.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-10.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-10.el5_1.1.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1


e2fsprogs-libs-1.39-15.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-20.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1



e2fsprogs-libs-1.39-23.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-23.el5_5.1.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1


e2fsprogs-libs-1.39-33.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-34.el5_8.1.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1


e2fsprogs-libs-1.39-35.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-36.el5_9.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : rhel-i386-server-5
Matched from:
Other : libuuid.so.1

e2fsprogs-libs-1.39-33.el5.i386 : Ext2/3 filesystem-specific static libraries and headers
Repo : installed
Matched from:
Other : Provides-match: libuuid.so.1

[root@nagiosxi ~]#


With Regards,

Bijay
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Vmware Monitoring

Post by abrist »

Code: Select all

yum install e2fsprogs-libs -y
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked