XI and ESXi 5.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

XI and ESXi 5.1

Post 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?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI and ESXi 5.1

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: XI and ESXi 5.1

Post 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.
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: XI and ESXi 5.1

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XI and ESXi 5.1

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: XI and ESXi 5.1

Post by andaks »

HA HA!!! YEAH!

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