Page 3 of 7

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:12 pm
by slansing
What do you get when you place the full directory path for the " -f "

Example:

./check_esx3.pl -H 172.16.0.180 -f /full/directory/path/vmesx3_auth.txt

In answer to your earlier question, as pointed out in the document lmiltchev posted the required modules are as follows:

perl-Nagios-Plugin libuuid* perl-XML-LibXML

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:23 pm
by shakra2005
the modules are installed

symbol lookup error: /usr/lib64/perl5/auto/Class/MethodMaker/MethodMaker.so: undefined symbol: Perl_Tstack_sp_ptr


Installed is NagiosXI from the virtual Vmware Appliance

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:31 pm
by slansing
Have you attempted to install MethodMaker with CPAN?

Code: Select all

cpan

install Class::MethodMaker

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:34 pm
by shakra2005
install Class::MethodMakercpan[1]>
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 22 Aug 2012 07:51:03 GMT
Running install for module 'Class::MethodMaker'
CPAN: YAML loaded ok (v0.70)
Running make for S/SC/SCHWIGON/Class-MethodMaker-2.18.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.005)
Catching error: "Can't call method \"value\" on an undefined value at /usr/lib64 /perl5/IO/Uncompress/RawInflate.pm line 64.\cJ" at /usr/share/perl5/CPAN.pm line 391
CPAN::shell() called at /usr/bin/cpan line 198

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:47 pm
by scottwilkerson
run the following

Code: Select all

yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker

Re: Problems with Hosts

Posted: Wed Aug 22, 2012 4:51 pm
by shakra2005
IT RUNS !!!!! :-))))))))))

I will check all services

Re: Problems with Hosts

Posted: Thu Aug 23, 2012 6:45 am
by shakra2005
All Services Run :-)

i have a simple problem with the vcenter Wizard

i have configured a vcenter 5 Server with the vcenter wizard and see the errors

(No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx1-auto Usage
Warning 5m 6s 5/5 2012-08-23 06:42:08 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx2-low Usage
Warning 4m 39s 5/5 2012-08-23 06:42:35 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx3-auto Usage
Warning 4m 11s 5/5 2012-08-23 06:43:03 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx4-auto Usage
Warning 3m 44s 4/5 2012-08-23 06:42:30 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx5-low Usage
Warning 3m 17s 4/5 2012-08-23 06:42:57 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx6-low Usage
Warning 2m 49s 3/5 2012-08-23 06:42:25 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx7-auto Usage
Warning 2m 22s 3/5 2012-08-23 06:42:52 (No output returned from plugin)

VMware Storage Array Datastore esxvmfs-vnx8-auto Usage
Warning 1m 54s 2/5 2012-08-23 06:42:20 (No output returned from plugin)

VMware vCenter Cluster ESXCL Status
Warning 1m 27s 2/5 2012-08-23 06:42:47 (No output returned from plugin)

VMware vCenter Datacenter HDH Status
Warning 1m 0s 1/5 2012-08-23 06:42:14 (No output returned from plugin)

Re: Problems with Hosts

Posted: Thu Aug 23, 2012 9:26 am
by lmiltchev
Can show us the actual command ran in the command line and the output of it?

Re: Problems with Hosts

Posted: Thu Aug 23, 2012 2:54 pm
by shakra2005
local/nagios/libexec/check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!30!15!--include=esxvmfs-vnx1-auto

-bash: !check_vmware_config_vcenter01!disk!30!15!--include=esxvmfs-vnx1-auto: event not found

Re: Problems with Hosts

Posted: Fri Aug 24, 2012 8:45 am
by scottwilkerson
Please try executing this

Code: Select all

/usr/local/nagios/libexec/check_vmware.pl --config=/usr/local/nagios/libexec/check_vmware_config_vcenter01 --mode=nagios --report=disk --warn=30 --crit=15 --include=esxvmfs-vnx1-auto