Skip Menu |

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

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

People
Owner: duncan_j_ferguson [...] yahoo.co.uk
Requestors: PIRZYK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21.14
Fixed in: (no value)



Subject: timeperiod in host type should not be an Array
The timeperiod in the host object should be a scalar and not an Array, like it is in the service object.
Subject: perl-Nagios-Object-0.21.14-timeperiod.patch
--- ./lib/Nagios/Object.pm.orig 2011-02-24 12:16:56.000000000 -0500 +++ ./lib/Nagios/Object.pm 2011-02-24 09:12:58.000000000 -0500 @@ -154,7 +154,7 @@ process_perf_data => [ 'BINARY', 280 ], retain_status_information => [ 'BINARY', 280 ], retain_nonstatus_information => [ 'BINARY', 280 ], - notification_period => [ ['Nagios::TimePeriod'], 280 ], + notification_period => [ 'Nagios::TimePeriod', 280 ], notification_interval => [ 'INTEGER', 280 ], notification_options => [ [qw(d u r)], 280 ], notifications_enabled => [ 'BINARY', 280 ],
Patch applied - thanks. Will be in 0.21.15.