mod_gearman localhostgroups usage

This forum was archived to /woltlab and is now in read-only mode.
  • Hello,


    I have a question regarding the "localhostgroups" and "localservicegroups" for mod_gearman.


    Does those NEED to be real host-/service-groups, aka I CAN NOT use the queue_custom_variable to "put" hosts and services in the local...groups?



    Installed Packages
    gearmand.x86_64 1:0.33-5 @labs_consol_stable
    gearmand-server.x86_64 1:0.33-5 @labs_consol_stable
    mod_gearman.x86_64 3.0.0-1.el7.centos @labs_consol_stabl




    Regards,


    --


    Dan

  • If you (I) can read, you have a definitive advantage....
    The answer to my question is clearly stated in the module.conf:


    Code
    1. ...
    2. Set the value of your custom
    3. variable to 'local' to bypass Mod-Gearman (Same behaviour as in
    4. localhostgroups/localservicegroups).
    5. ...


    So, this issue is now solved.
    Sorry for the waste of bandwidth.


    Regards,
    D/\N

  • Hmmm, that is interesting.
    At the moment I have no "local" servicegroup defined and I have one service with "_WORKER local" defined and everything works as expected (the service-check is executed on the "master" and not on the "slave" that is defined for the host).


    D/\N