On Tue, Sep 21, 2010 at 02:28:00PM +0200, nap wrote:
> 
> The repopulation in the broker should be quite quick after a restart. How
> much time did you wait?

5 minutes or so.

> Can you retry with a broker in foreground or with the --debug /tmp/somefile
> option? We can look at the 'deleteing host' and 'adding host' outputs to
> show what is the problem.

Will try the --debug option next time.

In the meantime: How are custom object variables supposed to work ?

Tried:

define host{
       use              linux-server
       host_name        iwr
       address          xxx
       _url             /test/mypage.html
}
define command{
        command_name    check_https
        command_line    /usr/lib/nagios/plugins/check_http -4 --ssl -w 5 -c 10 
-H $HOSTADDRESS$ -u /$_url$
}

$_url$ is always empty. Trying with an argument did not help:

define service{
        use                             local-service
        hostgroup_name                  https
        service_description             Securewebserver
        check_command                   check_https!$_url$
        }

$_url$ is also emty there. Anyone an idea ?

Much thanks,
  Hermann

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: [email protected]

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to