Services dependency at nagios

hendro budianto he_anton at yahoo.com
Thu Nov 2 09:37:03 CET 2006


Dear All Nagios master,

I'm just implementations nagios 2.5,
nagios-plugins-1.4.3, NagiosGrapher-1.6-rc1 at Fedora
Core 4.0. So far is good, and i try to using service
dependency function. Configurations sample is below:

define host{
        host_name                       SRPFS2
        hostgroups                      File.Svr
        alias                        SRPFS2 File
Server
        address                        172.16.59.14
        check_command                 
check-host-alive
        max_check_attempts              4
        check_period                    24x7
        contact_groups                  lnadmins
        notification_interval           120
        notification_period             24x7
        notification_options            d,r,f
        parents                         SWITCH_SVR-59
}

define service{
        host_name                       SRPFS2,SRPFS3
        service_description             PING
      check_command check_ping!100.0,20%!500.0,60%
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r,f
        contact_groups                  lnadmins
}

define service{
        host_name                       SRPFS2
        service_description             CheckClient
        check_command                   check_nt_ncnet
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r,f
        contact_groups                  lnadmins
}

define service{
        host_name                       SRPFS2
        service_description             DiskUsageC
   check_command                check_nt_disk!C!80!90
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            w,c,r,f
        contact_groups                  appadmins
}

define service{
        host_name                       SRPFS2
        service_description             DiskUsageD
     check_command               
check_nt_disk!D!80!90
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            w,c,r,f
        contact_groups                  appadmins
}

define servicedependency{
        host_name                       SRPFS2
        service_description             DiskUsageC
        dependent_host_name             SRPFS2
        dependent_service_description   DiskUsageD
        execution_failure_criteria      w,u,c
        notification_failure_criteria   w,u,c
        }

This host is have a four services ping, DiskUsageC,
DiskUsageD and CheckClient running. 
Only service DiskUsageD is warning, but why after
nagios service reload, the services DiskUsageC is
still OK. Isn't DiskUsageC should warning too ?

Thank's for clues before.


Best regards,


Hendro B 


 
____________________________________________________________________________________
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates 
(http://voice.yahoo.com)


-------------------------------------------------------------------------
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