OP#436 add nagios hostgroups, and example groups and contacts

This commit is contained in:
2026-03-01 16:02:31 +01:00
parent c0e9342dd3
commit 741bc76fb6
4 changed files with 40 additions and 2 deletions

View File

@@ -36,5 +36,13 @@ class confdroid_nagios::nagios::objects::add_contact_rules (
content => template($ng_contacts_head_erb),
order => '000',
}
# add main contact through define via parameters
confdroid_nagios::nagios::objects::add_contact { $ng_contact_name:
ng_contact_name => $ng_contact_name,
ng_contact_alias => $ng_contact_alias,
ng_contact_groups => $ng_contact_groups,
ng_contact_email => $ng_contact_email,
}
}
}