Page 2 of 6
Re: vCenter Monitong with vmware wizard
Posted: Tue Jul 24, 2012 10:59 am
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]
Re: vCenter Monitong with vmware wizard
Posted: Tue Jul 24, 2012 11:00 am
by benningtonr
do we point this ip address at a physical host, or the vcenter itself?
Re: Still having problems with VMWare
Posted: Tue Jul 24, 2012 12:30 pm
by yancy
benningtonr,
Can you explain which directions you followed?
-Yancy
Re: vCenter Monitong with vmware wizard
Posted: Tue Jul 24, 2012 12:43 pm
by scottwilkerson
vcenter
Re: Still having problems with VMWare
Posted: Tue Jul 24, 2012 2:16 pm
by benningtonr
Re: vCenter Monitong with vmware wizard
Posted: Tue Jul 24, 2012 2:21 pm
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.
Re: vCenter Monitong with vmware wizard
Posted: Tue Jul 24, 2012 3:52 pm
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
Re: vCenter Monitong with vmware wizard
Posted: Wed Jul 25, 2012 8:24 am
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
Re: vCenter Monitong with vmware wizard
Posted: Wed Jul 25, 2012 8:56 am
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.
Re: vCenter Monitong with vmware wizard
Posted: Wed Jul 25, 2012 9:22 am
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.