Skip Menu |

This queue is for tickets about the Nagios-Report CPAN distribution.

Report information
The Basics
Id: 20026
Status: resolved
Priority: 0/
Queue: Nagios-Report

People
Owner: Nobody in particular
Requestors: collins.don [...] orbital.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.002
Fixed in: (no value)



Subject: Nagios-Report date out of range
My nagios.cfg is set to date_format=us ... and when I check the Report.pm that is generated I get use constant EURO_DATE => ; Should this have a value set for it?? Here is the output from make test. [root@vanagios Nagios-Report-0.002]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/before_start....Month '21' out of range 0..11 at /root/nagios/temp/Nagios-Report-0.002/blib/lib/Nagios/Report.pm line 1001 t/before_start....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/comp............ok t/constructor.....ok t/csv_dump........ok t/debug_dump......ok t/excel_dump......ok t/max.............ok t/mkreport........ok t/st_et...........ok t/t2hms...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/before_start.t 255 65280 3 6 200.00% 1-3 Failed 1/10 test scripts, 90.00% okay. 3/108 subtests failed, 97.22% okay. make: *** [test_dynamic] Error 255 I ran this on a test machine and set the date_format in the nagios.cfg to euro and make and make test ran without errors. So this tells me it doesnt like date_format=us This is perl, v5.8.5 built for x86_64-linux-thread-multi Linux vanagios.dulles.orbital.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
On Wed Jun 21 11:26:50 2006, guest wrote: Show quoted text
> My nagios.cfg is set to date_format=us ... and when I check the > Report.pm that is generated I get > > use constant EURO_DATE => ; > > Should this have a value set for it?? > > > Here is the output from make test. > > [root@vanagios Nagios-Report-0.002]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- > e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/before_start....Month '21' out of range 0..11 > at /root/nagios/temp/Nagios-Report-0.002/blib/lib/Nagios/Report.pm > line 1001 > t/before_start....dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1-3 > Failed 3/3 tests, 0.00% okay > t/comp............ok > t/constructor.....ok > t/csv_dump........ok > t/debug_dump......ok > t/excel_dump......ok > t/max.............ok > t/mkreport........ok > t/st_et...........ok > t/t2hms...........ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ---------------------------------------------------------------------
-- Show quoted text
> -------- > t/before_start.t 255 65280 3 6 200.00% 1-3 > Failed 1/10 test scripts, 90.00% okay. 3/108 subtests failed, 97.22% > okay. > make: *** [test_dynamic] Error 255 > > > > > I ran this on a test machine and set the date_format in the
nagios.cfg Show quoted text
> to euro and make and make test ran without errors. > > > So this tells me it doesnt like date_format=us > > This is perl, v5.8.5 built for x86_64-linux-thread-multi > Linux vanagios.dulles.orbital.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 > 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux > >
When I tried to reply to your email, 'Your message did not reach some or all of the intended recipients. Subject: RE: Nagios Perl Modules Sent: 23/06/2006 2:39 PM The following recipient(s) could not be reached: collins.don@orbital.com on 23/06/2006 2:39 PM The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator. <smtphq.orbital.com #5.0.0 X-Notes; Error transferring to NOTESHQ2/ORBVA mail.box ; Database is corrupt -- Cannot allocate space > ' Ah, Lotus Notes. Only thing worse is MS Exchange. Can you try the module out with the amended - manually hacked - Report.pm ? I will try and fix Makefile.PM to edit Report.pm properly and incorporate any more bug fixes you report in a new release. All the best.
Nagios::Report 0.003 has been released. AFAIK, this bug is fixed in 0.003 (Have not heard from the reporter).