It's a big one... Thanks, I'll look at the bugtrack


# 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...................":types" is not exported by the Params::Validate module

Can't continue after import errors at lib/Nagios/Plugin/Functions.pm line 11

BEGIN failed--compilation aborted at lib/Nagios/Plugin/Functions.pm line 11.

Compilation failed in require at lib/Nagios/Plugin.pm line 4.

BEGIN failed--compilation aborted at lib/Nagios/Plugin.pm line 4.

Compilation failed in require at t/check_stuff.pl line 21.

BEGIN failed--compilation aborted at t/check_stuff.pl line 21.

t/check_stuff...................NOK 1/16

# Failed test 'exits(3) with no args'

# at t/check_stuff.t line 22.

# got: '255'

# expected: '3'

t/check_stuff...................NOK 2/16

# Failed test 'UNKNOWN with no args'

# at t/check_stuff.t line 23.

# ''

# doesn't match '(?-xism:^STUFF UNKNOWN)'

t/check_stuff...................ok 3/16":types" is not exported by the Params::Validate module

Can't continue after import errors at lib/Nagios/Plugin/Functions.pm line 11

BEGIN failed--compilation aborted at lib/Nagios/Plugin/Functions.pm line 11.

Compilation failed in require at lib/Nagios/Plugin.pm line 4.

BEGIN failed--compilation aborted at lib/Nagios/Plugin.pm line 4.

Compilation failed in require at t/check_stuff.pl line 21.

BEGIN failed--compilation aborted at t/check_stuff.pl line 21.

<o:p> </o:p>

# Failed test 'exits(3) with -r 99 '

# at t/check_stuff.t line 47.

# got: '255'

# expected: '3'

<o:p> </o:p>

# Failed test 'UNKNOWN (warning: invalid -r) with -r 99 '

# at t/check_stuff.t line 48.

# ''

# doesn't match '(?i-xsm:UNKNOWN.+invalid)'

t/check_stuff...................NOK 10/16":types" is not exported by the Params::Validate module

Can't continue after import errors at lib/Nagios/Plugin/Functions.pm line 11

BEGIN failed--compilation aborted at lib/Nagios/Plugin/Functions.pm line 11.

Compilation failed in require at lib/Nagios/Plugin.pm line 4.

BEGIN failed--compilation aborted at lib/Nagios/Plugin.pm line 4.

Compilation failed in require at t/check_stuff.pl line 21.

BEGIN failed--compilation aborted at t/check_stuff.pl line 21.

<o:p> </o:p>

# Failed test 'exits(1) with -w 10:15 -c~:15 -r 0'

# at t/check_stuff.t line 67.

# got: '255'

# expected: '1'

<o:p> </o:p>

# Failed test 'looks WARNING with -w 10:15 -c~:15 -r 0'

# at t/check_stuff.t line 68.

# ''

# doesn't match '(?i-xsm:^STUFF WARNING)'

t/check_stuff...................NOK 12/16":types" is not exported by the Params::Validate module

Can't continue after import errors at lib/Nagios/Plugin/Functions.pm line 11

BEGIN failed--compilation aborted at lib/Nagios/Plugin/Functions.pm line 11.

Compilation failed in require at lib/Nagios/Plugin.pm line 4.

BEGIN failed--compilation aborted at lib/Nagios/Plugin.pm line 4.

Compilation failed in require at t/check_stuff.pl line 21.

BEGIN failed--compilation aborted at t/check_stuff.pl line 21.

<o:p> </o:p>

# Failed test 'exits(0) with -w 10:15 -c~:15 -r 11'

# at t/check_stuff.t line 67.

# got: '255'

# expected: '0'

<o:p> </o:p>

# Failed test 'looks OK with -w 10:15 -c~:15 -r 11'

# at t/check_stuff.t line 68.

# ''

# doesn't match '(?i-xsm:^STUFF OK)'

t/check_stuff...................NOK 14/16":types" is not exported by the Params::Validate module

Can't continue after import errors at lib/Nagios/Plugin/Functions.pm line 11

BEGIN failed--compilation aborted at lib/Nagios/Plugin/Functions.pm line 11.

Compilation failed in require at lib/Nagios/Plugin.pm line 4.

BEGIN failed--compilation aborted at lib/Nagios/Plugin.pm line 4.

Compilation failed in require at t/check_stuff.pl line 21.

