Hi

I would like to set a default notes_url in service template and then
override it per service based on the service_name or a custom attribute.
For e.g.

template Service "generic-service" {
  max_check_attempts = 3
  check_interval = 5m
  retry_interval = 1m
  enable_perfdata = true
  *notes_url = "http://doclink.domain.com/docs/
<http://doclink.domain.com/docs/>" + service.name <http://service.name>*
}

I wish to know if the service.name variable is accessible in a service
object and will it be able to create the url as I have defined above.
Is there any other way in which i can dynamically create the notes_url from
a custom attribute inside the service object itself ?
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to