ansible-role-check-mk-agent
ansible-role-check-mk-agent copied to clipboard
Host is not added to Check_MK Instance
Hi there! I use this role a lot in our ansible production environment. Thank you for developing and keeping it updated! Recently I noticed, that new host are not added since the upgrade to Check_MK Raw 2.0. In 2.0 they changed the error messages from Check_MK to Checkmk. My solution in this PR may be too easy. It would be better to compare the end of the String "No such host". Maybe you can implement this and close the PR.
Can confirm this patch fixes 2.0
@elnappo can we get a merge plzzz!!
Tested on a checkmk instance just upgraded to 2.0.0 (patch 7) and I can confirm the patch works. To make it future proof, maybe we need to switch using REST-API, as Web-API are now considered deprecated and will be removed in a next major release (link to docs)
Hi, I was ready to do the same Pull Request, I can confirm also that it resolved the issue. Not sure why they change this string but it matters for us. Thank you for the great work.
Not sure why they change this string.
The official name is now Checkmk instead of the former Check_MK The rebrand started with version 2.0.0