BEGIN failed--compilation aborted at t/check_stuff.pl line 21.

t/check_stuff...................NOK 15/16

# Failed test 'exits(2) with -w 10:15 -c~:15 -r 15.8'

# at t/check_stuff.t line 67.

# got: '255'

# expected: '2'

t/check_stuff...................NOK 16/16

# Failed test 'looks CRITICAL with -w 10:15 -c~:15 -r 15.8'

# at t/check_stuff.t line 68.

# ''

# doesn't match '(?i-xsm:^STUFF CRITICAL)'

# Looks like you failed 10 tests of 16.

t/check_stuff...................dubious

Test returned status 10 (wstat 2560, 0xa00)

DIED. FAILED tests 1-2, 9-16

Failed 10/16 tests, 37.50% okay (less 6 skipped tests: 0 okay, 0.00%)

t/Nagios-Plugin-01..............

# Failed test 'use Nagios::Plugin;'

# at t/Nagios-Plugin-01.t line 6.

# Tried to use 'Nagios::Plugin'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-01.t line 6.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

t/Nagios-Plugin-01..............NOK 1/13# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Undefined subroutine &Nagios::Plugin::Functions::_fake_exit called at t/Nagios-Plugin-01.t line 9.

# Looks like you planned 13 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-01..............dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-13

Failed 13/13 tests, 0.00% okay

t/Nagios-Plugin-02..............

# Failed test 'use Nagios::Plugin;'

# at t/Nagios-Plugin-02.t line 6.

# Tried to use 'Nagios::Plugin'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-02.t line 6.

t/Nagios-Plugin-02..............NOK 1/103# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 12.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 13.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 14.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 15.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 16.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 24.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 24.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 24.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 24.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 24.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 63.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 63.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 70.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 76.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 94.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 104.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 104.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 104.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 104.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 104.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-02.t line 158.

Execution of t/Nagios-Plugin-02.t aborted due to compilation errors.

# Looks like you planned 103 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-02..............dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-103

Failed 103/103 tests, 0.00% okay

t/Nagios-Plugin-03..............

# Failed test 'use Nagios::Plugin;'

# at t/Nagios-Plugin-03.t line 7.

# Tried to use 'Nagios::Plugin'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-03.t line 7.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

t/Nagios-Plugin-03..............NOK 1/61# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

t/Nagios-Plugin-03..............ok 2/61Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 29.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 45.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 53.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 61.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 68.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 75.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 82.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 89.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 128.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 136.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 144.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 152.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 160.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 168.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 179.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 185.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 191.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 198.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 204.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 213.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 219.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 225.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 232.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 238.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-03.t line 245.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 20.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 20.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 20.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 45.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 53.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 61.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 68.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 75.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 82.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 89.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 128.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 136.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 144.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 152.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 160.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 168.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 176.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 177.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 179.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 183.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 185.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 189.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 191.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 195.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 196.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 198.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 202.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 204.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 213.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 219.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 225.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 232.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 238.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-03.t line 245.

Execution of t/Nagios-Plugin-03.t aborted due to compilation errors.

# Looks like you planned 61 tests but only ran 2.

# Looks like you failed 1 test of 2 run.

# Looks like your test died just after 2.

t/Nagios-Plugin-03..............dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1, 3-61

Failed 60/61 tests, 1.64% okay

t/Nagios-Plugin-04..............

# Failed test 'use Nagios::Plugin;'

# at t/Nagios-Plugin-04.t line 8.

# Tried to use 'Nagios::Plugin'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-04.t line 8.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin.pm line 4.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

t/Nagios-Plugin-04..............NOK 1/26Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 50.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 51.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 52.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 53.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 56.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 62.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 69.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 81.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 82.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 83.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 84.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 90.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 91.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 92.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-04.t line 93.

Execution of t/Nagios-Plugin-04.t aborted due to compilation errors.

# Looks like you planned 26 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-04..............dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-26

Failed 26/26 tests, 0.00% okay

t/Nagios-Plugin-Functions-01....NOK 1/112

# Failed test 'use Nagios::Plugin::Functions;'

# at t/Nagios-Plugin-Functions-01.t line 5.

# Tried to use 'Nagios::Plugin::Functions'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Functions-01.t line 5.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 22.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 23.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 23.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 24.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 24.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 25.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 25.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 26.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 26.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 27.

Global symbol "%ERRORS" requires explicit package name at t/Nagios-Plugin-Functions-01.t line 27.

