[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Managing who gets alerts - shifts and rotations
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Managing who gets alerts - shifts and rotations
- From: Vernon Everett <everett.vernon (at) gmail.com>
- Date: Mon, 11 Oct 2010 16:16:02 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=OdnNs2ZtxUHJv8yoE59WZCS8txmxsjNWAnzWlT5mrCY=; b=m/dsR9Npqc+lA3whP8XYYuMipAp/StMPU0u6pSItgewIPE8MCGrVztZ/NLLbaZgSwz cX4G9KppHB+Yl+BzRr0liQzz1cIzVS1kW5fCjR4gu63hNmX30A4OIcAngyQvERrNupo3 S2eoShJqwdMv4rWOnM84JvW2LfJKy0BMLWA6U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Hq2AjhjpnI6a862tyE+YCKAUaLY/98S2LU3GEyBcEquIbjJP3RJejQb6E0m4dfxK+w W6Rr15ld3YEFK1ZZ3yx/EeZU1v7jNXLLuF+qoOOlwTcfMM/CWsfxIZ5t+j11rDwNHPZ7 sKhqTuEIT2bNHyfpgxySLgQeehjZFzpiYePNQ=
- References: <AANLkTik=Ez4-YGtG1ZM8VUmiqXqCFJXaM=_Ch+h=_H5g (at) mail.gmail.com> <AE6F386A-6C13-4B18-809B-D9768E3998A1 (at) gmail.com> <AANLkTine1B3Sx2CQLvZwLyKmKXsojP9a0mN1t8Q_Ru=Y (at) mail.gmail.com> <AANLkTi=zv3qpCrfWeP8E=a1OHxaZnz=JfNK5EoBQ96Se (at) mail.gmail.com> <AANLkTinOph89V1ndGO-=O0yXkwq_Sz5n7BEhfQ_uv48B (at) mail.gmail.com> <5B7372AB-E232-44C8-AF17-9B35372DAF5A (at) gmail.com> <AANLkTik6dv+r2rn0ECjQXuB6XrFmOWgbYxWLWJWdrH8y (at) mail.gmail.com> <099D34E1-EA9E-4E4C-9609-B7F139372370 (at) gmail.com> <i8u77r$um$1 (at) voodoo.hswn.dk>
Hmmm.
What an interesting thread this is turning out to be. :-)
With regards the problem, how about this one. Divide and conquer.
hobbit-alerts.cfg supports "include" statements.
The config also doesn't get grumpy if we have 2 instances of the same server
with the same tests and different email alerts.
You could then have this in the file
include /path/to/alerts-teamX.cfg
include /path/to/alerts-teamY.cfg
include /path/to/alerts-teamZ.cfg
Permissions allow each team to edit their own files, and each team is then
responsible for ensuring their shifts are updated correctly.
Each team will then have their own version of hobbit-alerts.cfg, which will
then be merged by the includes.
This still allows you to use the mechanism Henrik proposed earlier within
each team config file, but also gives each team a simpler, team-centric
config file.
Of course, this doesn't exclude the possibility of somebody writing a nice
editor :-)
Cheers
V
>
>