vCenter Monitong with vmware wizard
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
I did not get this prompt, why would that be?
In which directory do you want to install the executable files?
[/usr/bin]
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
do we point this ip address at a physical host, or the vcenter itself?
Re: Still having problems with VMWare
benningtonr,
Can you explain which directions you followed?
-Yancy
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:
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
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.
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
First can you verify that a file exists here
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
ls -l /usr/local/nagiosxi/etc/components/vmware/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-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
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
What exactly is the username being used for so I can give it the correct one.
Thanks
Re: vCenter Monitong with vmware wizard
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
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.
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.