Problem with service dependencies

Grzegorz Rumatowski g.rumatowski at gmx.net
Tue May 23 09:29:17 CEST 2006


Hello,

I've defined following service deps:

define servicedependency{
        host_name                       sonorys_gateway
        service_description             PING
        dependent_host_name             sonorys_checkpoint
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       sonorys_checkpoint
        service_description             PING
        dependent_host_name             SILns1,SILns2,SILns3
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       SILns1
        service_description             PING
        dependent_host_name             YESSS-Firewall
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       SILns2
        service_description             PING
        dependent_host_name             YESSS-Firewall
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       SILns3
        service_description             PING
        dependent_host_name             YESSS-Firewall
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       sonorys_checkpoint
        service_description             PING
        dependent_host_name             
onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       sonorys_checkpoint
        service_description             PING
        dependent_host_name             YESSS-Firewall
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       YESSS-Firewall
        service_description             PING
        dependent_host_name             
onein1,onein2,clst1 at YESSS,clst2 at YESSS
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
    host_name            onein1
    service_description        PING
    dependent_host_name        onein1   
    dependent_service_description    SSH
    notification_failure_criteria    c,u
    execution_failure_criteria    c,u
}

define servicedependency{
        host_name                       onein2
        service_description             PING
        dependent_host_name             onein2
        dependent_service_description   SSH
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       onein3
        service_description             PING
        dependent_host_name             onein3
        dependent_service_description   SSH
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       clst1 at YESSS
        service_description             PING
        dependent_host_name             clst1 at YESSS
        dependent_service_description   SSH,Disk Space
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       clst2 at YESSS
        service_description             PING
        dependent_host_name             clst2 at YESSS
        dependent_service_description   SSH,Disk Space
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}

define servicedependency{
        host_name                       onein1
        service_description             SSH
        dependent_host_name             onein1
        dependent_service_description   Disk Space
        notification_failure_criteria   w,u,c
        execution_failure_criteria      w,u,c
}

define servicedependency{
        host_name                       onein2
        service_description             SSH
        dependent_host_name             onein2
        dependent_service_description   Disk Space
        notification_failure_criteria   w,u,c
        execution_failure_criteria      w,u,c
}

define servicedependency{
        host_name                       onein3
        service_description             SSH
        dependent_host_name             onein3
        dependent_service_description   Disk Space
        notification_failure_criteria   w,u,c
        execution_failure_criteria      w,u,c
}

define servicedependency{
        host_name                       clst1 at YESSS
        service_description             SSH
        dependent_host_name             clst1 at YESSS
        dependent_service_description   Disk Space
        notification_failure_criteria   w,u,c
        execution_failure_criteria      w,u,c
}

define servicedependency{
        host_name                       clst2 at YESSS
        service_description             SSH
        dependent_host_name             clst2 at YESSS
        dependent_service_description   Disk Space
        notification_failure_criteria   w,u,c
        execution_failure_criteria      w,u,c
}

define servicedependency{
        host_name                       SILns1
        service_description             PING
        dependent_host_name             
onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS
        dependent_service_description   PING
        notification_failure_criteria   c,u
        execution_failure_criteria      c,u
}
During checking nagios config with nagios -v I'm getting:

Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'clst1 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'clst1 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'SSH' on host 'clst1 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'clst2 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'clst2 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'SSH' on host 'clst2 at YESSS'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'onein1'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'SSH' on host 'onein1'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'onein2'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'SSH' on host 'onein2'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'PING' on host 'onein3'!
Error: A circular execution dependency (which could result in a 
deadlock) exists for service 'SSH' on host 'onein3'!

What is the problem? I don't really understand it

Gregory


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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