That is correct.
···
From: Mirza Dedic [mailto:mirde@oppy.com]
Sent: Wednesday, August 10, 2011 2:01 PM
To: Lander, Scott; ‘checkmk-en@lists.mathias-kettner.de’
Subject: RE: Define Contact Group for Specific Host ?
Hi Scott,
So the “van-blackberry” below is treated as a tag that I add to the hosts that need the contact group?
So I would want something like…
service_contactgroups += [
( ’ ntfy_grp1’, [“edi”], ALL_HOSTS, ALL_SERVICES),
]
This would append the the ntfy_grp1 to all the “edi” host tags, as per your instructions?
Thanks.
From: Lander, Scott [mailto:slander@hearstsc.com]
Sent: Wednesday, August 10, 2011 9:25 AM
To: Mirza Dedic; ‘checkmk-en@lists.mathias-kettner.de’
Subject: RE: Define Contact Group for Specific Host ?
service_contactgroups = [
( ’ ntfy_grp1’, [“van-blackberry”], ALL_HOSTS, ALL_SERVICES),
]
Do do one group of services, - say just disk (fs) it would be something like:
service_contactgroups = [
( ’ ntfy_grp1’, [“van-blackberry”], ALL_HOSTS, [‘fs_*’]),
]
Note, also, that usually you would want the syntax service_contactgroups += [
And all_hosts += [
Note the + - this makes it an append, rather than a replace….
From:
checkmk-en-bounces@lists.mathias-kettner.de
[mailto:checkmk-en-bounces@lists.mathias-kettner.de]
On Behalf Of Mirza Dedic
Sent: Wednesday, August 10, 2011 12:13 PM
To: ‘checkmk-en@lists.mathias-kettner.de’
Subject: [Check_mk (english)] Define Contact Group for Specific Host ?
Hello,
Can anyone help me here, I want to add a contact to a specific host being checked, and get notification on any host/service down for that host definition.
If the host is defined as:
all_hosts = [ ‘van-blackberry|win’]
To get custom notification, I would do:
host_contactgroups = [
( ‘ntfy_grp1’, van-blackberry,),
]
service_contactgroups = [
( ’ ntfy_grp1’, van-blackberry, [""] ),
]
Then in my Nagios configuration, I would have a “ntfy_grp1” contact group with the contacts I want in it.
Would this be the correct way to define it?
The Oppenheimer Group ---- CONFIDENTIAL
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is
prohibited.
This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.
The Oppenheimer Group ---- CONFIDENTIAL
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is
prohibited.