Hi list,

i'd like to define a dependency for a service, which depends on another host
(and no special service on it). Is this possible?

If i leave the "service_description" field empty, i get errors and the new
config refuses to load.

Example: I've got a single check for updates on my linux hosts via the
check_multi script. the normal case is that i plan a downtime for the host i
actually have to patch. when i now restart this host after successfull update,
the update-check fails and me and my co-workers retrieve a notification.

-------- snip ---------

define service {
  host_name                       icinga-host
  service_description             Apt-Updates
  check_command                   check_apt_updates!
  contact_groups                  admins
  use                             half-daily
}

define servicedependency {
  dependent_host_name             icinga-host
  dependent_service_description   Apt-Updates
  host_name                       host1, host2, host3
  notification_failure_criteria   w,u,c
}

-------- snip ---------

Greetings,
Simon

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to