Dependencies not working, HELP!

Hollist, Seth Seth.Hollist at ingenix.com
Fri Sep 24 22:58:42 CEST 2004


I've attached a couple of pictures to help illistrate this problem.
 
I setup a basic check_nrpe as the parent depedancy for all the services it's
used to check, but when a machine goes down, everything but, NRPE goes red.
It's amost like something is setup backwards, and I'm not sure what it would
be.  As you can see from the picture the NRPE service's "Satus Data Age" is
over 19 minuts.  This is after the machine had been down for about 20
minuts, and I had gotten notifications about all the services being down.
Here's what my congiuration for this machine looks like:
 
## Fedora ##
define host{
        use                     generic-unix-host
        host_name               fedora
        alias                   Fedora
        address                 10.128.52.226
        check_command           check-host-alive
        }
 
define service{
        use                             generic-unix-service
        host_name                       fedora
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%
        }
define servicedependency{
        use                             generic-service-deps
        name                            fedora-service-deps
        host_name                       fedora
        dependent_host_name             fedora
        register                        0
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     USERS
        check_command           check_nrpe!check_users
        }
define servicedependency{
        use                             fedora-service-deps
        service_description             USERS
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     LOAD
        check_command           check_nrpe!check_load
        }
define servicedependency{
        use                             fedora-service-deps
        service_description             LOAD
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     NRPE
        check_command           check_nrpe_up
        }
define servicedependency{
        use                             fedora-service-deps
        service_description             NRPE
        }
define servicedependency{
        use                             generic-service-deps
        name                            fedora-nrpe-service-deps
        dependent_service_description   NRPE
        host_name                       fedora
        dependent_host_name             fedora
        register                        0
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-root
        check_command           check_nrpe!check_disk1
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-root
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-boot
        check_command           check_nrpe!check_disk2
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-boot
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-home
        check_command           check_nrpe!check_disk3
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-home
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-tmp
        check_command           check_nrpe!check_disk4
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-tmp
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-usr
        check_command           check_nrpe!check_disk5
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-usr
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-var
        check_command           check_nrpe!check_disk6
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-var
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-var-log
        check_command           check_nrpe!check_disk7
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-var-log
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     DISK-var-tmp
        check_command           check_nrpe!check_disk8
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             DISK-var-tmp
        }
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     ZOMBIES
        check_command           check_nrpe!check_zombie_procs
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             ZOMBIES
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     PROCS
        check_command           check_nrpe!check_total_procs
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             PROCS
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     PROC-max-xinetd
        check_command           check_nrpe!check_proc_max_xinetd
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             PROC-max-xinetd
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     PROC-min-xinetd
        check_command           check_nrpe!check_proc_min_xinetd
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             PROC-min-xinetd
        }
 
define service{
        use                     generic-unix-service
        host_name               fedora
        service_description     ROOT-mail
        check_command           check_nrpe!check_rootmail
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             ROOT-mail
        }
 
define service{
        use                             generic-unix-service
        host_name                       fedora
        max_check_attempts              1
        notification_options            w,u,c
        service_description             LOG-warning
        check_command                   check_nrpe!check_log_warning
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             LOG-warning
        }
 
define service{
        use                             generic-unix-service
        host_name                       fedora
        max_check_attempts              1
        notification_options            w,u,c
        service_description             LOG-notice
        check_command                   check_nrpe!check_log_notice
        }
define servicedependency{
        use                             fedora-nrpe-service-deps
        service_description             LOG-notice
        }


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
    

"Secure Server" made the following
 annotations on 09/24/2004 03:59:10 PM
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
==============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040924/0bcf4e13/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostdown.jpg
Type: image/jpeg
Size: 11556 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040924/0bcf4e13/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostdown-stats.jpg
Type: image/jpeg
Size: 30824 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040924/0bcf4e13/attachment-0001.jpg>


More information about the Users mailing list