Bareword "get_shortname" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 19.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 23.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 24.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 25.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 26.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 27.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 31.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 31.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 31.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 31.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 31.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 70.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 70.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 77.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 83.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 101.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 111.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 111.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 111.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 111.

Bareword "DEPENDENT" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-01.t line 111.

Execution of t/Nagios-Plugin-Functions-01.t aborted due to compilation errors.

# Looks like you planned 112 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Functions-01....dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-112

Failed 112/112 tests, 0.00% okay

t/Nagios-Plugin-Functions-02....NOK 1/37

# Failed test 'use Nagios::Plugin::Functions;'

# at t/Nagios-Plugin-Functions-02.t line 6.

# Tried to use 'Nagios::Plugin::Functions'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Functions-02.t line 6.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 21.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 37.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 45.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 53.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 60.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 67.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 74.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 81.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 120.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 128.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 136.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 144.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 152.

Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Functions-02.t line 160.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 12.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 12.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 12.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 37.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 45.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 53.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 60.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 67.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 74.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 81.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 120.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 128.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 136.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 144.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 152.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-02.t line 160.

Execution of t/Nagios-Plugin-Functions-02.t aborted due to compilation errors.

# Looks like you planned 37 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Functions-02....dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-37

Failed 37/37 tests, 0.00% okay

t/Nagios-Plugin-Functions-03....

# Failed test 'use Nagios::Plugin::Functions;'

# at t/Nagios-Plugin-Functions-03.t line 6.

t/Nagios-Plugin-Functions-03....NOK 1/8# Tried to use 'Nagios::Plugin::Functions'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Functions-03.t line 6.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 8.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 8.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 10.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 11.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 11.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 13.

Bareword "CRITICAL" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 14.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 15.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 15.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 15.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 17.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 17.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 17.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "OK" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "WARNING" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 19.

Bareword "UNKNOWN" not allowed while "strict subs" in use at t/Nagios-Plugin-Functions-03.t line 21.

Execution of t/Nagios-Plugin-Functions-03.t aborted due to compilation errors.

# Looks like you planned 8 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Functions-03....dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-8

Failed 8/8 tests, 0.00% okay

t/Nagios-Plugin-Getopt-01.......

# Failed test 'use Nagios::Plugin::Getopt;'

# at t/Nagios-Plugin-Getopt-01.t line 6.

# Tried to use 'Nagios::Plugin::Getopt'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Getopt-01.t line 6.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

t/Nagios-Plugin-Getopt-01.......NOK 1/76Can't use string ("plugin") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.1/Class/Accessor.pm line 122.

# Looks like you planned 76 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Getopt-01.......dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-76

Failed 76/76 tests, 0.00% okay

t/Nagios-Plugin-Getopt-02.......NOK 1/14

# Failed test 'use Nagios::Plugin::Getopt;'

# at t/Nagios-Plugin-Getopt-02.t line 6.

# Tried to use 'Nagios::Plugin::Getopt'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Getopt-02.t line 6.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Can't use string ("blurb") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.1/Class/Accessor.pm line 122.

# Looks like you planned 14 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Getopt-02.......dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-14

Failed 14/14 tests, 0.00% okay

t/Nagios-Plugin-Getopt-03.......

# Failed test 'use Nagios::Plugin::Getopt;'

# at t/Nagios-Plugin-Getopt-03.t line 9.

# Tried to use 'Nagios::Plugin::Getopt'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Getopt-03.t line 9.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# Compilation failed in require at (eval 6) line 2.

# BEGIN failed--compilation aborted at (eval 6) line 2.

t/Nagios-Plugin-Getopt-03.......NOK 1/0Can't use string ("usage") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.1/Class/Accessor.pm line 122.

# Looks like you failed 1 test of 1.

# Looks like your test died just after 1.

t/Nagios-Plugin-Getopt-03.......dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED test 1

Failed 1/1 tests, 0.00% okay

t/Nagios-Plugin-Getopt-04.......

# Failed test 'use Nagios::Plugin::Getopt;'

# at t/Nagios-Plugin-Getopt-04.t line 6.

# Tried to use 'Nagios::Plugin::Getopt'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Getopt-04.t line 6.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Getopt.pm line 15.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

t/Nagios-Plugin-Getopt-04.......NOK 1/11Can't use string ("usage") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.1/Class/Accessor.pm line 122.

