mirror of https://github.com/zulip/zulip.git
nagios: Add and make the default contact a PagerDuty group.
(imported from commit 6ab1fd777f3ec7804e6b4f31eaa5efad51993f1a)
This commit is contained in:
parent
c01a6ecb1e
commit
d8cd78ec85
|
@ -56,6 +56,12 @@ define contactgroup{
|
|||
members monitoring
|
||||
}
|
||||
|
||||
define contactgroup{
|
||||
contactgroup_name paging_admins
|
||||
alias Nagios Administrators
|
||||
members monitoring,pagerduty
|
||||
}
|
||||
|
||||
define contactgroup{
|
||||
contactgroup_name test
|
||||
alias Nagios Test Administrators
|
||||
|
|
|
@ -21,6 +21,6 @@ define service{
|
|||
max_check_attempts 4
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups admins
|
||||
contact_groups paging_admins
|
||||
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ define service {
|
|||
normal_check_interval 2
|
||||
retry_check_interval 1
|
||||
max_check_attempts 2
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
define service {
|
||||
|
@ -54,4 +55,5 @@ define service {
|
|||
check_command check_debian_packages!22
|
||||
hostgroup_name all
|
||||
max_check_attempts 1
|
||||
contact_groups admins
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue