-
Notifications
You must be signed in to change notification settings - Fork 56
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
[FEED] Support agent registration and download on remote site #219
Comments
Remote registration is now possible in 0.16.0. |
I think the remote registration does not work in combination with In this case the new hosts are created on the central site and only activated on the central site, but not on the remote site where the registration takes place. This leads to an error in A fix would be to introduce a second handler wich only runs when |
I have not tested this, only refreshed my memory on how we designed this. Your solution is to provide I am of course happy to update/improve documentation or even be proven wrong with my diagnosis. :) |
Hi, yes. in my case i set the This is config dump: checkmk_agent_protocol: https
checkmk_agent_server: cmk_server1
checkmk_agent_server_protocol: https
checkmk_agent_site: cmk_site_central
checkmk_agent_add_host: "true"
checkmk_agent_discover: "true"
checkmk_agent_update: "true"
checkmk_agent_tls: "true"
checkmk_agent_auto_activate: true
checkmk_agent_force_foreign_changes: true
checkmk_agent_folder: "emea"
checkmk_agent_registration_server: cmk_server2
checkmk_agent_registration_site: cmk_site2 When now using My initial idea would be to compare But i think that's not the best solution since it would not find implicit registration sites, as part of the folder or agent package. I can create a pull request for this over the weekend. |
Are you using the latest version of the collection? |
Please verify first that your feedback is not already reported here.
If possible and useful provide additional information below. This is optional however.
Provide your feedback
Currently, the agent role can only talk to one site, which has to be the central site for most things to work.
This works in a lot of environments and makes sense, but it brings along limitations, which we need to address.
The goal of this issue is to:
Component Name
agent role
Ansible Version
$ ansible --version
Collection Version
$ ansible-galaxy collection list
Environment
Screenshots
Additional context
Internal reference: CMK-11992
The text was updated successfully, but these errors were encountered: