Page 2 of 2

Re: host in 2 groups with clashing service checks - overwrit

Posted: Mon Apr 20, 2015 5:24 pm
by stucky
btw. just to mention..it appears both the service name _and_ service description need to match for nagios to consider this the same service.

Re: host in 2 groups with clashing service checks - overwrit

Posted: Tue Apr 21, 2015 9:17 am
by jdalrymple
Hmmm...

That's not the behavior I get:

Code: Select all

define service {
        host_name                       localhost
        service_description             PING
        use                             local-service
        display_name                    This is one service
        check_command                   check_ping!100.0,20%!500.0,60%!!!!!!
        register                        1
        }

define service {
        host_name                       localhost
        service_description             PING
        use                             local-service
        display_name                    And this is another
        check_command                   check_dummy!2!!!!!!!
        register                        1
        }