Page 1 of 2
Vmware Monitoring
Posted: Mon Feb 03, 2014 8:55 am
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
Re: Vmware Monitoring
Posted: Mon Feb 03, 2014 1:30 pm
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
Re: Vmware Monitoring
Posted: Wed Feb 05, 2014 8:01 am
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
Re: Vmware Monitoring
Posted: Wed Feb 05, 2014 10:47 am
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?
Re: Vmware Monitoring
Posted: Thu Feb 06, 2014 4:36 am
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
Re: Vmware Monitoring
Posted: Thu Feb 06, 2014 12:24 pm
by abrist
What version of redhat are you running?
Lets check for similar packages:
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.
Re: Vmware Monitoring
Posted: Thu Feb 13, 2014 6:04 am
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
Re: Vmware Monitoring
Posted: Thu Feb 13, 2014 10:44 am
by scottwilkerson
Can you run the following and return the results
Re: Vmware Monitoring
Posted: Fri Feb 14, 2014 1:04 am
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
Re: Vmware Monitoring
Posted: Fri Feb 14, 2014 12:04 pm
by abrist