2012-11-01 15:47:50 +01:00
|
|
|
###############################################################################
|
|
|
|
# contacts.cfg
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# CONTACTS
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
# In this simple config file, a single contact will receive all alerts.
|
|
|
|
|
|
|
|
define contact{
|
|
|
|
contact_name monitoring
|
|
|
|
alias Monitoring
|
|
|
|
service_notification_period 24x7
|
|
|
|
host_notification_period 24x7
|
|
|
|
service_notification_options w,u,c,r
|
|
|
|
host_notification_options d,r
|
2012-11-23 20:03:46 +01:00
|
|
|
service_notification_commands notify-service-by-email, notify-service-by-humbug
|
|
|
|
host_notification_commands notify-host-by-email, notify-host-by-humbug
|
2012-11-01 15:47:50 +01:00
|
|
|
email monitoring@humbughq.com
|
|
|
|
}
|
|
|
|
|
2012-11-15 23:55:18 +01:00
|
|
|
define contact{
|
|
|
|
contact_name test
|
|
|
|
alias Test Monitoring
|
|
|
|
service_notification_period 24x7
|
|
|
|
host_notification_period 24x7
|
|
|
|
service_notification_options w,u,c,r
|
|
|
|
host_notification_options d,r
|
|
|
|
service_notification_commands notify-service-by-email
|
|
|
|
host_notification_commands notify-host-by-email
|
|
|
|
email jesstess@humbughq.com
|
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# CONTACT GROUPS
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
# 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 admins
|
|
|
|
alias Nagios Administrators
|
|
|
|
members monitoring
|
|
|
|
}
|
2012-11-15 23:55:18 +01:00
|
|
|
|
2013-01-02 22:07:52 +01:00
|
|
|
define contactgroup{
|
|
|
|
contactgroup_name paging_admins
|
|
|
|
alias Nagios Administrators
|
|
|
|
members monitoring,pagerduty
|
|
|
|
}
|
|
|
|
|
2012-11-15 23:55:18 +01:00
|
|
|
define contactgroup{
|
|
|
|
contactgroup_name test
|
|
|
|
alias Nagios Test Administrators
|
|
|
|
members test
|
|
|
|
}
|