Nagios::Plugin für Perl nachinstallieren

Wenn man Nagios ohne die Nagios Plugins für Perl compiliert/installiert hat, kann man diese im Nachhinein wie folgt nachinstallieren:

perl -MCPAN -e shell

[EXPAND CPAN LOG]
CPAN is the world-wide archive of perl resources. It consists of about
300 sites that all replicate the same contents around the globe. Many
countries have at least one CPAN site already. The resources found on
CPAN are easily accessible with the CPAN.pm module. If you want to use
CPAN.pm, lots of things have to be configured. Fortunately, most of
them can be determined automatically. If you prefer the automatic
configuration, answer ‚yes‘ below.
If you prefer to enter a dialog instead, you can answer ’no‘ to this
question and I’ll let you configure in small steps one thing after the
other. (Note: you can revisit this dialog anytime later by typing ‚o
conf init‘ at the cpan prompt.)
Would you like me to configure as much as possible automatically? [yes]
Autoconfigured everything but ‚urllist‘.
Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.
Would you like me to automatically choose the best CPAN mirror
sites for you? (This means connecting to the Internet and could
take a couple minutes) [yes]
Trying to fetch a mirror list from the Internet
Fetching with LWP:
http://www.perl.org/CPAN/MIRRORED.BY
Searching for the best CPAN mirrors (please be patient) ……………………………………………………………………………………. done!
New urllist
ftp://mirror.netcologne.de/cpan/
ftp://ftp.hosteurope.de/pub/CPAN/
ftp://ftp.u-tx.net/CPAN/
ftp://ftp.mirror.8086.net/sites/CPAN/
ftp://mirror.checkdomain.de/CPAN/
Autoconfiguration complete.
commit: wrote ‚/etc/perl/CPAN/Config.pm‘
Terminal does not support AddHistory.
cpan shell — CPAN exploration and modules installation (v1.9456)
Enter ‚h‘ for help.
[/EXPAND]

cpan[1]> install Nagios::Plugin

