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 #12770] If-else statement #460
Comments
Updated by tgelf on 2016-09-23 14:35:05 +00:00 This is not gonna happen, not in this exact way. As a workaround you could manually deploy this template to your Icinga node and allow Director to use it by a) defining it as an "external object" and b) creating an intermediary wrapper template as the GUI wouldn't allow you to inherit from external objects. As the GUI doesn't allow you to use that feature you have to prepare this through the REST API or by using the CLI as follows:
Your hosts in Director should then be allowed to inherit from 'running-mode-wrapper' and work as expected. When working with multiple Icinga instances this might require you to install this template everywhere. In that case please have a look at the fileshipper module - it allows you to ship custom config through the Director. In future you will be allowed to also solve this in the following ways:
Cheers, |
Updated by siyalrach on 2016-09-25 16:31:54 +00:00 Thx.. |
Updated by tgelf on 2016-10-13 12:26:05 +00:00
|
Updated by tgelf on 2016-10-13 12:27:28 +00:00
I'll reject this issue as it will probably never work like this. However the implementation for the linked feature request will allow you to build what you want to achieve by moving your logic to a function. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12770
Created by siyalrach on 2016-09-22 13:36:09 +00:00
Assignee: (none)
Status: Rejected (closed on 2016-10-13 12:27:28 +00:00)
Target Version: (none)
Last Update: 2016-10-13 12:27:28 +00:00 (in Redmine)
Is it possible to implement this in Director ?
In our environment we sometime debug hosts and don't want to spam users with notifications.
Relations:
The text was updated successfully, but these errors were encountered: