Bug or by design? services inheriting contacts from host

Matt Nelson matt at frozenatom.com
Fri Jul 10 23:10:38 CEST 2009


Service:

define service{
    use                     noncritical-service
    host_name               myHost
    service_description     myMonitor
    check_command           bla bla bla
    contact_groups          +myGroup2
}


Host:

define host {
                 use                     default
                 host_name               myHost
                 alias                   myHost
                 address                 myHost.domain
         contact_groups      myGroup1
                }





The problem that I am seeing is that since we have a "contact_groups"
defined in the service it is not taking the myGroup1 from the host and
adding the myGroup2 to that.  So the result is that I am getting
notifications send to myGroup2, but not myGroup1 AND myGroup2 and I am
expecting.

Can someone please shed some light on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090710/a6cd56ee/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list