Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jfenal [...] free.fr
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.05
Fixed in: (no value)



Subject: Small glitches in Nagios::Object
Hi Al(?:bert), here is a diff with two small modifications in Nagios::Object. The first because a Host can have a contact group, the second being obviously a typo. Regards, J. diff -burN Nagios-Object-0.05/lib/Nagios/Object.pm Nagios-Object/lib/Nagios/Object.pm --- Nagios-Object-0.05/lib/Nagios/Object.pm 2004-07-30 16:32:02.000000000 +0200 +++ Nagios-Object/lib/Nagios/Object.pm 2004-09-21 23:31:05.913316012 +0200 @@ -577,6 +578,7 @@ notification_interval => ['INTEGER', 0, 1], notification_options => [[qw(d u r)], 0, 1], notifications_enabled => ['BINARY', 0, 1], + contact_groups => [['Nagios::ContactGroup'], 0, 1], stalking_options => [[qw(o d u)], 0, 1], name => ['host_name', 0, 0], comment => ['comment', 0, 0], @@ -609,7 +611,7 @@ file => ['filename', 0, 0] }, ContactGroup => { - use => ['Nagios::ContractGroup', 0, 1], + use => ['Nagios::ContactGroup', 0, 1], contactgroup_name => ['STRING', 0, 1], alias => ['STRING', 0, 1], members => [['Nagios::Contact'], 0, 1],
Actually, I already fixed a bunch of those typos in the version I was supposed to release last weekend. It should be out this weekend though ;) A lot of reworking was done in Object.pm to make it easier to extend and to support Nagios 2 in a clear way.