vCenter Monitong with vmware wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: vCenter Monitong with vmware wizard

Post by benningtonr »

I did not get this prompt, why would that be?

In which directory do you want to install the executable files?
[/usr/bin]
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: vCenter Monitong with vmware wizard

Post by benningtonr »

do we point this ip address at a physical host, or the vcenter itself?
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Still having problems with VMWare

Post by yancy »

benningtonr,

Can you explain which directions you followed?

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

Re: vCenter Monitong with vmware wizard

Post by scottwilkerson »

vcenter
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: vCenter Monitong with vmware wizard

Post by benningtonr »

that is what i am pointed to and all my returns a NULL.
I am using the FQDN and it is resolvable.
I installed the sdk and perl items that were in the directions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: vCenter Monitong with vmware wizard

Post by scottwilkerson »

First can you verify that a file exists here

Code: Select all

ls -l /usr/local/nagiosxi/etc/components/vmware/
Can you open the file and verify that the correct username nad password is in the file and on 2 separate lines.

If so, Can you use that file and run the following command

Code: Select all

cd /usr/local/nagios/libexec
./check_esx3.pl -D <hostname> -f /usr/local/nagiosxi/etc/components/vmware/<host>_auth.txt -l runtime
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: vCenter Monitong with vmware wizard

Post by benningtonr »

Stupid question here, is the username for vmware access or nagios access?
What exactly is the username being used for so I can give it the correct one.
Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: vCenter Monitong with vmware wizard

Post by lmiltchev »

You need to enter the username and the password for accessing the vmware vCenter. You should have these in the "/usr/local/nagiosxi/etc/components/vmware/<host>_auth.txt" file. If you have something else, the check will fail.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: vCenter Monitong with vmware wizard

Post by benningtonr »

Ok, i have the correct username in there, i think, domain\username, we use AD authentication.

getting this error:


[root@nagios libexec]# ./check_esx3.pl -D 192.168.99.134 -f /usr/local/nagiosxi/etc/components/vmware/whroesx4_whro_local_auth.txt -l runtime
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at ./check_esx3.pl line 32.
BEGIN failed--compilation aborted at ./check_esx3.pl line 32.
Locked