Configuring Nagios Cross Platform Agent (NCPA)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by tgriep »

Could you run these commands and post back the results?

Code: Select all

yum repolist
cat /etc/*release
Be sure to check out our Knowledgebase for helpful articles and solutions!
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by clombardo »

Here is the info:

Code: Select all

[root@develop ~]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                |  13 kB     00:00     
 * base: mirror.metrocast.net
 * epel: mirrors.einstein.yu.edu
 * extras: mirror.umd.edu
 * updates: centos.mirror.constant.com
base                                                                                                         | 3.7 kB     00:00     
epel                                                                                                         | 4.4 kB     00:00     
epel/primary_db                                                                                              | 6.4 MB     00:01     
extras                                                                                                       | 3.4 kB     00:00     
updates                                                                                                      | 3.4 kB     00:00     
updates/primary_db                                                                                           | 2.1 MB     00:00     
repo id                                    repo name                                                                          status
base                                       CentOS-6 - Base                                                                     6,518
epel                                       Extra Packages for Enterprise Linux 6 - x86_64                                     11,194
extras                                     CentOS-6 - Extras                                                                      37
updates                                    CentOS-6 - Updates                                                                    749
repolist: 18,498
[root@develop ~]# 
[root@develop ~]# cat /etc/*release*
CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
cat: /etc/lsb-release.d: Is a directory
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
cpe:/o:centos:linux:6:GA
[root@develop ~]# 
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by tgriep »

Is there a chance you can install the rpmforge REPO's soy you can install the needed Perl Modules?

Here is a link to the instructions on how to do that.
http://wiki.centos.org/AdditionalResour ... s/RPMForge
Be sure to check out our Knowledgebase for helpful articles and solutions!
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by clombardo »

Okay I followed these instructions and here is the result:

Code: Select all

[root@develop ~]# rpm -K rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 
rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
[root@develop ~]# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
[root@develop ~]# 
[root@develop ~]# rpm -i rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 
[root@develop ~]# 
[root@develop ~]# yum install htop
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                |  14 kB     00:00     
 * base: mirrors.tripadvisor.com
 * epel: mirrors.einstein.yu.edu
 * extras: mirrors.tripadvisor.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.dattobackup.com
base                                                                                                         | 3.7 kB     00:00     
extras                                                                                                       | 3.4 kB     00:00     
rpmforge                                                                                                     | 1.9 kB     00:00     
rpmforge/primary_db                                                                                          | 2.7 MB     00:00     
updates                                                                                                      | 3.4 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package htop.x86_64 0:1.0.3-1.el6.rf will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                    Arch                         Version                               Repository                      Size
====================================================================================================================================
Installing:
 htop                       x86_64                       1.0.3-1.el6.rf                        rpmforge                        87 k

Transaction Summary
====================================================================================================================================
Install       1 Package(s)

Total download size: 87 k
Installed size: 209 k
Is this ok [y/N]: y
Downloading Packages:
htop-1.0.3-1.el6.rf.x86_64.rpm                                                                               |  87 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : htop-1.0.3-1.el6.rf.x86_64                                                                                       1/1 
  Verifying  : htop-1.0.3-1.el6.rf.x86_64                                                                                       1/1 

Installed:
  htop.x86_64 0:1.0.3-1.el6.rf                                                                                                      

Complete!
[root@develop ~]# 
So what do I need to do next?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by tgriep »

Try and install the following updated perl modules. Run the following from a command prompt.

Code: Select all

cpan install Storable
cpan install DateTime
cpan install Scalar::Util
After that run these and post the output.

Code: Select all

cd /usr/lib64/nagios/plugins
./check_wmi_plus.pl --help
./check_wmi_plus.pl --version
Be sure to check out our Knowledgebase for helpful articles and solutions!
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by clombardo »

I ran these cpan install commands:

Code: Select all

[root@develop ~]# cpan install Storable
It looks like you specified 'install' as an argument to cpan(1). This
script is not the CPAN.pm prompt and doesn't understand the same commands.
In fact, doesn't require the extra typing. You probably just want to
list the modules you want to install:

        cpan Storable

See the documentation for more details on using this script.
[root@develop ~]# 
[root@develop ~]# cpan Storable
.
.
.
Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
Writing Makefile for Storable
Could not read '/root/.cpan/build/Storable-2.51-ymB64O/META.yml'. Falling back to other methods to determine prerequisites
cp Storable.pm blib/lib/Storable.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.51\" -DXS_VERSION=\"2.51\" -fPIC "-I/usr/lib64/perl5/CORE"   Storable.c
/bin/sh: gcc: command not found
make: *** [Storable.o] Error 127
  AMS/Storable-2.51.tar.gz
  /usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
[root@develop ~]# 

[root@develop ~]# cpan DateTime
.
.
.
Test Summary Report
-------------------
t/00load.t                     (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/01sanity.t                   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/02last-day.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/03components.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/04epoch.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/05set.t                      (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/06add.t                      (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/07compare.t                  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/09greg.t                     (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/10subtract.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/11duration.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/12week.t                     (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/13strftime.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/14locale.t                   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/15jd.t                       (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/16truncate.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/17set-return.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/18today.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/19leap-second.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/20infinite.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/21bad-params.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/22from-doy.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/23storable.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/24from-object.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/25add-subtract.t             (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/26dt-leapsecond-pm.t         (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/27delta.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/28dow.t                      (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/29overload.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/30future-tz.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/31formatter.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/32leap-second2.t             (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/33seconds-offset.t           (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/34set-tz.t                   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/35rd-values.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/36invalid-local.t            (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/37local-add.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/38local-subtract.t           (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/39no-so.t                    (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/40leap-years.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/41cldr-format.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/42duration-class.t           (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/43new-params.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/44set-formatter.t            (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/45core-time.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/46warnings.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=101, Tests=4,  7 wallclock secs ( 0.28 usr  0.25 sys +  5.65 cusr  0.76 csys =  6.94 CPU)
Result: FAIL
Failed 46/101 test programs. 3/4 subtests failed.
  DROLSKY/DateTime-1.18.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DROLSKY/DateTime-1.18.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running Build install
  make test had returned bad status, won't install without force
[root@develop ~]# 

[root@develop ~]# cpan Scalar::Util
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 18 Feb 2015 17:17:02 GMT
Running install for module 'Scalar::Util'
CPAN: Data::Dumper loaded ok (v2.125)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for P/PE/PEVANS/Scalar-List-Utils-1.41.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /root/.cpan/sources/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.41.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
Scalar-List-Utils-1.41/
Scalar-List-Utils-1.41/MYMETA.yml
Scalar-List-Utils-1.41/lib/
Scalar-List-Utils-1.41/lib/Scalar/
Scalar-List-Utils-1.41/lib/Scalar/Util.pm
Scalar-List-Utils-1.41/lib/Sub/
Scalar-List-Utils-1.41/lib/Sub/Util.pm
Scalar-List-Utils-1.41/lib/List/
Scalar-List-Utils-1.41/lib/List/Util.pm
Scalar-List-Utils-1.41/lib/List/Util/
Scalar-List-Utils-1.41/lib/List/Util/XS.pm
Scalar-List-Utils-1.41/MANIFEST
Scalar-List-Utils-1.41/MYMETA.json
Scalar-List-Utils-1.41/META.json
Scalar-List-Utils-1.41/ListUtil.xs
Scalar-List-Utils-1.41/t/
Scalar-List-Utils-1.41/t/minstr.t
Scalar-List-Utils-1.41/t/refaddr.t
Scalar-List-Utils-1.41/t/shuffle.t
Scalar-List-Utils-1.41/t/prototype.t
Scalar-List-Utils-1.41/t/min.t
Scalar-List-Utils-1.41/t/reftype.t
Scalar-List-Utils-1.41/t/sum0.t
Scalar-List-Utils-1.41/t/readonly.t
Scalar-List-Utils-1.41/t/maxstr.t
Scalar-List-Utils-1.41/t/weak.t
Scalar-List-Utils-1.41/t/dualvar.t
Scalar-List-Utils-1.41/t/reduce.t
Scalar-List-Utils-1.41/t/blessed.t
Scalar-List-Utils-1.41/t/openhan.t
Scalar-List-Utils-1.41/t/subname.t
Scalar-List-Utils-1.41/t/any-all.t
Scalar-List-Utils-1.41/t/product.t
Scalar-List-Utils-1.41/t/isvstring.t
Scalar-List-Utils-1.41/t/00version.t
Scalar-List-Utils-1.41/t/sum.t
Scalar-List-Utils-1.41/t/scalarutil-proto.t
Scalar-List-Utils-1.41/t/getmagic-once.t
Scalar-List-Utils-1.41/t/tainted.t
Scalar-List-Utils-1.41/t/pair.t
Scalar-List-Utils-1.41/t/max.t
Scalar-List-Utils-1.41/t/first.t
Scalar-List-Utils-1.41/t/stack-corruption.t
Scalar-List-Utils-1.41/t/lln.t
Scalar-List-Utils-1.41/multicall.h
Scalar-List-Utils-1.41/Changes
Scalar-List-Utils-1.41/Makefile.PL
Scalar-List-Utils-1.41/README
Scalar-List-Utils-1.41/META.yml
Scalar-List-Utils-1.41/ppport.h
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build P/PE/PEVANS/Scalar-List-Utils-1.41.tar.gz

Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for List::Util
Writing MYMETA.yml and MYMETA.json
Could not read '/root/.cpan/build/Scalar-List-Utils-1.41-6eKHZe/MYMETA.yml'. Falling back to other methods to determine prerequisites
cp lib/List/Util/XS.pm blib/lib/List/Util/XS.pm
cp lib/Sub/Util.pm blib/lib/Sub/Util.pm
cp lib/List/Util.pm blib/lib/List/Util.pm
cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm
Running Mkbootstrap for List::Util ()
chmod 644 "Util.bs"
"/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap"  ListUtil.xs > ListUtil.xsc && mv ListUtil.xsc ListUtil.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -fPIC "-I/usr/lib64/perl5/CORE"  -DPERL_EXT ListUtil.c
/bin/sh: gcc: command not found
make: *** [ListUtil.o] Error 127
  PEVANS/Scalar-List-Utils-1.41.tar.gz
  /usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
[root@develop ~]# 
For each of these Perl modules I installed I received this message (also shown above):

Code: Select all

Make had returned bad status, install seems impossible
Here is the result of the check commands:

Code: Select all

[root@develop ~]# cd /usr/lib64/nagios/plugins/
[root@develop plugins]# 
[root@develop plugins]# 
[root@develop plugins]# ./check_wmi_plus.pl --help
Warning - one or more of your Perl Modules are out of date and this may cause plugin problems. If you are having any problems with Check WMI Plus you must upgrade your Perl Modules before contacting support (since they'll just tell you to upgrade!). You can override this warning at your peril by using the --IgnoreMyOutDatedPerlModuleVersions command line option or the "$ignore_my_outdated_perl_module_versions" setting in the conf file (/opt/nagios/bin/plugins/check_wmi_plus.conf). Version Information on the next line.
MODULE_NAME           INSTALLED_VERSION  STATUS DESIRED_VERSION
Config::IniFiles                   2.68      ok       2.58
Perl Version                   5.010001      ok       5.01
Getopt::Long                       2.38      ok       2.38
DateTime                           0.53     BAD       0.66
Number::Format                     1.73      ok       1.73
Data::Dumper                      2.125      ok      2.125
Scalar::Util                       1.21     BAD       1.22
Storable                           2.20     BAD       2.22
[root@develop plugins]# 
[root@develop plugins]# 
[root@develop plugins]# ./check_wmi_plus.pl --version
Warning - one or more of your Perl Modules are out of date and this may cause plugin problems. If you are having any problems with Check WMI Plus you must upgrade your Perl Modules before contacting support (since they'll just tell you to upgrade!). You can override this warning at your peril by using the --IgnoreMyOutDatedPerlModuleVersions command line option or the "$ignore_my_outdated_perl_module_versions" setting in the conf file (/opt/nagios/bin/plugins/check_wmi_plus.conf). Version Information on the next line.
MODULE_NAME           INSTALLED_VERSION  STATUS DESIRED_VERSION
Config::IniFiles                   2.68      ok       2.58
Perl Version                   5.010001      ok       5.01
Getopt::Long                       2.38      ok       2.38
DateTime                           0.53     BAD       0.66
Number::Format                     1.73      ok       1.73
Data::Dumper                      2.125      ok      2.125
Scalar::Util                       1.21     BAD       1.22
Storable                           2.20     BAD       2.22
[root@develop plugins]#
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by tgriep »

It looks like you need the C Development Tools and Libraries installed. Run the following.

Code: Select all

yum groupinstall "Development Tools" "Development Libraries"
Be sure to check out our Knowledgebase for helpful articles and solutions!
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by clombardo »

Okay I ran everything:

Code: Select all

[root@develop ~]# yum groupinstall "Development Tools" "Development Libraries"
Loaded plugins: fastestmirror, security
Setting up Group Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                |  13 kB     00:00     
 * base: mirrors.umflint.edu
 * epel: mirrors.mit.edu
 * extras: mirrors.mit.edu
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.sanctuaryhost.com
base                                                                                                         | 3.7 kB     00:00     
epel                                                                                                         | 4.4 kB     00:00     
epel/primary_db                                                                                              | 6.4 MB     00:01     
extras                                                                                                       | 3.4 kB     00:00     
rpmforge                                                                                                     | 1.9 kB     00:00     
updates                                                                                                      | 3.4 kB     00:00     
base/group_gz                                                                                                | 216 kB     00:00     
epel/group_gz                                                                                                | 237 kB     00:00     
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-18.el6.x86_64 already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package binutils-2.20.51.0.2-5.42.el6.x86_64 already installed and latest version
Package elfutils-0.158-3.2.el6.x86_64 already installed and latest version
Package cvs-1.11.23-16.el6.x86_64 already installed and latest version
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
Warning: Group Development Libraries does not exist.
Resolving Dependencies
--> Running transaction check
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-9.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-11.el6 for package: gcc-c++-4.4.7-11.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-11.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.7-11.el6 will be installed
---> Package indent.x86_64 0:2.2.10-7.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-42.el6.centos will be installed
---> Package rpm-build.x86_64 0:4.8.0-38.el6_6 will be installed
---> Package subversion.x86_64 0:1.6.11-12.el6_6 will be installed
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-12.el6_6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:2.5-5.el6 will be installed
--> Processing Dependency: systemtap-devel = 2.5-5.el6 for package: systemtap-2.5-5.el6.x86_64
--> Processing Dependency: systemtap-client = 2.5-5.el6 for package: systemtap-2.5-5.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-18.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-18.el6 for package: gettext-devel-0.17-18.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-18.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-18.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.7-11.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-3.el6_4 will be installed
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.el6_4.x86_64
---> Package systemtap-client.x86_64 0:2.5-5.el6 will be installed
---> Package systemtap-devel.x86_64 0:2.5-5.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-2.5-5.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-18.el6 will be installed
---> Package kernel-devel.x86_64 0:2.6.32-504.8.1.el6 will be installed
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                             Arch                     Version                               Repository                 Size
====================================================================================================================================
Installing:
 bison                               x86_64                   2.4.1-5.el6                           base                      637 k
 byacc                               x86_64                   1.9.20070509-7.el6                    base                       48 k
 cscope                              x86_64                   15.6-6.el6                            base                      136 k
 ctags                               x86_64                   5.8-2.el6                             base                      147 k
 diffstat                            x86_64                   1.51-2.el6                            base                       29 k
 doxygen                             x86_64                   1:1.6.1-6.el6                         base                      2.4 M
 flex                                x86_64                   2.5.35-9.el6                          base                      285 k
 gcc                                 x86_64                   4.4.7-11.el6                          base                       10 M
 gcc-c++                             x86_64                   4.4.7-11.el6                          base                      4.7 M
 gcc-gfortran                        x86_64                   4.4.7-11.el6                          base                      4.7 M
 indent                              x86_64                   2.2.10-7.el6                          base                      115 k
 intltool                            noarch                   0.41.0-1.1.el6                        base                       58 k
 libtool                             x86_64                   2.2.6-15.5.el6                        base                      564 k
 patchutils                          x86_64                   0.3.1-3.1.el6                         base                       95 k
 rcs                                 x86_64                   5.7-37.el6                            base                      173 k
 redhat-rpm-config                   noarch                   9.0.3-42.el6.centos                   base                       59 k
 rpm-build                           x86_64                   4.8.0-38.el6_6                        updates                   127 k
 subversion                          x86_64                   1.6.11-12.el6_6                       updates                   2.3 M
 swig                                x86_64                   1.3.40-6.el6                          base                      1.1 M
 systemtap                           x86_64                   2.5-5.el6                             base                       26 k
Installing for dependencies:
 cloog-ppl                           x86_64                   0.15.7-1.2.el6                        base                       93 k
 cpp                                 x86_64                   4.4.7-11.el6                          base                      3.7 M
 gettext-devel                       x86_64                   0.17-18.el6                           base                      155 k
 gettext-libs                        x86_64                   0.17-18.el6                           base                      112 k
 kernel-devel                        x86_64                   2.6.32-504.8.1.el6                    updates                   9.4 M
 libstdc++-devel                     x86_64                   4.4.7-11.el6                          base                      1.6 M
 mpfr                                x86_64                   2.4.1-6.el6                           base                      157 k
 neon                                x86_64                   0.29.3-3.el6_4                        base                      119 k
 pakchois                            x86_64                   0.4-3.2.el6                           base                       21 k
 ppl                                 x86_64                   0.10.2-11.el6                         base                      1.3 M
 systemtap-client                    x86_64                   2.5-5.el6                             base                      3.6 M
 systemtap-devel                     x86_64                   2.5-5.el6                             base                      1.5 M

Transaction Summary
====================================================================================================================================
Install      32 Package(s)

Total download size: 49 M
Installed size: 141 M
Is this ok [y/N]: y
Downloading Packages:
(1/32): bison-2.4.1-5.el6.x86_64.rpm                                                                         | 637 kB     00:00     
(2/32): byacc-1.9.20070509-7.el6.x86_64.rpm                                                                  |  48 kB     00:00     
(3/32): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm                                                                  |  93 kB     00:00     
(4/32): cpp-4.4.7-11.el6.x86_64.rpm                                                                          | 3.7 MB     00:01     
(5/32): cscope-15.6-6.el6.x86_64.rpm                                                                         | 136 kB     00:00     
(6/32): ctags-5.8-2.el6.x86_64.rpm                                                                           | 147 kB     00:00     
(7/32): diffstat-1.51-2.el6.x86_64.rpm                                                                       |  29 kB     00:00     
(8/32): doxygen-1.6.1-6.el6.x86_64.rpm                                                                       | 2.4 MB     00:01     
(9/32): flex-2.5.35-9.el6.x86_64.rpm                                                                         | 285 kB     00:00     
(10/32): gcc-4.4.7-11.el6.x86_64.rpm                                                                         |  10 MB     00:05     
(11/32): gcc-c++-4.4.7-11.el6.x86_64.rpm                                                                     | 4.7 MB     00:02     
(12/32): gcc-gfortran-4.4.7-11.el6.x86_64.rpm                                                                | 4.7 MB     00:02     
(13/32): gettext-devel-0.17-18.el6.x86_64.rpm                                                                | 155 kB     00:00     
(14/32): gettext-libs-0.17-18.el6.x86_64.rpm                                                                 | 112 kB     00:00     
(15/32): indent-2.2.10-7.el6.x86_64.rpm                                                                      | 115 kB     00:00     
(16/32): intltool-0.41.0-1.1.el6.noarch.rpm                                                                  |  58 kB     00:00     
(17/32): kernel-devel-2.6.32-504.8.1.el6.x86_64.rpm                                                          | 9.4 MB     00:02     
(18/32): libstdc++-devel-4.4.7-11.el6.x86_64.rpm                                                             | 1.6 MB     00:01     
(19/32): libtool-2.2.6-15.5.el6.x86_64.rpm                                                                   | 564 kB     00:00     
(20/32): mpfr-2.4.1-6.el6.x86_64.rpm                                                                         | 157 kB     00:00     
(21/32): neon-0.29.3-3.el6_4.x86_64.rpm                                                                      | 119 kB     00:00     
(22/32): pakchois-0.4-3.2.el6.x86_64.rpm                                                                     |  21 kB     00:00     
(23/32): patchutils-0.3.1-3.1.el6.x86_64.rpm                                                                 |  95 kB     00:00     
(24/32): ppl-0.10.2-11.el6.x86_64.rpm                                                                        | 1.3 MB     00:01     
(25/32): rcs-5.7-37.el6.x86_64.rpm                                                                           | 173 kB     00:00     
(26/32): redhat-rpm-config-9.0.3-42.el6.centos.noarch.rpm                                                    |  59 kB     00:00     
(27/32): rpm-build-4.8.0-38.el6_6.x86_64.rpm                                                                 | 127 kB     00:00     
(28/32): subversion-1.6.11-12.el6_6.x86_64.rpm                                                               | 2.3 MB     00:01     
(29/32): swig-1.3.40-6.el6.x86_64.rpm                                                                        | 1.1 MB     00:00     
(30/32): systemtap-2.5-5.el6.x86_64.rpm                                                                      |  26 kB     00:00     
(31/32): systemtap-client-2.5-5.el6.x86_64.rpm                                                               | 3.6 MB     00:01     
(32/32): systemtap-devel-2.5-5.el6.x86_64.rpm                                                                | 1.5 MB     00:01     
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               1.6 MB/s |  49 MB     00:30     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mpfr-2.4.1-6.el6.x86_64                                                                                         1/32 
  Installing : cpp-4.4.7-11.el6.x86_64                                                                                         2/32 
  Installing : ppl-0.10.2-11.el6.x86_64                                                                                        3/32 
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                 4/32 
  Installing : gcc-4.4.7-11.el6.x86_64                                                                                         5/32 
  Installing : libstdc++-devel-4.4.7-11.el6.x86_64                                                                             6/32 
  Installing : kernel-devel-2.6.32-504.8.1.el6.x86_64                                                                          7/32 
  Installing : systemtap-devel-2.5-5.el6.x86_64                                                                                8/32 
  Installing : gettext-libs-0.17-18.el6.x86_64                                                                                 9/32 
  Installing : gettext-devel-0.17-18.el6.x86_64                                                                               10/32 
  Installing : pakchois-0.4-3.2.el6.x86_64                                                                                    11/32 
  Installing : neon-0.29.3-3.el6_4.x86_64                                                                                     12/32 
  Installing : systemtap-client-2.5-5.el6.x86_64                                                                              13/32 
  Installing : systemtap-2.5-5.el6.x86_64                                                                                     14/32 
  Installing : subversion-1.6.11-12.el6_6.x86_64                                                                              15/32 
  Installing : intltool-0.41.0-1.1.el6.noarch                                                                                 16/32 
  Installing : gcc-c++-4.4.7-11.el6.x86_64                                                                                    17/32 
  Installing : libtool-2.2.6-15.5.el6.x86_64                                                                                  18/32 
  Installing : gcc-gfortran-4.4.7-11.el6.x86_64                                                                               19/32 
  Installing : swig-1.3.40-6.el6.x86_64                                                                                       20/32 
  Installing : redhat-rpm-config-9.0.3-42.el6.centos.noarch                                                                   21/32 
  Installing : rcs-5.7-37.el6.x86_64                                                                                          22/32 
  Installing : diffstat-1.51-2.el6.x86_64                                                                                     23/32 
  Installing : flex-2.5.35-9.el6.x86_64                                                                                       24/32 
  Installing : patchutils-0.3.1-3.1.el6.x86_64                                                                                25/32 
  Installing : 1:doxygen-1.6.1-6.el6.x86_64                                                                                   26/32 
  Installing : byacc-1.9.20070509-7.el6.x86_64                                                                                27/32 
  Installing : rpm-build-4.8.0-38.el6_6.x86_64                                                                                28/32 
  Installing : cscope-15.6-6.el6.x86_64                                                                                       29/32 
  Installing : ctags-5.8-2.el6.x86_64                                                                                         30/32 
  Installing : indent-2.2.10-7.el6.x86_64                                                                                     31/32 
  Installing : bison-2.4.1-5.el6.x86_64                                                                                       32/32 
  Verifying  : systemtap-client-2.5-5.el6.x86_64                                                                               1/32 
  Verifying  : pakchois-0.4-3.2.el6.x86_64                                                                                     2/32 
  Verifying  : bison-2.4.1-5.el6.x86_64                                                                                        3/32 
  Verifying  : gettext-libs-0.17-18.el6.x86_64                                                                                 4/32 
  Verifying  : indent-2.2.10-7.el6.x86_64                                                                                      5/32 
  Verifying  : kernel-devel-2.6.32-504.8.1.el6.x86_64                                                                          6/32 
  Verifying  : systemtap-devel-2.5-5.el6.x86_64                                                                                7/32 
  Verifying  : libstdc++-devel-4.4.7-11.el6.x86_64                                                                             8/32 
  Verifying  : neon-0.29.3-3.el6_4.x86_64                                                                                      9/32 
  Verifying  : ctags-5.8-2.el6.x86_64                                                                                         10/32 
  Verifying  : subversion-1.6.11-12.el6_6.x86_64                                                                              11/32 
  Verifying  : cscope-15.6-6.el6.x86_64                                                                                       12/32 
  Verifying  : rpm-build-4.8.0-38.el6_6.x86_64                                                                                13/32 
  Verifying  : systemtap-2.5-5.el6.x86_64                                                                                     14/32 
  Verifying  : byacc-1.9.20070509-7.el6.x86_64                                                                                15/32 
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                                                                        16/32 
  Verifying  : ppl-0.10.2-11.el6.x86_64                                                                                       17/32 
  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                                                                                   18/32 
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                19/32 
  Verifying  : patchutils-0.3.1-3.1.el6.x86_64                                                                                20/32 
  Verifying  : gcc-c++-4.4.7-11.el6.x86_64                                                                                    21/32 
  Verifying  : flex-2.5.35-9.el6.x86_64                                                                                       22/32 
  Verifying  : diffstat-1.51-2.el6.x86_64                                                                                     23/32 
  Verifying  : rcs-5.7-37.el6.x86_64                                                                                          24/32 
  Verifying  : libtool-2.2.6-15.5.el6.x86_64                                                                                  25/32 
  Verifying  : gcc-4.4.7-11.el6.x86_64                                                                                        26/32 
  Verifying  : intltool-0.41.0-1.1.el6.noarch                                                                                 27/32 
  Verifying  : redhat-rpm-config-9.0.3-42.el6.centos.noarch                                                                   28/32 
  Verifying  : swig-1.3.40-6.el6.x86_64                                                                                       29/32 
  Verifying  : gettext-devel-0.17-18.el6.x86_64                                                                               30/32 
  Verifying  : cpp-4.4.7-11.el6.x86_64                                                                                        31/32 
  Verifying  : gcc-gfortran-4.4.7-11.el6.x86_64                                                                               32/32 

Installed:
  bison.x86_64 0:2.4.1-5.el6                         byacc.x86_64 0:1.9.20070509-7.el6     cscope.x86_64 0:15.6-6.el6             
  ctags.x86_64 0:5.8-2.el6                           diffstat.x86_64 0:1.51-2.el6          doxygen.x86_64 1:1.6.1-6.el6           
  flex.x86_64 0:2.5.35-9.el6                         gcc.x86_64 0:4.4.7-11.el6             gcc-c++.x86_64 0:4.4.7-11.el6          
  gcc-gfortran.x86_64 0:4.4.7-11.el6                 indent.x86_64 0:2.2.10-7.el6          intltool.noarch 0:0.41.0-1.1.el6       
  libtool.x86_64 0:2.2.6-15.5.el6                    patchutils.x86_64 0:0.3.1-3.1.el6     rcs.x86_64 0:5.7-37.el6                
  redhat-rpm-config.noarch 0:9.0.3-42.el6.centos     rpm-build.x86_64 0:4.8.0-38.el6_6     subversion.x86_64 0:1.6.11-12.el6_6    
  swig.x86_64 0:1.3.40-6.el6                         systemtap.x86_64 0:2.5-5.el6         

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6       cpp.x86_64 0:4.4.7-11.el6                      gettext-devel.x86_64 0:0.17-18.el6         
  gettext-libs.x86_64 0:0.17-18.el6       kernel-devel.x86_64 0:2.6.32-504.8.1.el6       libstdc++-devel.x86_64 0:4.4.7-11.el6      
  mpfr.x86_64 0:2.4.1-6.el6               neon.x86_64 0:0.29.3-3.el6_4                   pakchois.x86_64 0:0.4-3.2.el6              
  ppl.x86_64 0:0.10.2-11.el6              systemtap-client.x86_64 0:2.5-5.el6            systemtap-devel.x86_64 0:2.5-5.el6         

Complete!
[root@develop ~]# 

[root@develop ~]# cpan Storable
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 18 Feb 2015 17:17:02 GMT
Running install for module 'Storable'
CPAN: Data::Dumper loaded ok (v2.125)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for A/AM/AMS/Storable-2.51.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /root/.cpan/sources/authors/id/A/AM/AMS/Storable-2.51.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
Storable-2.51/
Storable-2.51/Storable.pm
Storable-2.51/ppport.h
Storable-2.51/README
Storable-2.51/hints/
Storable-2.51/hints/hpux.pl
Storable-2.51/hints/gnuknetbsd.pl
Storable-2.51/hints/linux.pl
Storable-2.51/hints/gnukfreebsd.pl
Storable-2.51/META.yml
Storable-2.51/Storable.xs
Storable-2.51/ChangeLog
Storable-2.51/MANIFEST
Storable-2.51/Makefile.PL
Storable-2.51/t/
Storable-2.51/t/make_overload.pl
Storable-2.51/t/circular_hook.t
Storable-2.51/t/store.t
Storable-2.51/t/just_plain_nasty.t
Storable-2.51/t/sig_die.t
Storable-2.51/t/retrieve.t
Storable-2.51/t/compat/
Storable-2.51/t/compat/Test/
Storable-2.51/t/compat/Test/More.pm
Storable-2.51/t/compat/Test/Builder.pm
Storable-2.51/t/compat/Test/Simple.pm
Storable-2.51/t/threads.t
Storable-2.51/t/canonical.t
Storable-2.51/t/attach_errors.t
Storable-2.51/t/make_56_interwork.pl
Storable-2.51/t/downgrade.t
Storable-2.51/t/integer.t
Storable-2.51/t/compat01.t
Storable-2.51/t/robust.t
Storable-2.51/t/freeze.t
Storable-2.51/t/restrict.t
Storable-2.51/t/compat06.t
Storable-2.51/t/lock.t
Storable-2.51/t/HAS_OVERLOAD.pm
Storable-2.51/t/malice.t
Storable-2.51/t/st-dump.pl
Storable-2.51/t/make_downgrade.pl
Storable-2.51/t/blessed.t
Storable-2.51/t/code.t
Storable-2.51/t/HAS_ATTACH.pm
Storable-2.51/t/testlib.pl
Storable-2.51/t/interwork56.t
Storable-2.51/t/utf8hash.t
Storable-2.51/t/croak.t
Storable-2.51/t/tied_hook.t
Storable-2.51/t/attach_singleton.t
Storable-2.51/t/destroy.t
Storable-2.51/t/weak.t
Storable-2.51/t/tied_items.t
Storable-2.51/t/utf8.t
Storable-2.51/t/tied.t
Storable-2.51/t/overload.t
Storable-2.51/t/forgive.t
Storable-2.51/t/file_magic.t
Storable-2.51/t/HAS_HOOK.pm
Storable-2.51/t/dclone.t
Storable-2.51/t/recurse.t
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build A/AM/AMS/Storable-2.51.tar.gz

Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
Generating a Unix-style Makefile
Writing Makefile for Storable
Writing MYMETA.yml and MYMETA.json
Could not read '/root/.cpan/build/Storable-2.51-BDa6Bx/MYMETA.yml'. Falling back to other methods to determine prerequisites
cp Storable.pm blib/lib/Storable.pm
Running Mkbootstrap for Storable ()
chmod 644 "Storable.bs"
"/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap"  Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.51\" -DXS_VERSION=\"2.51\" -fPIC "-I/usr/lib64/perl5/CORE"   Storable.c
rm -f blib/arch/auto/Storable/Storable.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Storable.o  -o blib/arch/auto/Storable/Storable.so     \
                \
          
chmod 755 blib/arch/auto/Storable/Storable.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Storable.bs blib/arch/auto/Storable/Storable.bs 644
Manifying 1 pod document
  AMS/Storable-2.51.tar.gz
  /usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Running Mkbootstrap for Storable ()
chmod 644 "Storable.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_errors.t ..... ok     
t/attach_singleton.t .. ok     
t/blessed.t ........... ok     
t/canonical.t ......... # Will use Digest::MD5
t/canonical.t ......... ok   
t/circular_hook.t ..... ok   
t/code.t .............. ok     
t/compat01.t .......... skipped: Test only works for 32 bit little-ending machines
t/compat06.t .......... ok   
t/croak.t ............. ok   
t/dclone.t ............ ok     
t/destroy.t ........... ok   
t/downgrade.t ......... ok       
t/file_magic.t ........ ok     
t/forgive.t ........... ok   
t/freeze.t ............ ok     
t/integer.t ........... ok       
t/interwork56.t ....... skipped: Your IVs are no larger than your longs
t/just_plain_nasty.t .. ok     
t/lock.t .............. ok   
t/malice.t ............ ok       
t/overload.t .......... ok     
t/recurse.t ........... ok     
t/restrict.t .......... ok       
t/retrieve.t .......... ok     
t/robust.t ............ ok   
t/sig_die.t ........... ok   
t/store.t ............. ok     
t/threads.t ........... ok   
t/tied.t .............. ok     
t/tied_hook.t ......... ok     
t/tied_items.t ........ ok   
t/utf8.t .............. ok   
t/utf8hash.t .......... ok       
t/weak.t .............. ok     
All tests successful.
Files=34, Tests=2584,  3 wallclock secs ( 0.65 usr  0.09 sys +  1.97 cusr  0.30 csys =  3.01 CPU)
Result: PASS
  AMS/Storable-2.51.tar.gz
  /usr/bin/make test -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
Prepending /root/.cpan/build/Storable-2.51-BDa6Bx/blib/arch /root/.cpan/build/Storable-2.51-BDa6Bx/blib/lib to PERL5LIB for 'install'
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib64/perl5/auto/Storable/Storable.so
Installing /usr/local/lib64/perl5/Storable.pm
Installing /usr/local/share/man/man3/Storable.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
  AMS/Storable-2.51.tar.gz
  /usr/bin/make install  -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
[root@develop ~]# 


[root@develop ~]# cpan DateTime
.
.
.
All tests successful.
Files=101, Tests=3454, 36 wallclock secs ( 1.11 usr  0.29 sys + 35.21 cusr  1.08 csys = 37.69 CPU)
Result: PASS
  DROLSKY/DateTime-1.18.tar.gz
  ./Build test -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running Build install
Prepending /root/.cpan/build/DateTime-1.18-rk_fA0/blib/arch /root/.cpan/build/DateTime-1.18-rk_fA0/blib/lib to PERL5LIB for 'install'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib64/perl5/auto/DateTime/DateTime.bs
Installing /usr/local/lib64/perl5/auto/DateTime/DateTime.so
Installing /usr/local/lib64/perl5/DateTimePPExtra.pm
Installing /usr/local/lib64/perl5/DateTimePP.pm
Installing /usr/local/lib64/perl5/DateTime.pm
Installing /usr/local/lib64/perl5/DateTime/Duration.pm
Installing /usr/local/lib64/perl5/DateTime/Infinite.pm
Installing /usr/local/lib64/perl5/DateTime/Helpers.pm
Installing /usr/local/lib64/perl5/DateTime/LeapSecond.pm
Installing /usr/local/share/man/man3/DateTime::Duration.3pm
Installing /usr/local/share/man/man3/DateTime::Infinite.3pm
Installing /usr/local/share/man/man3/DateTime::LeapSecond.3pm
Installing /usr/local/share/man/man3/DateTime.3pm
Writing /usr/local/lib64/perl5/auto/DateTime/.packlist
  DROLSKY/DateTime-1.18.tar.gz
  ./Build install  -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
[root@develop ~]# 



[root@develop ~]# cpan Scalar::Util
CPAN: Storable loaded ok (v2.51)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 18 Feb 2015 17:17:02 GMT
Scalar::Util is up to date (1.41).
[root@develop ~]# 
Here is the result for the checks:

Code: Select all

[root@develop ~]# cd /usr/lib64/nagios/plugins
[root@develop plugins]# 
[root@develop plugins]# ./check_wmi_plus.pl --help
This plugin requires an INI directory. Configure its location by setting the $wmi_ini_dir variable in '/opt/nagios/bin/plugins/check_wmi_plus.conf' or by using the --inidir parameter to override the default setting. Ini Directory currently set to '/opt/nagios/bin/plugins/check_wmi_plus.d'[root@develop plugins]# 
[root@develop plugins]# 
[root@develop plugins]# ./check_wmi_plus.pl --version
This plugin requires an INI directory. Configure its location by setting the $wmi_ini_dir variable in '/opt/nagios/bin/plugins/check_wmi_plus.conf' or by using the --inidir parameter to override the default setting. Ini Directory currently set to '/opt/nagios/bin/plugins/check_wmi_plus.d'[root@develop plugins]# 
Now looks like something went awry.
Here is my /usr/lib64/nagios/plugins/check_wmi_plus.conf file:

Code: Select all

# Check WMI Plus Config file
# This is read in-line into the perl program, so the syntax has to be just right.

# The settings in here override the default settings in the plugin code
# This file is only required if you want to change the default settings in the plugin

# It is provided in the release package as check_wmi_plus.conf.sample
# Rename it to check_wmi_plus.conf and/or set its location right at the top of the check_wmi_plus.pl script

# this file makes it easier to upgrade the plugin since you can keep your old settings in your own copy of this file

# ---------------------- FILE LOCATIONS -------------------------

# Set the full path where the plugin is installed
# You might not even use this variable if you have different locations for everything
# as a first guess, grab the directory that this conf file lives in
$base_dir="/usr/lib64/nagios/plugins"; # NSG edit done 01-21-2015

# This is the full path location of the wmic command
# - standard value "$base_dir/wmic"
$wmic_command="/usr/bin/wmic"; # NSG edit done 01-21-2015

# you do not need to use this if you are using $wmi_ini_dir
# normally you would only use this if you had a single specific ini file you wanted to use
# set the location of the ini file. Set to '' if not using it or specify using the --inifile parameter
# set this to something else if you want
# - standard value "$base_dir/check_wmi_plus.ini"
$wmi_ini_file=''; # NSG edit done

# set the location of the ini dir. Set to '' if not using it or specify using the --inidir parameter
# set this to something else if you want
# you might like to use "$base_dir/wmic"
# - standard value "$base_dir/check_wmi_plus.d"
$wmi_ini_dir="$base_dir/check_wmi_plus.d"; # NSG edit done 01-21-2015

# set the location of temporary directory - used for keep state option
# if running on Windows then $ENV{'TMP'} will be set and hence used
$tmp_dir=$ENV{"TMP"} || '/tmp'; # NSG edit done  01-22-2015

# this script helps with making the manpage help. By default it is in the same directory as the plugin itself
$make_manpage_script="$base_dir/check_wmi_plus.makeman.sh"; # NSG edit done

# this is the directory where the manpage is stored when created, defaults to the same directory as the ini files
$manpage_dir="$wmi_ini_dir"; # NSG leave as default setting here.

# PRO only: set the location of where the check_wmi_plus will store some persistent data
# - standard value "$base_dir/check_wmi_plus.data"
$wmi_data_dir="$base_dir/check_wmi_plus.data";

# PRO only: this is the file where the usage stats are stored (if using it via $collect_usage_info or --icollectusage)
$usage_db_file="$wmi_data_dir/check_wmi_plus.usagedb";

# PRO only: this is the file where the compiled ini files are stored
$compiled_ini_file="$wmi_data_dir/check_wmi_plus.compiledini";

# ---------------------- OTHER CONFIGURATION -------------------------

# Disable the check of Perl Module versions
# The module versions are checked because the are often the cause of the plugin not working correctly
# If you want support you will need to reproduce the fault with the supported versions of the modules ie enable this check
# Set to 1 to ignore the version check, Set to 0 to perform the check
# Setting this to 1 has the same effect as the command line option  --IgnoreMyOutDatedPerlModuleVersions
# Setting either this to 1 or the command line option will disable the check
$ignore_my_outdated_perl_module_versions=1; # NSG edit done  02-11-2015

# force the use of the wmic command line binary. Set to 1 to force
# this is used if you have the wmiclient library installed but want to use the command line version
$force_wmic_command=0; # NSG edit done 01-22-2015

# used cached wmic responses
# you don't really want this on unless you want to totally bypass wmic
# some checks will totally fail with this set
# all your check response will be inaccurate
$use_cached_wmic_responses=0;

# extra wmic args
# specify standard additional arguments to pass directly to the wmic command line for ALL invocations of wmic
# Note that the command line parameter --extrawmicarg is also available if you need this on a case by case basis
# This is an array so you need to put each argument into a separate array index
# eg @opt_extra_wmic_args=( "argument1=value1", "argument2=value2" );
# should be set to @opt_extra_wmic_args=() if not used
# extra wmic arguments specified on the command line are added to the ones specified here
our @opt_extra_wmic_args=(); # extra arguments to pass to wmic

# ------------------------ PRO Library Options -------------------------
# PRO Only:
# collect various usage info and store it in $usage_db_file for later analysis
# also available by using the --icollectusage command line parameter
# requires additional perl modules if invoked
# turning this on adds a relatively large elapsed time penalty (relative to the execution time of the program)
$collect_usage_info=1;

# PRO Only:
# show various usage info at end of plugin output
# also available by using the --ishowusage command line parameter
# requires additional perl modules if invoked
$show_usage_info=1;

# Pro Only:
# Generate a Nagios error if there is a problem updating the usage stats
# If set to 0, errors updating usage stats will be shown in the plugin output but will not impact the Nagios alert type
$generate_nagios_error_for_usage_stats_problem=1;

# Pro Only:
# use compiled ini files for additional speed (reduces CPU and Elapsed times)
$use_compiled_ini_files=0;

# Pro Only:
# force reading of the ini files - you may want to do this if you are doing a non-ini file check and you are using variables defined in an ini file
# only use this if you really needed it since it makes each invocation of the plugin a lot slower
$force_ini_open=0;
So what must I do now?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by tgriep »

Edit this file /usr/lib64/nagios/plugins/check_wmi_plus.conf

change

Code: Select all

$wmi_ini_dir="$base_dir/check_wmi_plus.d"; # NSG edit done 01-21-2015
to

Code: Select all

$wmi_ini_dir="/usr/lib64/nagios/plugins"; # NSG edit done 01-21-2015
Be sure to check out our Knowledgebase for helpful articles and solutions!
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Configuring Nagios Cross Platform Agent (NCPA)

Post by clombardo »

Thank you for your help so far :-)

Okay I changed the file /usr/lib64/nagios/plugins/check_wmi_plus.conf as you described:

Code: Select all

$wmi_ini_dir="/usr/lib64/nagios/plugins"; # NSG edit done 02-19-2015
But when I run the check I am getting an error:

Code: Select all

[root@develop plugins]# ./check_wmi_plus.pl --help
This plugin requires an INI directory. Configure its location by setting the $wmi_ini_dir variable in '/opt/nagios/bin/plugins/check_wmi_plus.conf' or by using the --inidir parameter to override the default setting. Ini Directory currently set to '/opt/nagios/bin/plugins/check_wmi_plus.d'[root@develop plugins]# 
This directory that it says in the error message does not exist.

What must I do now?
Locked