Results 1 to 3 of 3

Thread: Use Thruk Business Process

  1. #1
    Senior Member
    Join Date
    Nov 2011
    Posts
    147

    Use Thruk Business Process

    Hi,

    I'd like to use the Thruk business proces.
    The editor works fine. But the link "Business View" in the Current Status does not.

    The reason behind that is the "got_business_rule" attribute is not set to True by shinken for Thruk BP.

    We can't set the intenal attribute "got_business_rule" to True for Thruk because it would break a lot of things in shinken.

    I suggest the following :
    * create a new internal attribute in shinken : got_thruk_business_rule. It is set to True when the base command is "check_thruk_bp".
    * Modifying the mapping in livestatus the attribute "got_business_rule". It is True if te internal attribute got_business_rule OR get_thruk_business_rule.

    I've already figured how to do that, and have tested it. It works.
    That way the Business View in thruk displays the list of items.

    TODO, if this is validated :
    * figure how the expand function works in thruk. Currently, my suggestion only displays a list of items, flat, not trees.
    * Test for non-regression. I think you have automated tests for this. We are talking of adding things. It shouldn't break anything. Still, we never know if we don't test.

    What do you say ?





  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Use Thruk Business Process

    Sorry but I don't understand every thing there.

    what are you trying to have, a service check that look for thruk or a thruk display that works?

    for the first, it's the job of a check, I'm not for adding specific tool parameter or commands in the core, but it can be done by a module I think (at least adding the property, for the inner check command it's a bit more hard but not impossible after all).

    If it's a Truk display, where is this got_business_fule property? If I'm not wrong it is a shinken one right, not thruk?
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Senior Member
    Join Date
    Nov 2011
    Posts
    147

    Re: Use Thruk Business Process

    Never mind.
    We figured that the "business view" is shinken specific only.

    We deactivate sinken_features in the menu and/or thruk.conf and it did the trick.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •