Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12921] Is a Marco in the Notes URL supported in director config? #491

Closed
icinga-migration opened this issue Oct 13, 2016 · 3 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12921

Created by jjsattler on 2016-10-13 16:14:19 +00:00

Assignee: (none)
Status: Closed (closed on 2016-12-13 10:30:34 +00:00)
Target Version: (none)
Last Update: 2016-12-13 10:30:34 +00:00 (in Redmine)


I am trying to add the following in the Notes URL for a service

Example
http://someurl.com/$service.name$/info.html

When I deploy and look at the service the Notes URL is not replacing the $service.name$ with the name of the service.

Just wondering if there is a trick to make this work.

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-10-13 16:34:22 +00:00

  • Status changed from New to Feedback
  • Assigned to set to jjsattler

Could you please give $service.description$ a try? That should be replaced by Icinga Web2 - at least as far as the code tells me. It lists the following hardcoded macros: HOSTNAME, HOSTADDRESS, HOSTADDRESS6, SERVICEDESC, host.name, host.address, host.address6 and service.description

In case it works please let me know, we should than a) add some hint blow the URL-field in Director and b) extend/correct the list in Icinga Web 2.

@icinga-migration
Copy link
Author

Updated by jjsattler on 2016-10-13 17:30:26 +00:00

Yes that worked. Thank you.

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-12-13 10:30:34 +00:00

  • Status changed from Feedback to Closed
  • Assigned to deleted jjsattler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant