Service Dependencies "wildcarding" error ?

Paulo Pinto japh at ip.pt
Wed Oct 16 14:06:38 CEST 2002


Hi.

Imagine the following scenario:

- 2 web servers, with 50 Vhosts each.
- 1 Alteon webswitch, virtualizing the 50 Vhosts
- Nagios is monitoring the 150 webservices. A failed service gets notified by SMS. 

Now, without service dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go down, you get 150SMS. 

WITH service dependencies, you can make your webtests depend on the RealServers status on the Alteon... if 1 webserver goes down, you get 1 SMS, if both go down you got 2 sms.
That's why :-)

Anyway, I've already seen in the changelog that wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see if it works :-)

Hugz all.

  ----- Original Message ----- 
  From: Scott 
  To: Paulo Pinto ; nagios-users at lists.sourceforge.net 
  Sent: Wednesday, October 16, 2002 11:32 AM
  Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ?


  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/63eb181f/attachment.html>


More information about the Users mailing list