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],