Service Escalations
Jon Angliss
jon at netdork.net
Fri Sep 5 02:23:02 CEST 2008
On Thu, 04 Sep 2008 14:26:04 -0500, Robert Small <rsmall at ireit.com>
wrote:
>Ok, I¹ve manage to thoroughly confuse my self with service escalations.
>
>Here is an example of my configs:
>
> --service_definitation:
>
>define service{
> use generic-service
> host_name box1,box2
> service_description disk_space
> check_command check_nrpe!check_disks
> contact_groups
>oncall,developers,backup,tech-team,management
> notifications_enabled 1
> }
>
>My escalations config:
>
>define serviceescalation{
[..]
> contact_groups oncall
> }
>
>define serviceescalation{
[..]
> contact_groups oncall,backup
> }
>
>define serviceescalation{
[..]
> contact_groups oncall,backup,tech-team
> }
>
>define serviceescalation{
[..]
> contact_groups oncall,backup,tech-team,management
> }
>My first question:
>There have been two times in the past 24 hours when a service went down, and
>within a minute was acknowledged, and everybody got the acknowledgement, not
>just the oncall person.
I'm a little confused as to why you have everybody in the service
definition, and then break it down in the escallations. It seems a
slightly unusual way of doing it, but based on the verbiage from the
docs, should work...
http://nagios.sourceforge.net/docs/3_0/escalations.html
The way the docs have it laid out, and using your samples, it'd have
the contact_groups for the service as just oncall. Then for the first
service escallation, which would be from 11, to 20 (not 1 to 10), the
groups would be oncall, and backup. Then on the 21-30, it'd be oncall,
backup, and tech-team, etc etc etc.
>And secondly, if I added and everyone¹ to my service contact_groups¹, and
>utilized the time_period option in the escalations config for after hours,
>would everyone get the notification during the day?
It doesn't seem to mention it that way, but yes, it'd appear to behave
that way.
--
Jon Angliss
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list