# Looks like you planned 11 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Getopt-04.......dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-11

Failed 11/11 tests, 0.00% okay

t/Nagios-Plugin-Performance.....

t/Nagios-Plugin-Performance.....NOK 1/77# Failed test 'use Nagios::Plugin::Performance;'

# at t/Nagios-Plugin-Performance.t line 4.

# Tried to use 'Nagios::Plugin::Performance'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Performance.t line 4.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Performance.pm line 14.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Performance.pm line 14.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Undefined subroutine &Nagios::Plugin::Functions::_fake_exit called at t/Nagios-Plugin-Performance.t line 9.

# Looks like you planned 77 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Performance.....dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-77

Failed 77/77 tests, 0.00% okay

t/Nagios-Plugin-Range...........

# Failed test 'use Nagios::Plugin::Range;'

t/Nagios-Plugin-Range...........NOK 1/149# at t/Nagios-Plugin-Range.t line 7.

# Tried to use 'Nagios::Plugin::Range'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Range.t line 7.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Range.pm line 14.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Range.pm line 14.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

Can't locate object method "parse_range_string" via package "Nagios::Plugin::Range" at t/Nagios-Plugin-Range.t line 28.

# Looks like you planned 149 tests but only ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test died just after 1.

t/Nagios-Plugin-Range...........dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-149

Failed 149/149 tests, 0.00% okay

t/Nagios-Plugin-Threshold.......

# Failed test 'use Nagios::Plugin::Threshold;'

# at t/Nagios-Plugin-Threshold.t line 5.

# Tried to use 'Nagios::Plugin::Threshold'.

# Error: ":types" is not exported by the Params::Validate module

# Can't continue after import errors at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Functions.pm line 11

# BEGIN failed--compilation aborted at t/Nagios-Plugin-Threshold.t line 5.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Range.pm line 14.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Range.pm line 14.

# Compilation failed in require at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Threshold.pm line 11.

# BEGIN failed--compilation aborted at /root/.cpan/build/Nagios-Plugin-0.17-yTDSVf/blib/lib/Nagios/Plugin/Threshold.pm line 11.

# Compilation failed in require at (eval 3) line 2.

# BEGIN failed--compilation aborted at (eval 3) line 2.

t/Nagios-Plugin-Threshold.......NOK 1/87Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Plugin-Threshold.t line 39.

BEGIN not safe after errors--compilation aborted at t/Nagios-Plugin-Threshold.t line 45.

# Looks like you planned 87 tests but only ran 2.

# Looks like you failed 1 test of 2 run.

# Looks like your test died just after 2.

t/Nagios-Plugin-Threshold.......dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1, 3-87

Failed 86/87 tests, 1.15% okay

Failed Test Stat Wstat Total Fail List of Failed

-------------------------------------------------------------------------------

t/Nagios-Plugin-01.t 255 65280 13 25 1-13

t/Nagios-Plugin-02.t 255 65280 103 205 1-103

t/Nagios-Plugin-03.t 255 65280 61 119 1 3-61

t/Nagios-Plugin-04.t 255 65280 26 51 1-26

t/Nagios-Plugin-Functions-01.t 255 65280 112 223 1-112

t/Nagios-Plugin-Functions-02.t 255 65280 37 73 1-37

t/Nagios-Plugin-Functions-03.t 255 65280 8 15 1-8

t/Nagios-Plugin-Getopt-01.t 255 65280 76 151 1-76

t/Nagios-Plugin-Getopt-02.t 255 65280 14 27 1-14

t/Nagios-Plugin-Getopt-03.t 255 65280 1 1 1

t/Nagios-Plugin-Getopt-04.t 255 65280 11 21 1-11

t/Nagios-Plugin-Performance.t 255 65280 77 153 1-77

t/Nagios-Plugin-Range.t 255 65280 149 297 1-149

t/Nagios-Plugin-Threshold.t 255 65280 87 171 1 3-87

t/check_stuff.t 10 2560 16 10 1-2 9-16

6 subtests skipped.

Failed 15/15 test scripts. 783/791 subtests failed.

Files=15, Tests=791, 3 wallclock secs ( 3.10 cusr + 0.17 csys =


In reply to Re^2: Nagios::Plugin issue with :type in Params::Validate (installation) by paulskav
in thread Nagios::Plugin issue with :type in Params::Validate (installation) by paulskav

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.