[Check_mk (english)] Separate Mail Alert

Hi,
How can I configure mail alert for each contact separately?
For example I want Piet Janssen to get alerts from host1, host2 and host3.
Sow I make a new contact:
*define contact{
contact_name PietJ
alias Testgroup
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email
}*I make a new contact group:
*define contactgroup{
contactgroup_name Testgroup
alias Group for testing
members PietJ * }
I define the settings in the main.mk
host_contactgroups = [
( “Testgroup”,
??? ),
]
service_contactgroups = [
( “Testgroup”, ???, [ “” ] ),
]

···

But what do I add where the question marks are?

Cheers

Hi Tom,

You are on the right track. Refer to the documentation on host tags in order to be more granular with how check_mk handles alerts:

http://mathias-kettner.de/checkmk_hosttags.html

Best,

Victor Carpetto

···

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of tom sturme
Sent: Thursday, February 17, 2011 8:03 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Separate Mail Alert

Hi,
How can I configure mail alert for each contact separately?
For example I want Piet Janssen to get alerts from host1, host2 and host3.
Sow I make a new contact:
*define contact{
contact_name PietJ
alias Testgroup
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email
}*I make a new contact group:
*define contactgroup{
contactgroup_name Testgroup
alias Group for testing
members PietJ * }
I define the settings in the main.mk
host_contactgroups = [
( “Testgroup”, ??? ),
]
service_contactgroups = [
( “Testgroup”, ???, [ “” ] ),
]


But what do I add where the question marks are?

Cheers