Service Dependencies "wildcarding" error ?

Scott lists.scott at themagicbox.net
Wed Oct 16 12:32:37 CEST 2002


how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it?
  ----- Original Message ----- 
  From: Paulo Pinto 
  To: nagios-users at lists.sourceforge.net 
  Sent: Tuesday, October 15, 2002 11:00 AM
  Subject: [Nagios-users] Service Dependencies "wildcarding" error ?


  Hi all.

  I'm trying to setup service dependencies.

  In my case, I want ALL services in host A to be dependent of service SERVICE on host B.

  So, I've configured dependencies.cfg like this:

  define servicedependency{
          host_name                       HOST-B
          service_description             SERVICE
          dependent_host_name             HOST-A
          dependent_service_description   *
          execution_failure_criteria      n
          notification_failure_criteria   u,c
          }


  Guess what:

  $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg

  (...)
  Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere!
  Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere!
  (...)

  I'm using Nagios 1.0b5, btw

  Any hints ?

  Hugz,

  Japh





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021016/4962d8f5/attachment.html>


More information about the Users mailing list