Page 1 of 1

Monitoring Guest VM - Vmotion

Posted: Fri Apr 25, 2014 2:18 pm
by povachon
Hi there,

I have install all my ESX server (VMware host) in Nagios XI. This is working fine. Now i want monitor guest vm. If i add them directly by the VMware host. It working fine. I can choose guest vm that are hosted by that VMware host (esx server)
Here my concern: What happen if there a Vmotion on one of the guest vm triggered manual or automatically?

So i try to add all my guest vm all in the same time by passing through vCenter (see all ESX server and all guest vm) to bypass my concern about vMotion.

Here the result when i try to browse the guest vm: check attachment.

Allready install SDK in nagios !

Can somebody clarify all that for my plz.
Regard
PO

Edit: Anyone had this concern?
PO

Re: Monitoring Guest VM - Vmotion

Posted: Mon Apr 28, 2014 9:26 am
by slansing
What is the output of:

Code: Select all

ll -la /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl

Code: Select all

yum list installed perl-Nagios-Plugin libuuid* perl-XML-LibXML perl-XML-SAX --exclude=perl-XML-SAX-Base
Additionally, we have never seen that error unless you actually did not completely install the SDK, I recommend you go through the document again and run each command, do not skip any of them:

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

Re: Monitoring Guest VM - Vmotion

Posted: Mon Apr 28, 2014 10:43 am
by povachon
Solve the problem ! Not sure why but ! I'll take it !

Here the output!

[root@nagios ~]# ll -la /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
-rwxrwxr-x 1 nagios nagcmd 5187 Feb 12 11:35 /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl


[root@nagios ~]# yum list installed perl-Nagios-Plugin libuuid* perl-XML-LibXML perl-XML-SAX --exclude=perl-XML-SAX-Base
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 11 kB 00:00
* base: centos.mirror.netelligent.ca
* epel: fedora-epel.mirror.iweb.com
* extras: centos.mirror.netelligent.ca
* rpmforge: apt.sw.be
* updates: centos.mirror.iweb.ca
base | 3.7 kB 00:00
cr | 2.9 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.1 MB 00:01
extras | 3.4 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.6 MB 00:00
Installed Packages
libuuid.x86_64 2.17.2-12.14.el6 @base
libuuid-devel.x86_64 2.17.2-12.14.el6 @base
perl-Nagios-Plugin.noarch 0.35-2.el6.rf @rpmforge
perl-XML-LibXML.x86_64 1:1.70-5.el6 @base
perl-XML-SAX.noarch 0.96-7.el6 @base
[root@nagios ~]#

Thx for everything.

PO2

Re: Monitoring Guest VM - Vmotion

Posted: Mon Apr 28, 2014 4:45 pm
by slansing
Okay so this got resolved? Does everything look okay now?