From 809ea0b246fef36a4b2c987d852a4c984b699a45 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 9 Dec 2013 22:07:59 +0100 Subject: [PATCH] Add dsa-notifier group for IRC notifications --- config/static/objects/contacts.cfg | 9 ++++++++- config/static/objects/generic-host.cfg | 2 +- config/static/objects/generic-service.cfg | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config/static/objects/contacts.cfg b/config/static/objects/contacts.cfg index c62b3bb..c06e183 100644 --- a/config/static/objects/contacts.cfg +++ b/config/static/objects/contacts.cfg @@ -257,10 +257,17 @@ define contact{ # We only have one contact in this simple configuration file, so there is # no need to create more than one contact group. +define contactgroup{ + contactgroup_name dsa-notifier + alias Debian System Administrators (including bots) + members dsa-nsa + contactgroup_members dsa + } + define contactgroup{ contactgroup_name dsa alias Debian System Administrators - members weasel, zobel, sgran, paravoid, tfheen, lfilipoz, dsa-nsa + members weasel, zobel, sgran, paravoid, tfheen, lfilipoz } define contactgroup{ diff --git a/config/static/objects/generic-host.cfg b/config/static/objects/generic-host.cfg index 0302c8b..5b844c3 100644 --- a/config/static/objects/generic-host.cfg +++ b/config/static/objects/generic-host.cfg @@ -18,6 +18,6 @@ define host{ notification_interval 1440 notification_period 24x7 notification_options d,u,r - contact_groups dsa + contact_groups dsa-notifier register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } diff --git a/config/static/objects/generic-service.cfg b/config/static/objects/generic-service.cfg index 93ec6c9..5f27062 100644 --- a/config/static/objects/generic-service.cfg +++ b/config/static/objects/generic-service.cfg @@ -26,6 +26,6 @@ define service{ max_check_attempts 6 notification_period 24x7 notification_options w,u,c,r - contact_groups dsa + contact_groups dsa-notifier register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } -- 2.20.1