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 #12947] Service assignment based on ssh command output #502
Comments
Updated by swizzly on 2016-10-20 06:13:57 +00:00 Hi Thomas, Thanks for the hints. Is there no way to do it from the Director GUI, that would be sure the elegant solution. Cheers |
Updated by tgelf on 2016-10-20 06:41:47 +00:00 Well... an import property modifier called "exec" could be another option, could that help you? |
Updated by swizzly on 2016-10-20 07:14:38 +00:00 yes, that could solve the problem. Thanks! |
Closing this one, as we solved it with a custom |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12947
Created by swizzly on 2016-10-19 14:41:51 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-10-20 07:14:38 +00:00 (in Redmine)
Hi,
I am wondering whether is it possible in Director, to assign a service to a host based on the result of a remotely (SSH) executed command on the host?
In detail: There are several hosts with some special attributes, that are nowhere centrally registered (no LDAP/PuppetDB whatsoever). In order to find out whether the attribute is defined, a command need to be executed on the host. If the query is successful, then it means the attribute is set on the given host, and accordingly a service should be activated on the given host.
The attributes are relatively static, it means it changes maybe 1-2x in a year. I could manually assign the service to the hosts, but it is not so elegant, and it can be forgotten.
cheers
Zoltan
The text was updated successfully, but these errors were encountered: