Start 2009-01-24T12:15:44 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64\site\bin;C:\Perl64\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~2\Perforce\ Going to read C:\cpanfly\var\cpan\Metadata Database was generated on Sat, 24 Jan 2009 11:26:57 GMT Running make for G/GB/GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/G/GB/GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/G/GB/GBARR/CHECKSUMS Checksum for C:\cpanfly\var\cpan\sources\authors\id\G\GB\GBARR\Nagios-Plugin-Beanstalk-0.02.tar.gz ok Nagios-Plugin-Beanstalk-0.02/ Nagios-Plugin-Beanstalk-0.02/check_beanstalkd Nagios-Plugin-Beanstalk-0.02/lib/ Nagios-Plugin-Beanstalk-0.02/lib/Nagios/ Nagios-Plugin-Beanstalk-0.02/lib/Nagios/Plugin/ Nagios-Plugin-Beanstalk-0.02/lib/Nagios/Plugin/Beanstalk.pm Nagios-Plugin-Beanstalk-0.02/Makefile.PL Nagios-Plugin-Beanstalk-0.02/MANIFEST Nagios-Plugin-Beanstalk-0.02/MANIFEST.SKIP Nagios-Plugin-Beanstalk-0.02/META.yml Nagios-Plugin-Beanstalk-0.02/SIGNATURE Nagios-Plugin-Beanstalk-0.02/t/ Nagios-Plugin-Beanstalk-0.02/t/00-load.t CPAN.pm: Going to build G/GB/GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz >>> C:\Perl64\bin\perl.exe Makefile.PL Warning: prerequisite Nagios::Plugin 0 not found. Checking if your kit is complete... Looks good Writing Makefile for Nagios::Plugin::Beanstalk ---- Unsatisfied dependencies detected during ---- ---- GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz ---- Nagios::Plugin [requires] Running make test Delayed until after prerequisites Running test for module 'Nagios::Plugin' Running make for T/TO/TONVOON/Nagios-Plugin-0.31.tar.gz Checksum for C:\cpanfly\var\cpan\sources\authors\id\T\TO\TONVOON\Nagios-Plugin-0.31.tar.gz ok Nagios-Plugin-0.31/ Nagios-Plugin-0.31/Changes Nagios-Plugin-0.31/lib/ Nagios-Plugin-0.31/lib/Nagios/ Nagios-Plugin-0.31/lib/Nagios/Plugin/ Nagios-Plugin-0.31/lib/Nagios/Plugin/Config.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/ExitResult.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/Functions.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/Getopt.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/Performance.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/Range.pm Nagios-Plugin-0.31/lib/Nagios/Plugin/Threshold.pm Nagios-Plugin-0.31/lib/Nagios/Plugin.pm Nagios-Plugin-0.31/Makefile.PL Nagios-Plugin-0.31/MANIFEST Nagios-Plugin-0.31/META.yml Nagios-Plugin-0.31/README Nagios-Plugin-0.31/t/ Nagios-Plugin-0.31/t/check_stuff.pl Nagios-Plugin-0.31/t/check_stuff.t Nagios-Plugin-0.31/t/Nagios-Plugin-01.t Nagios-Plugin-0.31/t/Nagios-Plugin-02.t Nagios-Plugin-0.31/t/Nagios-Plugin-03.t Nagios-Plugin-0.31/t/Nagios-Plugin-04.t Nagios-Plugin-0.31/t/Nagios-Plugin-Functions-01.t Nagios-Plugin-0.31/t/Nagios-Plugin-Functions-02.t Nagios-Plugin-0.31/t/Nagios-Plugin-Functions-03.t Nagios-Plugin-0.31/t/Nagios-Plugin-Getopt-01.t Nagios-Plugin-0.31/t/Nagios-Plugin-Getopt-02.t Nagios-Plugin-0.31/t/Nagios-Plugin-Getopt-03.t Nagios-Plugin-0.31/t/Nagios-Plugin-Getopt-04.t Nagios-Plugin-0.31/t/Nagios-Plugin-Performance-02.t Nagios-Plugin-0.31/t/Nagios-Plugin-Performance.t Nagios-Plugin-0.31/t/Nagios-Plugin-Range.t Nagios-Plugin-0.31/t/Nagios-Plugin-Threshold.t Nagios-Plugin-0.31/t/npg03/ Nagios-Plugin-0.31/t/npg03/expected/ Nagios-Plugin-0.31/t/npg03/expected/00_basic Nagios-Plugin-0.31/t/npg03/expected/00_noextra Nagios-Plugin-0.31/t/npg03/expected/01_override1 Nagios-Plugin-0.31/t/npg03/expected/02_override2 Nagios-Plugin-0.31/t/npg03/expected/05_disk1 Nagios-Plugin-0.31/t/npg03/expected/05_disk2 Nagios-Plugin-0.31/t/npg03/expected/05_disk3 Nagios-Plugin-0.31/t/npg03/expected/05_disk4 Nagios-Plugin-0.31/t/npg03/expected/05_disk5 Nagios-Plugin-0.31/t/npg03/expected/05_disk6 Nagios-Plugin-0.31/t/npg03/expected/09_funnystuff Nagios-Plugin-0.31/t/npg03/expected/12_nosection_implicit Nagios-Plugin-0.31/t/npg03/input/ Nagios-Plugin-0.31/t/npg03/input/00_basic Nagios-Plugin-0.31/t/npg03/input/00_noextra Nagios-Plugin-0.31/t/npg03/input/01_override1 Nagios-Plugin-0.31/t/npg03/input/02_override2 Nagios-Plugin-0.31/t/npg03/input/05_disk1 Nagios-Plugin-0.31/t/npg03/input/05_disk2 Nagios-Plugin-0.31/t/npg03/input/05_disk3 Nagios-Plugin-0.31/t/npg03/input/05_disk4 Nagios-Plugin-0.31/t/npg03/input/05_disk5 Nagios-Plugin-0.31/t/npg03/input/05_disk6 Nagios-Plugin-0.31/t/npg03/input/09_funnystuff Nagios-Plugin-0.31/t/npg03/input/12_nosection_implicit Nagios-Plugin-0.31/t/npg03/input/13_nosection_explicit_dies Nagios-Plugin-0.31/t/npg03/input/14_badsection_dies Nagios-Plugin-0.31/t/npg03/plugins.ini Nagios-Plugin-0.31/t/npg03/README CPAN.pm: Going to build T/TO/TONVOON/Nagios-Plugin-0.31.tar.gz >>> C:\Perl64\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Nagios::Plugin >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. 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 TONVOON/Nagios-Plugin-0.31.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\Perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/check_stuff..................... 1..14 ok 1 - exits(3) with no args ok 2 - UNKNOWN with no args ok 3 - exits(3) with -V arg ok 4 - looks like there's a version # running `C:\Perl64\bin\perl.exe -Ilib t/check_stuff.pl -r 99 ` ok 5 - exits(3) with -h arg ok 6 - looks like there's something helpful # output: 'STUFF UNKNOWN - invalid number supplied for the -r option # ' # running `C:\Perl64\bin\perl.exe -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 0` ok 7 - exits(3) with -r 99 ok 8 - UNKNOWN (warning: invalid -r) with -r 99 # output: 'STUFF WARNING - sample result was 0 # ' # running `C:\Perl64\bin\perl.exe -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 15.8` ok 9 - exits(1) with -w 10:15 -c~:15 -r 0 ok 10 - looks WARNING with -w 10:15 -c~:15 -r 0 # output: 'STUFF CRITICAL - sample result was 15.8 # ' # running `C:\Perl64\bin\perl.exe -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 11` ok 11 - exits(2) with -w 10:15 -c~:15 -r 15.8 ok 12 - looks CRITICAL with -w 10:15 -c~:15 -r 15.8 # output: 'STUFF OK - sample result was 11 # ' ok 13 - exits(0) with -w 10:15 -c~:15 -r 11 ok 14 - looks OK with -w 10:15 -c~:15 -r 11 ok t/Nagios-Plugin-01................ 1..13 ok 1 - use Nagios::Plugin; # # using Nagios::Plugin revision 0.31 ok 2 - The object isa Nagios::Plugin ok 3 - shortname explicitly set correctly ok 4 - shortname should default on new ok 5 - shortname set correctly on new # warn if < 10, critical if > 25 ok 6 - Perfdata correct ok 7 - Perfdata correct when no uom specified ok 8 - Output okay. -1 = WARNING ok 9 - Output okay. 1 = WARNING ok 10 - Output okay. 20 = OK ok 11 - Output okay. 25 = OK ok 12 - Output okay. 26 = CRITICAL ok 13 - Output okay. 30 = CRITICAL ok t/Nagios-Plugin-02................ 1..103 ok 1 - use Nagios::Plugin; ok 2 - OK => 0 ok 3 - WARNING => 1 ok 4 - CRITICAL => 2 ok 5 - UNKNOWN => 3 ok 6 - DEPENDENT => 4 ok 7 - shortname() is TEST_PLUGIN ok 8 - nagios_exit(OK, $msg) returned 0 ok 9 - nagios_exit(OK, $msg) output matched "TEST_PLUGIN OK.*test the first" ok 10 - nagios_exit("OK", $msg) returned 0 ok 11 - nagios_exit("OK", $msg) output matched "TEST_PLUGIN OK.*test the first" ok 12 - nagios_exit("OK", $msg) stringified matched "TEST_PLUGIN OK.*test the first" ok 13 - nagios_exit(WARNING, $msg) returned 1 ok 14 - nagios_exit(WARNING, $msg) output matched "TEST_PLUGIN WARNING.*test the second" ok 15 - nagios_exit("WARNING", $msg) returned 1 ok 16 - nagios_exit("WARNING", $msg) output matched "TEST_PLUGIN WARNING.*test the second" ok 17 - nagios_exit("WARNING", $msg) stringified matched "TEST_PLUGIN WARNING.*test the second" ok 18 - nagios_exit(CRITICAL, $msg) returned 2 ok 19 - nagios_exit(CRITICAL, $msg) output matched "TEST_PLUGIN CRITICAL.*test the third" ok 20 - nagios_exit("CRITICAL", $msg) returned 2 ok 21 - nagios_exit("CRITICAL", $msg) output matched "TEST_PLUGIN CRITICAL.*test the third" ok 22 - nagios_exit("CRITICAL", $msg) stringified matched "TEST_PLUGIN CRITICAL.*test the third" ok 23 - nagios_exit(UNKNOWN, $msg) returned 3 ok 24 - nagios_exit(UNKNOWN, $msg) output matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 25 - nagios_exit("UNKNOWN", $msg) returned 3 ok 26 - nagios_exit("UNKNOWN", $msg) output matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 27 - nagios_exit("UNKNOWN", $msg) stringified matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 28 - nagios_exit(DEPENDENT, $msg) returned 4 ok 29 - nagios_exit(DEPENDENT, $msg) output matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 30 - nagios_exit("DEPENDENT", $msg) returned 4 ok 31 - nagios_exit("DEPENDENT", $msg) output matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 32 - nagios_exit("DEPENDENT", $msg) stringified matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 33 - nagios_exit('-1', $msg) returned 3 ok 34 - nagios_exit('-1', $msg) output matched "UNKNOWN.*testing code -1" ok 35 - nagios_exit('7', $msg) returned 3 ok 36 - nagios_exit('7', $msg) output matched "UNKNOWN.*testing code 7" ok 37 - nagios_exit(undef, $msg) returned 3 ok 38 - nagios_exit(undef, $msg) output matched "UNKNOWN.*testing code undef" ok 39 - nagios_exit('', $msg) returned 3 ok 40 - nagios_exit('', $msg) output matched "UNKNOWN.*testing code ''" ok 41 - nagios_exit('string', $msg) returned 3 ok 42 - nagios_exit('string', $msg) output matched "UNKNOWN.*testing code 'string'" ok 43 - nagios_exit('', $msg) output matched "CRITICAL.*" ok 44 - nagios_exit(undef, $msg) output matched "CRITICAL.*" ok 45 - nagios_exit('3', $msg) output matched "CRITICAL.*3" ok 46 - nagios_die('die you dog') returned UNKNOWN ok 47 - nagios_die('die you dog') output matched "UNKNOWN.*die you dog" ok 48 - nagios_die('') returned UNKNOWN ok 49 - nagios_die('') output matched "UNKNOWN.*" ok 50 - nagios_die(undef) returned UNKNOWN ok 51 - nagios_die(undef) output matched "UNKNOWN.*" ok 52 - nagios_die(OK, $msg) returned 0 ok 53 - nagios_die(OK, $msg) output matched "OK.*test the first" ok 54 - nagios_die($msg, OK) returned 0 ok 55 - nagios_die($msg, OK) output matched "OK.*test the first" ok 56 - nagios_die("OK", $msg) returned 0 ok 57 - nagios_die("OK", $msg) output matched "OK.*test the first" ok 58 - nagios_die("OK", $msg) stringified matched "OK.*test the first" ok 59 - nagios_die($msg, "OK") returned 0 ok 60 - nagios_die($msg, "OK") output matched "OK.*test the first" ok 61 - nagios_die($msg, "OK") stringified matched "OK.*test the first" ok 62 - nagios_die(WARNING, $msg) returned 1 ok 63 - nagios_die(WARNING, $msg) output matched "WARNING.*test the second" ok 64 - nagios_die($msg, WARNING) returned 1 ok 65 - nagios_die($msg, WARNING) output matched "WARNING.*test the second" ok 66 - nagios_die("WARNING", $msg) returned 1 ok 67 - nagios_die("WARNING", $msg) output matched "WARNING.*test the second" ok 68 - nagios_die("WARNING", $msg) stringified matched "WARNING.*test the second" ok 69 - nagios_die($msg, "WARNING") returned 1 ok 70 - nagios_die($msg, "WARNING") output matched "WARNING.*test the second" ok 71 - nagios_die($msg, "WARNING") stringified matched "WARNING.*test the second" ok 72 - nagios_die(CRITICAL, $msg) returned 2 ok 73 - nagios_die(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 74 - nagios_die($msg, CRITICAL) returned 2 ok 75 - nagios_die($msg, CRITICAL) output matched "CRITICAL.*test the third" ok 76 - nagios_die("CRITICAL", $msg) returned 2 ok 77 - nagios_die("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 78 - nagios_die("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 79 - nagios_die($msg, "CRITICAL") returned 2 ok 80 - nagios_die($msg, "CRITICAL") output matched "CRITICAL.*test the third" ok 81 - nagios_die($msg, "CRITICAL") stringified matched "CRITICAL.*test the third" ok 82 - nagios_die(UNKNOWN, $msg) returned 3 ok 83 - nagios_die(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 84 - nagios_die($msg, UNKNOWN) returned 3 ok 85 - nagios_die($msg, UNKNOWN) output matched "UNKNOWN.*test the fourth" ok 86 - nagios_die("UNKNOWN", $msg) returned 3 ok 87 - nagios_die("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 88 - nagios_die("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 89 - nagios_die($msg, "UNKNOWN") returned 3 ok 90 - nagios_die($msg, "UNKNOWN") output matched "UNKNOWN.*test the fourth" ok 91 - nagios_die($msg, "UNKNOWN") stringified matched "UNKNOWN.*test the fourth" ok 92 - nagios_die(DEPENDENT, $msg) returned 4 ok 93 - nagios_die(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 94 - nagios_die($msg, DEPENDENT) returned 4 ok 95 - nagios_die($msg, DEPENDENT) output matched "DEPENDENT.*test the fifth" ok 96 - nagios_die("DEPENDENT", $msg) returned 4 ok 97 - nagios_die("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 98 - nagios_die("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 99 - nagios_die($msg, "DEPENDENT") returned 4 ok 100 - nagios_die($msg, "DEPENDENT") output matched "DEPENDENT.*test the fifth" ok 101 - nagios_die($msg, "DEPENDENT") stringified matched "DEPENDENT.*test the fifth" ok 102 - shortname() is 'NAGIOS-PLUGIN-02' ok 103 - message begins with 'NAGIOS-PLUGIN-02 OK' ok t/Nagios-Plugin-03................ 1..61 ok 1 - use Nagios::Plugin; ok 2 - use Nagios::Plugin::Functions; ok 3 - shortname() is NP_CHECK_MESSAGES_03 ok 4 - Code test 1 returned CRITICAL ok 5 - Code test 2 returned WARNING ok 6 - Code test 3 returned OK ok 7 - (critical, warning) code is CRITICAL ok 8 - (critical, warning) message is A B C ok 9 - (critical, warning, ok) code is CRITICAL ok 10 - (critical, warning, ok) message is A B C ok 11 - (critical, warning, $ok) code is CRITICAL ok 12 - (critical, warning, $ok) message is A B C ok 13 - (warning) code is WARNING ok 14 - (warning) message is D E F ok 15 - (warning, ok) code is WARNING ok 16 - (warning, ok) message is D E F ok 17 - (ok) code is OK ok 18 - (ok) message is G H I ok 19 - ($ok) code is OK ok 20 - ($ok) message is G H I ok 21 - joined '+' (critical, warning) message is A+B+C ok 22 - joined '' (warning) message is DEF ok 23 - joined undef (ok) message is G H I ok 24 - (critical, warning, ok) code is CRITICAL ok 25 - join_all ' :: ' (critical, warning, ok) message is A B C :: D E F :: G H I ok 26 - (critical, warning, $ok) code is CRITICAL ok 27 - join_all ' :: ' (critical, warning, $ok) message is A B C :: D E F :: G H I ok 28 - (critical, warning) code is CRITICAL ok 29 - join_all ' :: ' (critical, warning) message is A B C :: D E F ok 30 - (warning, ok) code is WARNING ok 31 - join_all ' :: ' (critical, warning, ok) message is D E F :: G H I ok 32 - (warning, $ok) code is WARNING ok 33 - join_all ' :: ' (critical, warning, $ok) message is D E F :: G H I ok 34 - (warning) code is WARNING ok 35 - join_all ' :: ' (critical, warning) message is D E F ok 36 - (CRITICAL, WARNING) code is CRITICAL ok 37 - (CRITICAL, WARNING) message is A B C ok 38 - (CRITICAL) code is CRITICAL ok 39 - (CRITICAL) message is A B C ok 40 - (WARNING) code is WARNING ok 41 - (WARNING) message is D E F ok 42 - (WARNING, OK) code is WARNING ok 43 - (WARNING, OK) message is D E F ok 44 - (OK) code is OK ok 45 - (OK) message is G H I ok 46 - (critical, warning) code is CRITICAL ok 47 - (critical, warning) message is A B C ok 48 - (critical) code is CRITICAL ok 49 - (critical) message is A B C ok 50 - (warning) code is WARNING ok 51 - (warning) message is D E F ok 52 - (warning, ok) code is WARNING ok 53 - (warning, ok) message is D E F ok 54 - (ok) code is OK ok 55 - (ok) message is G H I ok 56 - () code is OK ok 57 - () message is '' ok 58 - add_message dies on invalid code ok 59 - add_message dies on invalid code ok 60 - add_message dies on UNKNOWN code ok 61 - add_message dies on DEPENDENT code ok t/Nagios-Plugin-04................ 1..26 ok 1 - use Nagios::Plugin; ok 2 - constructor DOESN'T die without usage ok 3 - add_arg() dies if you haven't instantiated with usage ok 4 - getopts() dies if you haven't instantiated with usage ok 5 - Nagios::Plugin->can('opts') ok 6 - Getopt object is defined isa Nagios::Plugin::Getopt ok 7 - warning opt is accessible ok 8 - critical opt is accessible ok 9 - Nagios::Plugin->can('perfdata') ok 10 - Nagios::Plugin->can('threshold') ok 11 - check_threshold dies if called with no args ok 12 - check_threshold OK when called implicitly ok 13 - check_threshold WARNING ok 14 - check_threshold CRITICAL ok 15 - check_threshold CRITICAL with hash param ok 16 - check_threshold explicit OK ok 17 - check_threshold explicit WARNING ok 18 - check_threshold explicit CRITICAL ok 19 - everything is now UNKNOWN ok 20 - everything is now UNKNOWN ok 21 - everything is now UNKNOWN ok 22 - everything is now UNKNOWN ok 23 - check_threshold works (WARNING) after explicit set_thresholds ok 24 - and again ok 25 - and again ok 26 - now OK ok t/Nagios-Plugin-Functions-01...... 1..113 ok 1 - use Nagios::Plugin::Functions; ok 2 - use Nagios::Plugin; ok 3 - Version number for Nagios::Plugin the same as Functions: 0.31 ok 4 - use Nagios::Plugin::Threshold; ok 5 - Version number for Nagios::Plugin::Threshold the same as Functions: 0.31 ok 6 - use Nagios::Plugin::Getopt; ok 7 - Version number for Nagios::Plugin::Getopt the same as Functions: 0.31 ok 8 - use Nagios::Plugin::Performance; ok 9 - Version number for Nagios::Plugin::Performance the same as Functions: 0.31 ok 10 - use Nagios::Plugin::Range; ok 11 - Version number for Nagios::Plugin::Range the same as Functions: 0.31 ok 12 - get_shortname ok ok 13 - %ERRORS defined ok 14 - OK => 0 ok 15 - WARNING => 1 ok 16 - CRITICAL => 2 ok 17 - UNKNOWN => 3 ok 18 - DEPENDENT => 4 ok 19 - nagios_exit(OK, $msg) returned 0 ok 20 - nagios_exit(OK, $msg) output matched "OK.*test the first" ok 21 - nagios_exit("OK", $msg) returned 0 ok 22 - nagios_exit("OK", $msg) output matched "OK.*test the first" ok 23 - nagios_exit("OK", $msg) stringified matched "OK.*test the first" ok 24 - nagios_exit(WARNING, $msg) returned 1 ok 25 - nagios_exit(WARNING, $msg) output matched "WARNING.*test the second" ok 26 - nagios_exit("WARNING", $msg) returned 1 ok 27 - nagios_exit("WARNING", $msg) output matched "WARNING.*test the second" ok 28 - nagios_exit("WARNING", $msg) stringified matched "WARNING.*test the second" ok 29 - nagios_exit(CRITICAL, $msg) returned 2 ok 30 - nagios_exit(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 31 - nagios_exit("CRITICAL", $msg) returned 2 ok 32 - nagios_exit("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 33 - nagios_exit("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 34 - nagios_exit(UNKNOWN, $msg) returned 3 ok 35 - nagios_exit(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 36 - nagios_exit("UNKNOWN", $msg) returned 3 ok 37 - nagios_exit("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 38 - nagios_exit("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 39 - nagios_exit(DEPENDENT, $msg) returned 4 ok 40 - nagios_exit(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 41 - nagios_exit("DEPENDENT", $msg) returned 4 ok 42 - nagios_exit("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 43 - nagios_exit("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 44 - nagios_exit('-1', $msg) returned 3 ok 45 - nagios_exit('-1', $msg) output matched "UNKNOWN.*testing code -1" ok 46 - nagios_exit('7', $msg) returned 3 ok 47 - nagios_exit('7', $msg) output matched "UNKNOWN.*testing code 7" ok 48 - nagios_exit(undef, $msg) returned 3 ok 49 - nagios_exit(undef, $msg) output matched "UNKNOWN.*testing code undef" ok 50 - nagios_exit('', $msg) returned 3 ok 51 - nagios_exit('', $msg) output matched "UNKNOWN.*testing code ''" ok 52 - nagios_exit('string', $msg) returned 3 ok 53 - nagios_exit('string', $msg) output matched "UNKNOWN.*testing code 'string'" ok 54 - nagios_exit('', $msg) output matched "CRITICAL.*" ok 55 - nagios_exit(undef, $msg) output matched "CRITICAL.*" ok 56 - nagios_exit('3', $msg) output matched "CRITICAL.*3" ok 57 - nagios_die('die you dog') returned UNKNOWN ok 58 - nagios_die('die you dog') output matched "UNKNOWN.*die you dog" ok 59 - nagios_die('') returned UNKNOWN ok 60 - nagios_die('') output matched "UNKNOWN.*" ok 61 - nagios_die(undef) returned UNKNOWN ok 62 - nagios_die(undef) output matched "UNKNOWN.*" ok 63 - nagios_die(OK, $msg) returned 0 ok 64 - nagios_die(OK, $msg) output matched "OK.*test the first" ok 65 - nagios_die($msg, OK) returned 0 ok 66 - nagios_die($msg, OK) output matched "OK.*test the first" ok 67 - nagios_die("OK", $msg) returned 0 ok 68 - nagios_die("OK", $msg) output matched "OK.*test the first" ok 69 - nagios_die("OK", $msg) stringified matched "OK.*test the first" ok 70 - nagios_die($msg, "OK") returned 0 ok 71 - nagios_die($msg, "OK") output matched "OK.*test the first" ok 72 - nagios_die($msg, "OK") stringified matched "OK.*test the first" ok 73 - nagios_die(WARNING, $msg) returned 1 ok 74 - nagios_die(WARNING, $msg) output matched "WARNING.*test the second" ok 75 - nagios_die($msg, WARNING) returned 1 ok 76 - nagios_die($msg, WARNING) output matched "WARNING.*test the second" ok 77 - nagios_die("WARNING", $msg) returned 1 ok 78 - nagios_die("WARNING", $msg) output matched "WARNING.*test the second" ok 79 - nagios_die("WARNING", $msg) stringified matched "WARNING.*test the second" ok 80 - nagios_die($msg, "WARNING") returned 1 ok 81 - nagios_die($msg, "WARNING") output matched "WARNING.*test the second" ok 82 - nagios_die($msg, "WARNING") stringified matched "WARNING.*test the second" ok 83 - nagios_die(CRITICAL, $msg) returned 2 ok 84 - nagios_die(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 85 - nagios_die($msg, CRITICAL) returned 2 ok 86 - nagios_die($msg, CRITICAL) output matched "CRITICAL.*test the third" ok 87 - nagios_die("CRITICAL", $msg) returned 2 ok 88 - nagios_die("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 89 - nagios_die("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 90 - nagios_die($msg, "CRITICAL") returned 2 ok 91 - nagios_die($msg, "CRITICAL") output matched "CRITICAL.*test the third" ok 92 - nagios_die($msg, "CRITICAL") stringified matched "CRITICAL.*test the third" ok 93 - nagios_die(UNKNOWN, $msg) returned 3 ok 94 - nagios_die(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 95 - nagios_die($msg, UNKNOWN) returned 3 ok 96 - nagios_die($msg, UNKNOWN) output matched "UNKNOWN.*test the fourth" ok 97 - nagios_die("UNKNOWN", $msg) returned 3 ok 98 - nagios_die("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 99 - nagios_die("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 100 - nagios_die($msg, "UNKNOWN") returned 3 ok 101 - nagios_die($msg, "UNKNOWN") output matched "UNKNOWN.*test the fourth" ok 102 - nagios_die($msg, "UNKNOWN") stringified matched "UNKNOWN.*test the fourth" ok 103 - nagios_die(DEPENDENT, $msg) returned 4 ok 104 - nagios_die(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 105 - nagios_die($msg, DEPENDENT) returned 4 ok 106 - nagios_die($msg, DEPENDENT) output matched "DEPENDENT.*test the fifth" ok 107 - nagios_die("DEPENDENT", $msg) returned 4 ok 108 - nagios_die("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 109 - nagios_die("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 110 - nagios_die($msg, "DEPENDENT") returned 4 ok 111 - nagios_die($msg, "DEPENDENT") output matched "DEPENDENT.*test the fifth" ok 112 - nagios_die($msg, "DEPENDENT") stringified matched "DEPENDENT.*test the fifth" ok 113 - Caught exception ok t/Nagios-Plugin-Functions-02...... 1..37 ok 1 - use Nagios::Plugin::Functions; ok 2 - Code test 1 returned CRITICAL ok 3 - Code test 2 returned WARNING ok 4 - Code test 3 returned OK ok 5 - (critical, warning) code is CRITICAL ok 6 - (critical, warning) message is A B C ok 7 - (critical, warning, ok) code is CRITICAL ok 8 - (critical, warning, ok) message is A B C ok 9 - (critical, warning, $ok) code is CRITICAL ok 10 - (critical, warning, $ok) message is A B C ok 11 - (warning) code is WARNING ok 12 - (warning) message is D E F ok 13 - (warning, ok) code is WARNING ok 14 - (warning, ok) message is D E F ok 15 - (ok) code is OK ok 16 - (ok) message is G H I ok 17 - ($ok) code is OK ok 18 - ($ok) message is G H I ok 19 - joined '+' (critical, warning) message is A+B+C ok 20 - joined '' (warning) message is DEF ok 21 - joined undef (ok) message is G H I ok 22 - (critical, warning, ok) code is CRITICAL ok 23 - join_all ' :: ' (critical, warning, ok) message is A B C :: D E F :: G H I ok 24 - (critical, warning, $ok) code is CRITICAL ok 25 - join_all ' :: ' (critical, warning, $ok) message is A B C :: D E F :: G H I ok 26 - (critical, warning) code is CRITICAL ok 27 - join_all ' :: ' (critical, warning) message is A B C :: D E F ok 28 - (warning, ok) code is WARNING ok 29 - join_all ' :: ' (critical, warning, ok) message is D E F :: G H I ok 30 - (warning, $ok) code is WARNING ok 31 - join_all ' :: ' (critical, warning, $ok) message is D E F :: G H I ok 32 - (warning) code is WARNING ok 33 - join_all ' :: ' (critical, warning) message is D E F ok 34 - check_messages dies without message args ok 35 - check_messages dies without 'critical' message ok 36 - check_messages dies without 'warning' message ok 37 - check_messages ok with 'critical' and 'warning' messages ok t/Nagios-Plugin-Functions-03...... 1..8 ok 1 - use Nagios::Plugin::Functions; ok 2 - Moved up to WARNING ok 3 - Still at WARNING ok 4 - Now at CRITICAL ok 5 - This is OK ok 6 - This is still OK, not UNKNOWN ok 7 - Use WARNING in this list ok 8 - Return UNKNOWN if no parameters ok t/Nagios-Plugin-Getopt-01......... 1..76 ok 1 - use Nagios::Plugin::Getopt; ok 2 - constructor ok ok 3 - warning set to 3 ok 4 - critical set to 10 ok 5 - timeout set to 12 ok 6 - constructor ok [extra-opts] test_plugin -w 3 --critical 10 -v -v -v ok 7 - Verbose set to level 3 ok 8 - constructor ok [extra-opts] test_plugin -w 3 --critical 10 --verbose --verbose --verbose ok 9 - Verbose set to level 3 (longhand) ok 10 - constructor ok ok 11 - getopts died on missing args ok 12 - usage message ok 13 - missing arguments ok 14 - verbose set to 0 ok 15 - constructor ok ok 16 - getopts died on missing args ok 17 - usage message ok 18 - missing argument: critical ok 19 - no missing argument: warning ok 20 - warning set to 0 ok 21 - critical undef ok 22 - timeout set to default ok 23 - verbose set to true ok 24 - constructor ok ok 25 - warning 5 (default) ok 26 - critical set to 27 ok 27 - timeout set to 17 ok 28 - verbose set to true ok 29 - constructor ok ok 30 - getopts died on usage ok 31 - usage message ok 32 - no missing arguments ok 33 - constructor ok ok 34 - getopts died on usage ok 35 - usage message ok 36 - no missing arguments ok 37 - constructor ok ok 38 - getopts died on version ok 39 - version info includes plugin name ok 40 - version info includes version ok 41 - version info includes url ok 42 - no usage message ok 43 - no missing arguments ok 44 - constructor ok ok 45 - getopts died on version ok 46 - version info includes plugin name ok 47 - version info includes version ok 48 - version info includes url ok 49 - no usage message ok 50 - no missing arguments ok 51 - constructor ok ok 52 - getopts died on help ok 53 - help includes plugin name ok 54 - help includes version ok 55 - help includes url ok 56 - help includes licence ok 57 - help includes blurb ok 58 - help includes usage message ok 59 - help includes default options 1 ok 60 - help includes default options 2 ok 61 - help includes custom option 1 ok 62 - help includes custom option 2 ok 63 - no missing arguments ok 64 - constructor ok ok 65 - getopts died on help ok 66 - help includes plugin name ok 67 - help includes version ok 68 - help includes url ok 69 - help includes licence ok 70 - help includes blurb ok 71 - help includes usage message ok 72 - help includes default options 1 ok 73 - help includes default options 2 ok 74 - help includes custom option 1 ok 75 - help includes custom option 2, with expanded args ok 76 - no missing arguments ok t/Nagios-Plugin-Getopt-02......... 1..14 ok 1 - use Nagios::Plugin::Getopt; ok 2 - constructor ok ok 3 - default timeout set to 18 ok 4 - constructor ok ok 5 - getopts died on help ok 6 - help timeout changed to 18 ok 7 - constructor ok ok 8 - timeout changed to 25 ok 9 - constructor ok ok 10 - timeout changed to 10 ok 11 - constructor ok ok 12 - timeout changed to 2 ok 13 - loop timed out ok 14 - default timeout handler ok ok t/Nagios-Plugin-Getopt-03......... ok 1 - use Nagios::Plugin::Getopt; ok 2 - 00_basic ok 3 - 00_noextra ok 4 - 01_override1 ok 5 - 02_override2 ok 6 - 05_disk1 ok 7 - 05_disk2 ok 8 - 05_disk3 ok 9 - 05_disk4 ok 10 - 05_disk5 ok 11 - 05_disk6 ok 12 - 09_funnystuff ok 13 - 12_nosection_implicit ok 14 - 13_nosection_explicit_dies (Invalid section 'check_no_section' in config file '') ok 15 - 14_badsection_dies (Invalid section 'bad_section' in config file '') 1..15 ok t/Nagios-Plugin-Getopt-04......... 1..11 ok 1 - use Nagios::Plugin::Getopt; ok 2 - constructor ok ok 3 - getopts died on help ok 4 - warning ok ok 5 - critical ok ok 6 - x|y|z ok ok 7 - long ok ok 8 - hostname ok ok 9 - avatar ok ok 10 - disk multiline ok ok 11 - limit multiline ok ok t/Nagios-Plugin-Performance-02.... 1..3 ok 1 - use Nagios::Plugin::Performance; ok 2 - use_die correctly set on import ok 3 - use Nagios::Plugin::Performance; NAGIOS-PLUGIN-PERFORMANCE-02 OK - Test OK exit ok t/Nagios-Plugin-Performance....... 1..159 ok 1 - use Nagios::Plugin::Performance; # # using Nagios::Plugin::Performance revision 0.31 ok 2 - perfoutput okay (/=382MB;15264;15269;0;32768) ok 3 - threshold warning okay (15264) ok 4 - threshold critical okay (15269) ok 5 - rrdlabel okay ok 6 - clean_label okay ok 7 - perfoutput okay (/=382MB;15264;15269;0;32768) ok 8 - warning okay (15264) ok 9 - critical okay (15269) ok 10 - perfoutput okay (/var=218MB;9443;9448) ok 11 - threshold warning okay (9443) ok 12 - threshold critical okay (9448) ok 13 - rrdlabel okay ok 14 - clean_label okay ok 15 - perfoutput okay (/var=218MB;9443;9448) ok 16 - warning okay (9443) ok 17 - critical okay (9448) ok 18 - perfoutput okay (/var/long@:-/filesystem/name/and/bad/chars=218MB;9443;9448) ok 19 - threshold warning okay (9443) ok 20 - threshold critical okay (9448) ok 21 - rrdlabel okay ok 22 - clean_label okay ok 23 - perfoutput okay (/var/long@:-/filesystem/name/and/bad/chars=218MB;9443;9448) ok 24 - warning okay (9443) ok 25 - critical okay (9448) ok 26 - label okay ok 27 - rrd label okay ok 28 - value okay ok 29 - uom okay ok 30 - warn okay ok 31 - crit okay ok 32 - min undef ok 33 - max undef ok 34 - label okay ok 35 - rrd label okay ok 36 - value okay ok 37 - uom okay ok 38 - warn okay ok 39 - crit okay ok 40 - Errors correctly ok 41 - Errors on empty string ok 42 - One bad piece of data - only one returned ok 43 - label okay for different numeric ok 44 - value okay ok 45 - uom okay ok 46 - Warning range has been set ok 47 - warn okay ok 48 - Critical range has been set ok 49 - warn okay ok 50 - One bad piece of data - only one returned ok 51 - label okay for different numeric ok 52 - value okay ok 53 - uom okay ok 54 - Warning range has been set ok 55 - warn okay ok 56 - Critical range has been set ok 57 - warn okay ok 58 - label okay ok 59 - value okay ok 60 - uom okay ok 61 - warn okay ok 62 - crit okay ok 63 - label okay ok 64 - value okay with 0 as string ok 65 - uom empty ok 66 - warn okay ok 67 - crit okay ok 68 - label okay ok 69 - label okay ok 70 - label okay ok 71 - value okay ok 72 - uom empty ok 73 - warn okay ok 74 - crit okay ok 75 - parse correctly with linefeed at end (nagiosgraph) ok 76 - label okay ok 77 - value okay ok 78 - uom okay ok 79 - warn okay ok 80 - crit okay ok 81 - label okay ok 82 - value okay ok 83 - uom okay ok 84 - warn okay ok 85 - crit okay ok 86 - changing / to _ ok 87 - Warning range has been set ok 88 - replacing bad characters ok 89 - shortening rrd label ok 90 - label okay ok 91 - value okay ok 92 - uom okay ok 93 - Warning range has been set ok 94 - Critical range has been set ok 95 - warn okay ok 96 - crit okay ok 97 - label okay ok 98 - value okay ok 99 - uom okay ok 100 - Warning range has been set ok 101 - Critical range has been set ok 102 - warn okay ok 103 - crit okay ok 104 - label okay ok 105 - value okay ok 106 - uom okay ok 107 - Warning range has been set ok 108 - Critical range has not been set ok 109 - warn okay ok 110 - label okay ok 111 - value okay ok 112 - uom okay ok 113 - Warning range has been set ok 114 - Critical range has been set ok 115 - warn okay ok 116 - crit okay ok 117 - label okay ok 118 - value okay ok 119 - uom okay ok 120 - Warning range has been set ok 121 - Critical range has been set ok 122 - warn okay ok 123 - warn okay ok 124 - label okay for scientific notation ok 125 - value okay ok 126 - uom okay ok 127 - Warning range has not been set ok 128 - Critical range has not been set ok 129 - label okay for scientific notation in warnings and criticals ok 130 - value okay ok 131 - uom okay ok 132 - Warning range has been set not ok 133 - warn okay # Failed test 'warn okay' # at t/Nagios-Plugin-Performance.t line 219. # got: '-1.1e-005:0.001' # expected: '-1.1e-05:0.001' ok 134 - Critical range has been set not ok 135 - warn okay # Failed test 'warn okay' # at t/Nagios-Plugin-Performance.t line 221. # got: '430:4.3e+025' # expected: '430:4.3e+25' ok 136 - label okay for numeric with commas instead of periods ok 137 - value okay ok 138 - uom okay ok 139 - Warning range has been set ok 140 - warn okay ok 141 - Critical range has been set ok 142 - warn okay ok 143 - label okay for different numeric ok 144 - value okay ok 145 - uom okay ok 146 - Warning range has been set ok 147 - warn okay ok 148 - Critical range has been set ok 149 - warn okay ok 150 - label okay for numeric with commas instead of periods ok 151 - value okay ok 152 - uom okay ok 153 - Warning range has been set ok 154 - warn okay ok 155 - Critical range has been set ok 156 - warn okay ok 157 - Ignored time=1800,600,300,0,3600, but allowed other=45.6 ok 158 - value okay ok 159 - uom okay # Looks like you failed 2 tests of 159. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/159 subtests t/Nagios-Plugin-Range............. 1..151 ok 1 - use Nagios::Plugin::Range; # # using Nagios::Plugin::Range revision 0.31 # 'garbage in' checks -- you should see 7 invalid range definition warnings here: invalid range definition ':' at t/Nagios-Plugin-Range.t line 28 ok 2 - ':' should not be a valid range invalid range definition '1:~' at t/Nagios-Plugin-Range.t line 28 ok 3 - '1:~' should not be a valid range invalid range definition 'foo' at t/Nagios-Plugin-Range.t line 28 ok 4 - 'foo' should not be a valid range invalid range definition '1-10' at t/Nagios-Plugin-Range.t line 28 ok 5 - '1-10' should not be a valid range invalid range definition '10:~' at t/Nagios-Plugin-Range.t line 28 ok 6 - '10:~' should not be a valid range invalid range definition '1-10:2.4' at t/Nagios-Plugin-Range.t line 28 ok 7 - '1-10:2.4' should not be a valid range invalid range definition '1,10' at t/Nagios-Plugin-Range.t line 28 ok 8 - '1,10' should not be a valid range # range: 0..6 inclusive ok 9 - The object isa Nagios::Plugin::Range ok 10 - '6' is valid range ok 11 - Start correct ok 12 - Not using negative infinity ok 13 - End correct ok 14 - Not using positive infinity ok 15 - Stringification back to original ok 16 - -1 should not be in the range (line 61) ok 17 - 0 should be in the range (line 61) ok 18 - 4 should be in the range (line 61) ok 19 - 6 should be in the range (line 61) ok 20 - 6.1 should not be in the range (line 61) ok 21 - 79.999999 should not be in the range (line 61) # range : -7..23, inclusive ok 22 - '-7:23' is valid range ok 23 - Start correct ok 24 - Not using negative infinity ok 25 - End correct ok 26 - Not using positive infinity ok 27 - Stringification back to original ok 28 - -23 should not be in the range (line 82) ok 29 - -7 should be in the range (line 82) ok 30 - -1 should be in the range (line 82) ok 31 - 0 should be in the range (line 82) ok 32 - 4 should be in the range (line 82) ok 33 - 23 should be in the range (line 82) ok 34 - 23.1 should not be in the range (line 82) ok 35 - 79.999999 should not be in the range (line 82) # range : 0..5.75, inclusive ok 36 - ':5.75' is valid range ok 37 - Start correct ok 38 - Not using negative infinity ok 39 - End correct ok 40 - Not using positive infinity ok 41 - Stringification to simplification ok 42 - -1 should not be in the range (line 103) ok 43 - 0 should be in the range (line 103) ok 44 - 4 should be in the range (line 103) ok 45 - 5.75 should be in the range (line 103) ok 46 - 5.7501 should not be in the range (line 103) ok 47 - 6 should not be in the range (line 103) ok 48 - 6.1 should not be in the range (line 103) ok 49 - 79.999999 should not be in the range (line 103) # range : negative infinity .. -95.99, inclusive ok 50 - '~:-95.99' is valid range ok 51 - Using negative infinity ok 52 - End correct ok 53 - Not using positive infinity ok 54 - Stringification back to original ok 55 - -1001341 should be in the range (line 125) ok 56 - -96 should be in the range (line 125) ok 57 - -95.999 should be in the range (line 125) ok 58 - -95.99 should be in the range (line 125) ok 59 - -95.989 should not be in the range (line 125) ok 60 - -95 should not be in the range (line 125) ok 61 - 0 should not be in the range (line 125) ok 62 - 5.7501 should not be in the range (line 125) ok 63 - 79.999999 should not be in the range (line 125) # range 10..infinity , inclusive ok 64 - -1001341 should be in the range (line 128) ok 65 - -96 should be in the range (line 128) ok 66 - -95.999 should be in the range (line 128) ok 67 - -95.99 should be in the range (line 128) ok 68 - -95.989 should not be in the range (line 128) ok 69 - -95 should not be in the range (line 128) ok 70 - 0 should not be in the range (line 128) ok 71 - 5.7501 should not be in the range (line 128) ok 72 - 79.999999 should not be in the range (line 128) ok 73 - '10:' is valid range ok 74 - Start correct ok 75 - Not using negative infinity ok 76 - Using positive infinity ok 77 - Stringification back to original ok 78 - -95.999 should not be in the range (line 144) ok 79 - -1 should not be in the range (line 144) ok 80 - 0 should not be in the range (line 144) ok 81 - 9.91 should not be in the range (line 144) ok 82 - 10 should be in the range (line 144) ok 83 - 11.1 should be in the range (line 144) ok 84 - 123456789012346 should be in the range (line 144) # range 123456789012345..infinity , inclusive ok 85 - -95.999 should not be in the range (line 149) ok 86 - -1 should not be in the range (line 149) ok 87 - 0 should not be in the range (line 149) ok 88 - 9.91 should not be in the range (line 149) ok 89 - 10 should be in the range (line 149) ok 90 - 11.1 should be in the range (line 149) ok 91 - 123456789012346 should be in the range (line 149) ok 92 - '123456789012345:' is valid range ok 93 - Start correct ok 94 - Not using negative infinity ok 95 - Using positive infinity ok 96 - Stringification back to original ok 97 - -95.999 should not be in the range (line 169) ok 98 - -1 should not be in the range (line 169) ok 99 - 0 should not be in the range (line 169) ok 100 - 123456789012344.91 should not be in the range (line 169) ok 101 - 123456789012345 should be in the range (line 169) ok 102 - 123456789012345.61 should be in the range (line 169) ok 103 - 123456789012346 should be in the range (line 169) # range: <= zero ok 104 - '~:0' is valid range ok 105 - Using negative infinity ok 106 - End correct ok 107 - Not using positive infinity ok 108 - Will alert on outside of range ok 109 - Stringification back to original ok 110 - 0.5 - alert ok 111 - -10 - no alert ok 112 - 0 - no alert ok 113 - -123456789012345 should be in the range (line 190) ok 114 - -1 should be in the range (line 190) ok 115 - 0 should be in the range (line 190) ok 116 - 0.001 should not be in the range (line 190) ok 117 - 123456789012345 should not be in the range (line 190) # range: OUTSIDE 0..657.8210567 ok 118 - "@0:657.8210567" is a valid range ok 119 - Start correct ok 120 - Not using negative infinity ok 121 - End correct ok 122 - Not using positive infinity ok 123 - Will alert on inside of range ok 124 - Stringification to simplified version ok 125 - 32.88 - alert ok 126 - -2 - no alert ok 127 - 657.8210567 - alert ok 128 - 0 - alert ok 129 - -134151 should be in the range (line 215) ok 130 - -1 should be in the range (line 215) ok 131 - 0 should not be in the range (line 215) ok 132 - 0.001 should not be in the range (line 215) ok 133 - 657.8210567 should not be in the range (line 215) ok 134 - 657.9 should be in the range (line 215) ok 135 - 123456789012345 should be in the range (line 215) # range: 1..1 inclusive (equals one) ok 136 - "1:1" is a valid range ok 137 - Start correct ok 138 - Not using negative infinity ok 139 - End correct ok 140 - Not using positive infinity ok 141 - Stringification to simplified version ok 142 - 0.5 - alert ok 143 - 1 - no alert ok 144 - 5.2 - alert ok 145 - -1 should not be in the range (line 237) ok 146 - 0 should not be in the range (line 237) ok 147 - 0.5 should not be in the range (line 237) ok 148 - 1 should be in the range (line 237) ok 149 - 1.001 should not be in the range (line 237) ok 150 - 5.2 should not be in the range (line 237) ok 151 - "2:1" is rejected ok t/Nagios-Plugin-Threshold......... 1..87 ok 1 - use Nagios::Plugin::Threshold; ok 2 - use Nagios::Plugin::Functions; # # using Nagios::Plugin::Threshold revision 0.31 # threshold: critical if > 80 ok 3 - Threshold ('', '80') set ok 4 - Warning not set ok 5 - Critical strat set correctly ok 6 - Critical end set correctly ok 7 - not forever ok 8 - -1 - CRITICAL ok 9 - 4 - OK ok 10 - 79.999999 - OK ok 11 - 80 - OK ok 12 - 80.1 - CRITICAL ok 13 - 102321 - CRITICAL # threshold: warn if less than 5 or more than 33. ok 14 - Threshold ('5:33', '') set ok 15 - Warning start set ok 16 - Warning end set ok 17 - Critical not set ok 18 - -1 - WARNING ok 19 - 4 - WARNING ok 20 - 4.999999 - WARNING ok 21 - 5 - OK ok 22 - 14.21 - OK ok 23 - 33 - OK ok 24 - 33.01 - WARNING ok 25 - 10231 - WARNING # threshold: warn if more than 30; critical if > 60 ok 26 - Threshold ('~:30', '~:60') set ok 27 - Warning end set ok 28 - Critical end set ok 29 - Critical starts at negative infinity ok 30 - -1 - OK ok 31 - 4 - OK ok 32 - 29.999999 - OK ok 33 - 30 - OK ok 34 - 30.1 - WARNING ok 35 - 50.90 - WARNING ok 36 - 59.9 - WARNING ok 37 - 60 - WARNING ok 38 - 60.00001 - CRITICAL ok 39 - 10231 - CRITICAL # threshold: critical if > 25 ok 40 - Threshold ('', '~:25') set (~:25) ok 41 - Warning not set ok 42 - Critical end set ok 43 - Critical starts at negative infinity ok 44 - -1 - OK ok 45 - 4 - OK ok 46 - 10 - OK ok 47 - 14.21 - OK ok 48 - 25 - OK ok 49 - 25.01 - CRITICAL ok 50 - 31001 - CRITICAL # threshold: warn if OUTSIDE {10..25} , critical if > 25 ok 51 - Threshold ('10:25', '~:25') set ok 52 - Warning start set ok 53 - Warning end set ok 54 - Critical end set ok 55 - -1 - WARNING ok 56 - 4 - WARNING ok 57 - 9.999999 - WARNING ok 58 - 10 - OK ok 59 - 14.21 - OK ok 60 - 25 - OK ok 61 - 25.01 - CRITICAL ok 62 - 31001 - CRITICAL # warn if INSIDE {10..25} , critical if < 10 ok 63 - -1 - CRITICAL ok 64 - 4 - CRITICAL ok 65 - 9.999999 - CRITICAL ok 66 - 10 - WARNING ok 67 - 14.21 - WARNING ok 68 - 25 - WARNING ok 69 - 25.01 - OK ok 70 - 31001 - OK # threshold mutator: warn if more than 30; critical if > 60 ok 71 - same threshold object after $t->set_thresholds ok 72 - Threshold ('0:45', '0:90') set ok 73 - Warning start ok ok 74 - Warning end ok ok 75 - Critical start ok ok 76 - Critical end ok ok 77 - Threshold from ranges ('50', '70:90') set ok 78 - Warning start ok ok 79 - Warning end ok ok 80 - Critical start ok ok 81 - Critical end ok ok 82 - Threshold from string + range ('~:20', '90:') set ok 83 - Warning start ok (infinity) ok 84 - Warning end ok ok 85 - Critical start ok ok 86 - Critical end ok (infinity) ok 87 - sweet, made it to the end. ok Test Summary Report ------------------- t/Nagios-Plugin-Performance (Wstat: 512 Tests: 159 Failed: 2) Failed tests: 133, 135 Non-zero exit status: 2 Files=16, Tests=891, 14 wallclock secs ( 0.25 usr + 0.77 sys = 1.01 CPU) Result: FAIL Failed 1/16 test programs. 2/891 subtests failed. NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.exe' : return code '0xff' Stop. TONVOON/Nagios-Plugin-0.31.tar.gz nmake test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TONVOON/Nagios-Plugin-0.31.tar.gz Running make for G/GB/GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz Has already been unwrapped into directory C:\cpanfly\var\cpan\build\Nagios-Plugin-Beanstalk-0.02-Yyt4lP CPAN.pm: Going to build G/GB/GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz Warning: Prerequisite 'Nagios::Plugin => 0' for 'GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz' failed when processing 'TONVOON/Nagios-Plugin-0.31.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp lib/Nagios/Plugin/Beanstalk.pm blib\lib\Nagios\Plugin\Beanstalk.pm C:\Perl64\bin\perl.exe -MExtUtils::Command -e cp check_beanstalkd blib\script\check_beanstalkd pl2bat.bat blib\script\check_beanstalkd GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\Perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/00-load.... 1..1 not ok 1 - use Nagios::Plugin::Beanstalk; # Failed test 'use Nagios::Plugin::Beanstalk;' # at t/00-load.t line 3. # Tried to use 'Nagios::Plugin::Beanstalk'. # Error: Can't locate Nagios/Plugin.pm in @INC (@INC contains: C:\cpanfly\var\cpan\build\Nagios-Plugin-Beanstalk-0.02-Yyt4lP\blib\lib C:\cpanfly\var\cpan\build\Nagios-Plugin-Beanstalk-0.02-Yyt4lP\blib\arch C:/cpanfly/var/megalib C:/Perl64/site/lib C:/Perl64/lib .) at C:\cpanfly\var\cpan\build\Nagios-Plugin-Beanstalk-0.02-Yyt4lP\blib\lib/Nagios/Plugin/Beanstalk.pm line 9. # BEGIN failed--compilation aborted at C:\cpanfly\var\cpan\build\Nagios-Plugin-Beanstalk-0.02-Yyt4lP\blib\lib/Nagios/Plugin/Beanstalk.pm line 9. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. # Looks like you failed 1 test of 1. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/00-load (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 1 wallclock secs ( 0.08 usr + 0.05 sys = 0.13 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.exe' : return code '0x1' Stop. GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz nmake test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports GBARR/Nagios-Plugin-Beanstalk-0.02.tar.gz Finished 2009-01-24T12:16:24