vCenter Monitong with vmware wizard
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
I downloaded the latest version they had, i think.
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
here is what I have now.
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: vCenter Monitong with vmware wizard
Now that you ran the installer again, see if you can run the following
Code: Select all
cd /usr/local/nagios/libexec
./check_esx3.pl -D 192.168.99.134 -f /usr/local/nagiosxi/etc/components/vmware/whroesx4_whro_local_auth.txt -l runtime-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
ok, i get the following
[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
ESX3 UNKNOWN - Missing perl module VMware::VIRuntime. Download and install 'VMware Infrastructure (VI) Perl Toolkit', available at http://www.vmware.com/download/sdk/
Download the latest version of Perl Toolkit from VMware support page.
In this example we use VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz,
but the instructions should apply to newer versions as well.
Upload the file to your op5 Monitor server's /root dir and execute:
cd /root
tar xvzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
Follow the on screen instructions, described below:
"Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI.
Installing version 161974 of vSphere CLI
You must read and accept the vSphere CLI End User License Agreement to
continue.
Press enter to display it."
<ENTER>
"Read through the License Agreement"
"Do you accept? (yes/no)
yes
"The following Perl modules were found on the system but may be too old to work
with VIPerl:
Crypt::SSLeay
Compress::Zlib"
"In which directory do you want to install the executable files? [/usr/bin]"
<ENTER>
"Please wait while copying vSphere CLI files...
The installation of vSphere CLI 4.0.0 build-161974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
Enjoy,
--the VMware team"
Note: "Crypt::SSLeay" and "Compress::Zlib" are not needed for check_esx3 to work.
[root@nagios libexec]#
[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
ESX3 UNKNOWN - Missing perl module VMware::VIRuntime. Download and install 'VMware Infrastructure (VI) Perl Toolkit', available at http://www.vmware.com/download/sdk/
Download the latest version of Perl Toolkit from VMware support page.
In this example we use VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz,
but the instructions should apply to newer versions as well.
Upload the file to your op5 Monitor server's /root dir and execute:
cd /root
tar xvzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
Follow the on screen instructions, described below:
"Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI.
Installing version 161974 of vSphere CLI
You must read and accept the vSphere CLI End User License Agreement to
continue.
Press enter to display it."
<ENTER>
"Read through the License Agreement"
"Do you accept? (yes/no)
yes
"The following Perl modules were found on the system but may be too old to work
with VIPerl:
Crypt::SSLeay
Compress::Zlib"
"In which directory do you want to install the executable files? [/usr/bin]"
<ENTER>
"Please wait while copying vSphere CLI files...
The installation of vSphere CLI 4.0.0 build-161974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
Enjoy,
--the VMware team"
Note: "Crypt::SSLeay" and "Compress::Zlib" are not needed for check_esx3 to work.
[root@nagios libexec]#
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: vCenter Monitong with vmware wizard
Did you do any of the output?
Basically this is telling you that the SDK isn't installed.
Please install again as when you did it the first time you didn't have the prerequisites installed
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Basically this is telling you that the SDK isn't installed.
Please install again as when you did it the first time you didn't have the prerequisites installed
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
ok, i ran the sdk over again following the instructions, and i am getting this again
(Return code of 127 is out of bounds - plugin may be missing)
(Return code of 127 is out of bounds - plugin may be missing)
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
getting this when i run at the cli
[root@nagios vmware-viperl-distrib]# cd /usr/local/nagios/libexec
[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
/usr/bin/perl: symbol lookup error: /usr/local/lib/perl5/auto/Class/MethodMaker/MethodMaker.so: undefined symbol: Perl_Tstack_sp_ptr
[root@nagios libexec]#
[root@nagios vmware-viperl-distrib]# cd /usr/local/nagios/libexec
[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
/usr/bin/perl: symbol lookup error: /usr/local/lib/perl5/auto/Class/MethodMaker/MethodMaker.so: undefined symbol: Perl_Tstack_sp_ptr
[root@nagios libexec]#
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
when I check for perl install I get this:
[root@nagios vmware-viperl-distrib]# yum list installed | grep perl-Nagios-Plugin
perl-Nagios-Plugin.noarch 0.35-2.el6.rf @rpmforge
[root@nagios vmware-viperl-distrib]# yum list installed | grep perl-Nagios-Plugin
perl-Nagios-Plugin.noarch 0.35-2.el6.rf @rpmforge
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: vCenter Monitong with vmware wizard
Please run the following and report the output
Code: Select all
yum provides MethodMaker.so-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: vCenter Monitong with vmware wizard
I haven't ran this yet, I am waiting for our VM installer to get back to me. I removed everything and started from scratch, as far as the vm plugin. I know have it saying i do not have permission, which is a step better, as soon as I get info from them I will enter it in the txt file and try again.