Git Product home page Git Product logo

Comments (4)

robin-checkmk avatar robin-checkmk commented on June 27, 2024 1

Well, it would take half a day of consulting to lay this all out, so let's get back to the issue at hand.
You have an environment that is how it is, and you want to manage it with Ansible. So far, so good.
You can of course set custom labels on host-level, you just have to put all the information in Ansible and figure out the correct syntax for the host module. The more long-term approach might be to actually rethink some aspects of your approach and implement that in Ansible.

All that being said: Is there a specific issue you are facing? An error or something, that we can help with here?
Otherwise, I would direct you to the Checkmk forum, for more general advice.

from ansible-collection-checkmk.general.

RogerSik avatar RogerSik commented on June 27, 2024 1

Yeah you are right i will going the long-term approach and rethink how this is used.

from ansible-collection-checkmk.general.

robin-checkmk avatar robin-checkmk commented on June 27, 2024

You do not want to set labels explicitly on host or folder level. If you do so, that indicates, that you actually need a host tag. If you actually require a label, use a rule.

from ansible-collection-checkmk.general.

RogerSik avatar RogerSik commented on June 27, 2024

I think im not really understanding. I'm inherited this infrastracture and want to move it to Ansible with less changes as possible to not break something.

You do not want to set labels explicitly on host or folder level. If you do so, that indicates, that you actually need a host tag. If you actually require a label, use a rule.

As i understand from our environment in folders and hosts are set the labels / custom_attributes and we have already service rules which are depending of the host_labels if there is an apply. So i don't see why it is wrong / not good use case.

Really appreciating for your help and fast feedback! :)

from ansible-collection-checkmk.general.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.