Page 1 of 1

XI and ESXi 5.1

Posted: Sat Jan 19, 2013 4:39 am
by andaks
Hello guys!
Hope you are fine.
Wonder to know, what about nagiosxi and vmware ESXi 5.1 monitoring?
Is it the same story?
I cant monitor my ESXi hosts 5.1 with nagiosxi.
Already used different plugins. The result is the same.
Could you please provide any solution?

Re: XI and ESXi 5.1

Posted: Mon Jan 21, 2013 10:40 am
by scottwilkerson
Did you follow the steps in this document?
http://library.nagios.com/library/produ ... -nagios-xi

Can you run the following from the command line and see if you get errors
/usr/local/nagios/libexec/check_esx3.pl -V|head

Re: XI and ESXi 5.1

Posted: Tue Jan 22, 2013 10:29 pm
by andaks
the previous screenshot is exactly the result from plugin described in the pdf.
Well, i will remove it, and try to do all the things from the very begining.

Re: XI and ESXi 5.1

Posted: Wed Jan 23, 2013 7:21 am
by andaks
Wow. The result is different, but no luck.

/usr/local/nagios/libexec/check_esx3.pl -V
check_esx3.pl 0.2.0

ESX3 looks strange :) Maybe it is just name. I have ESXi 5.1

Re: XI and ESXi 5.1

Posted: Wed Jan 23, 2013 10:35 am
by lmiltchev
You may try adding the following line:

Code: Select all

$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
to the "getguests.pl" and "check_esx3.pl" files, right after the "use File::Basename;" line, so it is going to look something like this:

Code: Select all

...
use File::Basename;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
...
Hope this helps.

Re: XI and ESXi 5.1

Posted: Thu Jan 24, 2013 6:44 am
by andaks
HA HA!!! YEAH!

Everything is OK now, thank you guys, you are the best :)