Page 1 of 1

Remove a host from mod gearman

Posted: Thu Jan 23, 2020 11:30 pm
by RebeccaIlene
Hi Team,

When checking under mod gearman top output queue names the list of servers come up that we are currently using as workers.
We want to remove one worker and use as a separate instance.
can someone please help with the correct process to be followed to have this done?

Thank you,
Rebecca Murray

Re: Remove a host from mod gearman

Posted: Fri Jan 24, 2020 3:37 pm
by scottwilkerson
To remove that queue, you would just need to stop the workers mod_gearman worker?

Are we understanding what you want to accomplish correctly?

Re: Remove a host from mod gearman

Posted: Tue Jan 28, 2020 1:56 am
by RebeccaIlene
Yes, we want to stop the mod gearman worker.

Re: Remove a host from mod gearman

Posted: Tue Jan 28, 2020 7:46 pm
by Box293
What you would do here is configure that workers config file to target a specific hostgroup or service group. In addtion the server would need to be configured to use that specific hostgroup or service group. An example of this can be found in the following KB article under "Using A Worker For A Specific Monitoring Plugin".

https://support.nagios.com/kb/article/n ... s-484.html

Does this answer your question?