Skip Menu |

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

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

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

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



Subject: Missing methods in the ContactGroup, HostGroup and ServiceGroup Objects.
The ContactGroup, HostGroup and ServiceGroup objects allows you to create nested group membership via the contactgroup_members, hostgroup_members and servicegroup_members methods.
Subject: perl-Nagios-Object-0.21.12-group_members.patch
--- ./lib/Nagios/Object.pm.orig 2010-11-29 14:11:16.000000000 -0500 +++ ./lib/Nagios/Object.pm 2010-11-29 15:33:57.000000000 -0500 @@ -120,6 +120,7 @@ servicegroup_name => [ 'STRING', 18 ], alias => [ 'STRING', 16 ], members => [ [ 'Nagios::Host', 'Nagios::Service' ], 16 ], + servicegroup_members => [ ['Nagios::ServiceGroup'], 280 ], name => [ 'servicegroup_name', 22 ], comment => [ 'comment', 22 ], file => [ 'filename', 22 ] @@ -174,6 +175,7 @@ alias => [ 'STRING', 280 ], contact_groups => [ ['Nagios::ContactGroup'], 40 ], members => [ ['Nagios::Host'], 280 ], + hostgroup_members => [ ['Nagios::HostGroup'], 280 ], name => [ 'hostgroup_name', 280 ], comment => [ 'comment', 280 ], file => [ 'filename', 280 ] @@ -211,6 +213,7 @@ contactgroup_name => [ 'STRING', 280 ], alias => [ 'STRING', 280 ], members => [ ['Nagios::Contact'], 280 ], + contactgroup_members => [ ['Nagios::ContactGroup'], 280 ], name => [ 'contactgroup_name', 280 ], comment => [ 'comment', 280 ], file => [ 'filename', 280 ]
Fix is in git.