Problems with Hosts
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problems with Hosts
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
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
-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: Problems with Hosts
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problems with Hosts
Have you attempted to install MethodMaker with CPAN?
Code: Select all
cpan
install Class::MethodMaker-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: Problems with Hosts
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems with Hosts
run the following
Code: Select all
yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: Problems with Hosts
IT RUNS !!!!!
)))))))))
I will check all services
I will check all services
-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: Problems with Hosts
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)
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
Can show us the actual command ran in the command line and the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: Problems with Hosts
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
-bash: !check_vmware_config_vcenter01!disk!30!15!--include=esxvmfs-vnx1-auto: event not found
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems with Hosts
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