[Check_mk (english)] Define Contact Group for Specific Host ?

Lander, Scott slander at hearstsc.com
Wed Aug 10 18:24:53 CEST 2011

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 at lists.mathias-kettner.de [mailto:checkmk-en-bounces at lists.mathias-kettner.de] On Behalf Of Mirza Dedic
Sent: Wednesday, August 10, 2011 12:13 PM
To: 'checkmk-en at lists.mathias-kettner.de'
Subject: [Check_mk (english)] Define Contact Group for Specific Host ?


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 at hearstsc.com) immediately by email and delete the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20110810/f9211d9f/attachment.htm>

More information about the checkmk-en mailing list