Comments (5)
Thanks for moving this to a new issue.
So, just to be sure: CheckMK Enterprise is supported by this playbook? I'd like to perform the full rollout of the agents created and signed by the bakery. Afterwards, they should keep themselves up to date automatically as far as I understood?
Would you recommend running the role only for initial deployment or does it correctly identify already installed monitoring agents? I'd like to avoid having the auto-updater and ansible fighting with each other once a host is onboarded.
from ansible-collection-checkmk.general.
Right, the README might be out of date, I need to check that.
edit: bd57bb4 resolves this.
You can use this role for initial rollout, if you plan on using the agent bakery. After initial deployment, the bakery will handle the agents. If you run this role again, however, it might break the agent until it updates again. Right now there is no detection of a working bakery setup.
from ansible-collection-checkmk.general.
Thank you very much. I will then write a check if the agent is already installed (any hints how to approach this? I'd probably check the file system for one of the config files and also add an option for force-installing via ansible) and skip the agent deployment if it returns true.
I'm planning to use a specific user for ansible deployment and I'd like this user to have as little permissions as possible. Is there any documentation on this topic? I've found this issue where the following permissions are recommended:
- Read access to all hosts and folders
- Write access to all hosts and folders
- Register Host & download monitoring agents of your hosts
- Register all hosts & download all monitoring agents
With this permissions, manually pairing an agent worked, but registering it with the update server and bakery was unfortunately not possible. Are there any further permissions required? I think this would be something nice to specifically document (especially for your enterprise versions as there's the bakery involved) because then one could give deployment capabilities to other users without allowing them full access.
Or should I move this to your forums / another separate issue?
from ansible-collection-checkmk.general.
Hi @edermi and thanks for your patience!
I am looking forward to your pull request with the detection of working bakery.
Regarding the permission question: It is out of scope here. Head for the Checkmk forum please.
Can we close this issue then, or is there anything else?
from ansible-collection-checkmk.general.
Hi,
we decided internally to move this into a separate playbook for various reasons. As this is only used on-demand when onboarding hosts, the detection is not required.
Thanks for your help!
(The issue can be closed, but I can't close it because it has been opened by you)
from ansible-collection-checkmk.general.
Related Issues (20)
- [BUG] "Register Agent for TLS" does not allow for "!" in checkmk_agent_auth on Linux HOT 1
- [FEED] Only register agent if host was created on the server or agent was installed HOT 4
- [FEED] Implement module for LDAP Connections
- [BUG] module "folder" not idempotent HOT 10
- [BUG] `discovery` module out of sync with the Checkmk REST API HOT 2
- [BUG] Error in the Agent role, Firewall seems to be only installed if checkmk_agent_server is an ip address HOT 3
- [FEED] Configure new web services monitoring HOT 1
- [BUG] rule idempotency check does not work for special_agents:vsphere rules HOT 4
- [BUG] ckeckmk agent deployment not respecting variables HOT 1
- [BUG] Unable to register agent for automatic updates HOT 5
- [BUG] Integration tests for downtime module creates downtime in the past HOT 1
- [BUG] Agent role crashes, when connections file absent HOT 4
- [BUG] InvalidAccessKeyId during installing the collection HOT 1
- Agent TLS registration does not work in disributed monitoring
- [BUG] Skip verifying the ssl cert for setting downtimes HOT 1
- [BUG] update_attribute on folder always results in 'changed' HOT 12
- [FEED] Implement module for DCD Connections
- Ansible trying to use linux shell to execute a powershell command HOT 1
- [BUG] Crash using host module on RHEL 7 and SLES 12 (both using Python2) HOT 9
- [BUG] checkmk.general.agent : Fetch fresh monitoring data from host. Fails for agents queried through SSH.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-collection-checkmk.general.