[EXPAND CPAN Nagios Installation Log]
Running install for module ‚Nagios::Plugin‘
Running make for T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/T/TO/TONVOON/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz ok
CPAN.pm: Going to build T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz
Checking if your kit is complete…
Looks good
Warning: prerequisite Config::Tiny 0 not found.
Warning: prerequisite Math::Calc::Units 0 not found.
Warning: prerequisite Params::Validate 0 not found.
Writing Makefile for Nagios::Plugin
—- Unsatisfied dependencies detected during —-
—- TONVOON/Nagios-Plugin-0.36.tar.gz —-
Params::Validate [requires]
Math::Calc::Units [requires]
Config::Tiny [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module ‚Params::Validate‘
Running make for D/DR/DROLSKY/Params-Validate-1.07.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/D/DR/DROLSKY/Params-Validate-1.07.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/D/DR/DROLSKY/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/D/DR/DROLSKY/Params-Validate-1.07.tar.gz ok
CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-1.07.tar.gz
Checking prerequisites…
requires:
! Module::Implementation is not installed
build_requires:
! Test::Fatal is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Creating new ‚MYMETA.yml‘ with configuration results
Creating new ‚Build‘ script for ‚Params-Validate‘ version ‚1.07‘
—- Unsatisfied dependencies detected during —-
—- DROLSKY/Params-Validate-1.07.tar.gz —-
Test::Fatal [build_requires]
Module::Implementation [requires]
Running Build test
Delayed until after prerequisites
Running Build install
Delayed until after prerequisites
Running install for module ‚Test::Fatal‘
Running make for R/RJ/RJBS/Test-Fatal-0.010.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/R/RJ/RJBS/Test-Fatal-0.010.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/R/RJ/RJBS/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/R/RJ/RJBS/Test-Fatal-0.010.tar.gz ok
CPAN.pm: Going to build R/RJ/RJBS/Test-Fatal-0.010.tar.gz
Checking if your kit is complete…
Looks good
Warning: prerequisite Try::Tiny 0.07 not found.
Writing Makefile for Test::Fatal
—- Unsatisfied dependencies detected during —-
—- RJBS/Test-Fatal-0.010.tar.gz —-
Try::Tiny [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module ‚Try::Tiny‘
Running make for D/DO/DOY/Try-Tiny-0.12.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/D/DO/DOY/Try-Tiny-0.12.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/D/DO/DOY/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/D/DO/DOY/Try-Tiny-0.12.tar.gz ok
CPAN.pm: Going to build D/DO/DOY/Try-Tiny-0.12.tar.gz
Checking if your kit is complete…
Looks good
Writing Makefile for Try::Tiny
cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm
Manifying blib/man3/Try::Tiny.3pm
DOY/Try-Tiny-0.12.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/basic.t ……. ok
t/context.t ….. ok
t/finally.t ….. ok
t/given_when.t .. ok
t/when.t …….. ok
All tests successful.
Files=5, Tests=85, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.16 cusr 0.02 csys = 0.24 CPU)
Result: PASS
DOY/Try-Tiny-0.12.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Try/Tiny.pm
Installing /usr/local/man/man3/Try::Tiny.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
DOY/Try-Tiny-0.12.tar.gz
/usr/bin/make install — OK
Running make for R/RJ/RJBS/Test-Fatal-0.010.tar.gz
Has already been unwrapped into directory /home/drmadmin/.cpan/build/Test-Fatal-0.010-ipHhnd
CPAN.pm: Going to build R/RJ/RJBS/Test-Fatal-0.010.tar.gz
cp lib/Test/Fatal.pm blib/lib/Test/Fatal.pm
Manifying blib/man3/Test::Fatal.3pm
RJBS/Test-Fatal-0.010.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/basic.t …………… ok
t/like-exception.t …… ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
All tests successful.
Files=3, Tests=12, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.09 cusr 0.00 csys = 0.12 CPU)
Result: PASS
RJBS/Test-Fatal-0.010.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Test/Fatal.pm
Installing /usr/local/man/man3/Test::Fatal.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
RJBS/Test-Fatal-0.010.tar.gz
/usr/bin/make install — OK
Running install for module ‚Module::Implementation‘
Running make for D/DR/DROLSKY/Module-Implementation-0.06.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/D/DR/DROLSKY/Module-Implementation-0.06.tar.gz
Checksum for /home/drmadmin/.cpan/sources/authors/id/D/DR/DROLSKY/Module-Implementation-0.06.tar.gz ok
CPAN.pm: Going to build D/DR/DROLSKY/Module-Implementation-0.06.tar.gz
Checking if your kit is complete…
Looks good
Warning: prerequisite Module::Runtime 0.012 not found.
Warning: prerequisite Test::Requires 0 not found.
Writing Makefile for Module::Implementation
—- Unsatisfied dependencies detected during —-
—- DROLSKY/Module-Implementation-0.06.tar.gz —-
Test::Requires [build_requires]
Module::Runtime [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module ‚Test::Requires‘
Running make for T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/T/TO/TOKUHIROM/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz ok
CPAN.pm: Going to build T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
Checking if your kit is complete…
Looks good
Writing Makefile for Test::Requires
cp lib/Test/Requires.pm blib/lib/Test/Requires.pm
Manifying blib/man3/Test::Requires.3pm
TOKUHIROM/Test-Requires-0.06.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚inc‘, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/00_compile.t ……… ok
t/01_simple.t ………. ok
t/02_no_plan.t ……… ok
t/03_import_hashref.t .. skipped: Test requires module ‚Acme::Unknown::Missing::Module::Name‘ but it’s not found
t/04_import_array.t …. skipped: Test requires module ‚Acme::Unknown::Missing::Module::Name‘ but it’s not found
t/05_success.t ……… ok
All tests successful.
Files=6, Tests=13, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.17 cusr 0.02 csys = 0.24 CPU)
Result: PASS
TOKUHIROM/Test-Requires-0.06.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Test/Requires.pm
Installing /usr/local/man/man3/Test::Requires.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
TOKUHIROM/Test-Requires-0.06.tar.gz
/usr/bin/make install — OK
Running install for module ‚Module::Runtime‘
Running make for Z/ZE/ZEFRAM/Module-Runtime-0.013.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.013.tar.gz
Fetching with LWP:
ftp://mirror.netcologne.de/cpan/authors/id/Z/ZE/ZEFRAM/CHECKSUMS
Checksum for /home/drmadmin/.cpan/sources/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.013.tar.gz ok
CPAN.pm: Going to build Z/ZE/ZEFRAM/Module-Runtime-0.013.tar.gz
Creating new ‚MYMETA.yml‘ with configuration results
Creating new ‚Build‘ script for ‚Module-Runtime‘ version ‚0.013‘
Building Module-Runtime
ZEFRAM/Module-Runtime-0.013.tar.gz
./Build — OK
Running Build test
t/cmn.t ……….. ok
t/dependency.t …. ok
t/import_error.t .. ok
t/ivmn.t ………. ok
t/ivms.t ………. ok
t/mnf.t ……….. ok
t/pod_cvg.t ……. skipped: Test::Pod::Coverage not available
t/pod_syn.t ……. skipped: Test::Pod not available
t/rm.t ………… ok
t/taint.t ……… ok
t/um.t ………… ok
t/upo.t ……….. ok
All tests successful.
Files=12, Tests=303, 1 wallclock secs ( 0.09 usr 0.03 sys + 0.43 cusr 0.04 csys = 0.59 CPU)
Result: PASS
ZEFRAM/Module-Runtime-0.013.tar.gz
./Build test — OK
Running Build install
Building Module-Runtime
Installing /usr/local/share/perl/5.12.4/Module/Runtime.pm
Installing /usr/local/man/man3/Module::Runtime.3pm
ZEFRAM/Module-Runtime-0.013.tar.gz
./Build install — OK
Running make for D/DR/DROLSKY/Module-Implementation-0.06.tar.gz
Has already been unwrapped into directory /home/drmadmin/.cpan/build/Module-Implementation-0.06-kPJenR
CPAN.pm: Going to build D/DR/DROLSKY/Module-Implementation-0.06.tar.gz
cp lib/Module/Implementation.pm blib/lib/Module/Implementation.pm
Manifying blib/man3/Module::Implementation.3pm
DROLSKY/Module-Implementation-0.06.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/basic.t ……………… ok
t/both-fail.t ………….. ok
t/env-value.t ………….. ok
t/more-symbols.t ……….. ok
t/one-impl-fails1.t …….. ok
t/one-impl-fails2.t …….. ok
t/release-cpan-changes.t … skipped: these tests are for release candidate testing
t/release-eol.t ………… skipped: these tests are for release candidate testing
t/release-no-tabs.t …….. skipped: these tests are for release candidate testing
t/release-pod-linkcheck.t .. skipped: these tests are for release candidate testing
t/release-pod-no404s.t ….. skipped: these tests are for release candidate testing
t/release-pod-spell.t …… skipped: these tests are for release candidate testing
t/release-pod-syntax.t ….. skipped: these tests are for release candidate testing
t/requested-fails.t …….. ok
t/taint.t ……………… skipped: Test requires module ‚Test::Taint‘ but it’s not found
All tests successful.
Files=15, Tests=22, 0 wallclock secs ( 0.07 usr 0.02 sys + 0.38 cusr 0.06 csys = 0.53 CPU)
Result: PASS
DROLSKY/Module-Implementation-0.06.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Module/Implementation.pm
Installing /usr/local/man/man3/Module::Implementation.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
DROLSKY/Module-Implementation-0.06.tar.gz
/usr/bin/make install — OK
Running Build for D/DR/DROLSKY/Params-Validate-1.07.tar.gz
Has already been unwrapped into directory /home/drmadmin/.cpan/build/Params-Validate-1.07-ag8vW1
CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-1.07.tar.gz
Building Params-Validate
cc -Ic -I/usr/lib/perl/5.12/CORE -DXS_VERSION=“1.07″ -DVERSION=“1.07″ -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o lib/Params/Validate/XS.o lib/Params/Validate/XS.c
ExtUtils::Mkbootstrap::Mkbootstrap(‚blib/arch/auto/Params/Validate/XS/XS.bs‘)
cc -shared -O2 -g -L/usr/local/lib -fstack-protector -o blib/arch/auto/Params/Validate/XS/XS.so lib/Params/Validate/XS.o
DROLSKY/Params-Validate-1.07.tar.gz
./Build — OK
Running Build test
t/01-validate.t ……………………. ok
t/02-noop.t ……………………….. ok
t/03-attribute.t …………………… ok
t/04-defaults.t ……………………. ok
t/05-noop_default.t ………………… ok
t/06-options.t …………………….. ok
t/07-with.t ……………………….. ok
t/08-noop_with.t …………………… ok
t/09-regex.t ………………………. ok
t/10-noop_regex.t ………………….. ok
t/11-cb.t …………………………. ok
t/12-noop_cb.t …………………….. ok
t/13-taint.t ………………………. ok
t/14-no_validate.t …………………. ok
t/15-case.t ……………………….. ok
t/16-normalize.t …………………… ok
t/17-callbacks.t …………………… ok
t/18-depends.t …………………….. ok
t/19-untaint.t …………………….. skipped: These tests require Test::Taint 0.02+ to run
t/21-can.t ………………………… ok
t/22-overload-can-bug.t …………….. ok
t/23-readonly.t ……………………. skipped: Need Readonly::XS and Readonly for this test
t/24-tied.t ……………………….. ok
t/25-undef-regex.t …………………. ok
t/26-isa.t ………………………… ok
t/27-string-as-type.t ………………. ok
t/28-readonly-return.t ……………… ok
t/29-taint-mode.t ………………….. skipped: This test is flaky
t/30-hashref-alteration.t …………… ok
t/31-incorrect-spelling.t …………… skipped: Spec validation is disabled for now
t/32-regex-as-value.t ………………. ok
t/33-keep-errsv.t ………………….. ok
t/34-recursive-validation.t …………. ok
t/release-cpan-changes.t ……………. skipped: these tests are for release candidate testing
t/release-eol.t ……………………. skipped: these tests are for release candidate testing
t/release-no-tabs.t ………………… skipped: these tests are for release candidate testing
t/release-pod-coverage.t ……………. skipped: these tests are for release candidate testing
t/release-pod-linkcheck.t …………… skipped: these tests are for release candidate testing
t/release-pod-no404s.t ……………… skipped: these tests are for release candidate testing
t/release-pod-spell.t ………………. skipped: these tests are for release candidate testing
t/release-pod-syntax.t ……………… skipped: these tests are for release candidate testing
t/release-pp-01-validate.t ………….. skipped: these tests are for testing by the release
t/release-pp-02-noop.t ……………… skipped: these tests are for testing by the release
t/release-pp-03-attribute.t …………. skipped: these tests are for testing by the release
t/release-pp-04-defaults.t ………….. skipped: these tests are for testing by the release
t/release-pp-05-noop_default.t ………. skipped: these tests are for testing by the release
t/release-pp-06-options.t …………… skipped: these tests are for testing by the release
t/release-pp-07-with.t ……………… skipped: these tests are for testing by the release
t/release-pp-08-noop_with.t …………. skipped: these tests are for testing by the release
t/release-pp-09-regex.t …………….. skipped: these tests are for testing by the release
t/release-pp-10-noop_regex.t ………… skipped: these tests are for testing by the release
t/release-pp-11-cb.t ……………….. skipped: these tests are for testing by the release
t/release-pp-12-noop_cb.t …………… skipped: these tests are for testing by the release
t/release-pp-13-taint.t …………….. skipped: these tests are for testing by the release
t/release-pp-14-no_validate.t ……….. skipped: these tests are for testing by the release
t/release-pp-15-case.t ……………… skipped: these tests are for testing by the release
t/release-pp-16-normalize.t …………. skipped: these tests are for testing by the release
t/release-pp-17-callbacks.t …………. skipped: these tests are for testing by the release
t/release-pp-18-depends.t …………… skipped: these tests are for testing by the release
t/release-pp-19-untaint.t …………… skipped: these tests are for testing by the release
t/release-pp-21-can.t ………………. skipped: these tests are for testing by the release
t/release-pp-22-overload-can-bug.t …… skipped: these tests are for testing by the release
t/release-pp-23-readonly.t ………….. skipped: these tests are for testing by the release
t/release-pp-24-tied.t ……………… skipped: these tests are for testing by the release
t/release-pp-25-undef-regex.t ……….. skipped: these tests are for testing by the release
t/release-pp-26-isa.t ………………. skipped: these tests are for testing by the release
t/release-pp-27-string-as-type.t …….. skipped: these tests are for testing by the release
t/release-pp-28-readonly-return.t ……. skipped: these tests are for testing by the release
t/release-pp-29-taint-mode.t ………… skipped: these tests are for testing by the release
t/release-pp-30-hashref-alteration.t …. skipped: these tests are for testing by the release
t/release-pp-31-incorrect-spelling.t …. skipped: these tests are for testing by the release
t/release-pp-32-regex-as-value.t …….. skipped: these tests are for testing by the release
t/release-pp-33-keep-errsv.t ………… skipped: these tests are for testing by the release
t/release-pp-34-recursive-validation.t .. skipped: these tests are for testing by the release
t/release-pp-is-loaded.t ……………. skipped: these tests are for release candidate testing
t/release-xs-is-loaded.t ……………. skipped: these tests are for release candidate testing
t/release-xs-segfault.t …………….. skipped: these tests are for release candidate testing
All tests successful.
Test Summary Report
——————-
t/34-recursive-validation.t (Wstat: 0 Tests: 1 Failed: 0)
TODO passed: 1
Files=77, Tests=502, 4 wallclock secs ( 0.33 usr 0.12 sys + 2.46 cusr 0.36 csys = 3.27 CPU)
Result: PASS
DROLSKY/Params-Validate-1.07.tar.gz
./Build test — OK
Running Build install
Building Params-Validate
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl/5.12.4/auto/Params/Validate/XS/XS.so
Installing /usr/local/lib/perl/5.12.4/auto/Params/Validate/XS/XS.bs
Installing /usr/local/lib/perl/5.12.4/Params/ValidateXS.pm
Installing /usr/local/lib/perl/5.12.4/Params/ValidatePP.pm
Installing /usr/local/lib/perl/5.12.4/Params/Validate.pm
Installing /usr/local/lib/perl/5.12.4/Params/Validate/PP.pm
Installing /usr/local/lib/perl/5.12.4/Params/Validate/XS.pm
Installing /usr/local/lib/perl/5.12.4/Params/Validate/Constants.pm
Installing /usr/local/lib/perl/5.12.4/Attribute/Params/Validate.pm
Installing /usr/local/man/man3/Attribute::Params::Validate.3pm
Installing /usr/local/man/man3/Params::Validate.3pm
DROLSKY/Params-Validate-1.07.tar.gz
./Build install — OK
Running install for module ‚Math::Calc::Units‘
Running make for S/SF/SFINK/Math-Calc-Units-1.07.tar.gz
Checksum for /home/drmadmin/.cpan/sources/authors/id/S/SF/SFINK/Math-Calc-Units-1.07.tar.gz ok
CPAN.pm: Going to build S/SF/SFINK/Math-Calc-Units-1.07.tar.gz
Checking if your kit is complete…
Looks good
Writing Makefile for Math::Calc::Units
cp Units/Convert/Byte.pm blib/lib/Math/Calc/Units/Convert/Byte.pm
cp Units/Convert/Multi.pm blib/lib/Math/Calc/Units/Convert/Multi.pm
cp Units/Convert/Combo.pm blib/lib/Math/Calc/Units/Convert/Combo.pm
cp Units/Grammar.y blib/lib/Math/Calc/Units/Grammar.y
cp Units/Convert/Metric.pm blib/lib/Math/Calc/Units/Convert/Metric.pm
cp Units/Grammar.pm blib/lib/Math/Calc/Units/Grammar.pm
cp Units/Convert/Date.pm blib/lib/Math/Calc/Units/Convert/Date.pm
cp Units/Convert.pm blib/lib/Math/Calc/Units/Convert.pm
cp Units/Convert/Base2Metric.pm blib/lib/Math/Calc/Units/Convert/Base2Metric.pm
cp Units/Rank.pm blib/lib/Math/Calc/Units/Rank.pm
cp Units/Convert/Base.pm blib/lib/Math/Calc/Units/Convert/Base.pm
cp Units/Convert/Distance.pm blib/lib/Math/Calc/Units/Convert/Distance.pm
cp Units/Compute.pm blib/lib/Math/Calc/Units/Compute.pm
cp Units.pm blib/lib/Math/Calc/Units.pm
cp Units/Convert/Time.pm blib/lib/Math/Calc/Units/Convert/Time.pm
cp script/ucalc blib/script/ucalc
/usr/bin/perl -MExtUtils::MY -e ‚MY->fixin(shift)‘ — blib/script/ucalc
Manifying blib/man3/Math::Calc::Units.3pm
SFINK/Math-Calc-Units-1.07.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/main.t .. ok
t/pod.t … skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=2, Tests=64, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.13 cusr 0.01 csys = 0.18 CPU)
Result: PASS
SFINK/Math-Calc-Units-1.07.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Compute.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Rank.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Grammar.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Grammar.y
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Date.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Byte.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Base.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Distance.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Base2Metric.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Time.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Multi.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Combo.pm
Installing /usr/local/share/perl/5.12.4/Math/Calc/Units/Convert/Metric.pm
Installing /usr/local/man/man3/Math::Calc::Units.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
SFINK/Math-Calc-Units-1.07.tar.gz
/usr/bin/make install — OK
Running install for module ‚Config::Tiny‘
Running make for A/AD/ADAMK/Config-Tiny-2.14.tar.gz
Checksum for /home/drmadmin/.cpan/sources/authors/id/A/AD/ADAMK/Config-Tiny-2.14.tar.gz ok
CPAN.pm: Going to build A/AD/ADAMK/Config-Tiny-2.14.tar.gz
Checking if your kit is complete…
Looks good
Writing Makefile for Config::Tiny
cp lib/Config/Tiny.pm blib/lib/Config/Tiny.pm
Manifying blib/man3/Config::Tiny.3pm
ADAMK/Config-Tiny-2.14.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/01_compile.t .. ok
t/02_main.t ….. ok
All tests successful.
Files=2, Tests=34, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.06 cusr 0.01 csys = 0.10 CPU)
Result: PASS
ADAMK/Config-Tiny-2.14.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Config/Tiny.pm
Installing /usr/local/man/man3/Config::Tiny.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
ADAMK/Config-Tiny-2.14.tar.gz
/usr/bin/make install — OK
Running make for T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz
Has already been unwrapped into directory /home/drmadmin/.cpan/build/Nagios-Plugin-0.36-HwusWi
CPAN.pm: Going to build T/TO/TONVOON/Nagios-Plugin-0.36.tar.gz
cp lib/Nagios/Plugin/ExitResult.pm blib/lib/Nagios/Plugin/ExitResult.pm
cp lib/Nagios/Plugin/Functions.pm blib/lib/Nagios/Plugin/Functions.pm
cp lib/Nagios/Plugin/Threshold.pm blib/lib/Nagios/Plugin/Threshold.pm
cp lib/Nagios/Plugin/Range.pm blib/lib/Nagios/Plugin/Range.pm
cp lib/Nagios/Plugin/Getopt.pm blib/lib/Nagios/Plugin/Getopt.pm
cp lib/Nagios/Plugin/Performance.pm blib/lib/Nagios/Plugin/Performance.pm
cp lib/Nagios/Plugin/Config.pm blib/lib/Nagios/Plugin/Config.pm
cp lib/Nagios/Plugin.pm blib/lib/Nagios/Plugin.pm
Manifying blib/man3/Nagios::Plugin::ExitResult.3pm
Manifying blib/man3/Nagios::Plugin::Functions.3pm
Manifying blib/man3/Nagios::Plugin::Threshold.3pm
Manifying blib/man3/Nagios::Plugin::Range.3pm
Manifying blib/man3/Nagios::Plugin::Getopt.3pm
Manifying blib/man3/Nagios::Plugin::Performance.3pm
Manifying blib/man3/Nagios::Plugin::Config.3pm
Manifying blib/man3/Nagios::Plugin.3pm
TONVOON/Nagios-Plugin-0.36.tar.gz
/usr/bin/make — OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl „-MExtUtils::Command::MM“ „-e“ „test_harness(0, ‚blib/lib‘, ‚blib/arch‘)“ t/*.t
t/check_stuff.t ………………. ok
t/Nagios-Plugin-01.t ………….. ok
t/Nagios-Plugin-02.t ………….. ok
t/Nagios-Plugin-03.t ………….. ok
t/Nagios-Plugin-04.t ………….. ok
t/Nagios-Plugin-Functions-01.t …. 1/113 defined(%hash) is deprecated at t/Nagios-Plugin-Functions-01.t line 22.
(Maybe you should just omit the defined()?)
t/Nagios-Plugin-Functions-01.t …. ok
t/Nagios-Plugin-Functions-02.t …. ok
t/Nagios-Plugin-Functions-03.t …. ok
t/Nagios-Plugin-Getopt-01.t ……. ok
t/Nagios-Plugin-Getopt-02.t ……. ok
t/Nagios-Plugin-Getopt-03.t ……. ok
t/Nagios-Plugin-Getopt-04.t ……. ok
t/Nagios-Plugin-Performance-02.t .. ok
t/Nagios-Plugin-Performance.t ….. ok
t/Nagios-Plugin-Range.t ……….. ok
t/Nagios-Plugin-Threshold.t ……. ok
All tests successful.
Files=16, Tests=975, 4 wallclock secs ( 0.20 usr 0.02 sys + 3.84 cusr 0.20 csys = 4.26 CPU)
Result: PASS
TONVOON/Nagios-Plugin-0.36.tar.gz
/usr/bin/make test — OK
Running make install
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Performance.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Functions.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Range.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Threshold.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/ExitResult.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Config.pm
Installing /usr/local/share/perl/5.12.4/Nagios/Plugin/Getopt.pm
Installing /usr/local/man/man3/Nagios::Plugin.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Performance.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Getopt.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Threshold.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Range.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Functions.3pm
Installing /usr/local/man/man3/Nagios::Plugin::ExitResult.3pm
Installing /usr/local/man/man3/Nagios::Plugin::Config.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
TONVOON/Nagios-Plugin-0.36.tar.gz
/usr/bin/make install — OK
[/EXPAND]

cpan[3]> quit

Fertig.
Alternativ kann man auch beim Kompilieren von Nagios die Perl-Erweiterung installieren:

./configure --enable-perl-modules

Anschließend noch Make, Make Install machen.
Noch nice to know, wie man sich die bisher installierten Perl Module auflisten lassen kann:

instmodsh

Bringt die Ausgabe:

Available commands are:
l            - List all installed modules
m    - Select a module
q            - Quit the program
cmd?
At cmd? prompt type l to list all installed modules:

Mit der Eingabe von l , bekommt man nun die Ausgabe der Module:

cmd? l
Sample outputs:
Installed modules are:
Archive::Tar
CPAN
Class::Spiffy
Compress::Zlib
Cwd
Digest::SHA