Skip to content

Conversation

@nook24
Copy link
Member

@nook24 nook24 commented Aug 20, 2018

I applied the following fixes to your patch:

  • Replace write_to_all_logs with logit for Nagios Core
  • Fix printf issue where a string was passed instead of an int (for gearman port)
  • Split up gearman_server_list into gearman_server_list and gearman_dup_server_list

Add failover gearman job server:
gearman_server_list=127.0.0.1:4730,127.0.0.1:4731

Add gearman job server to duplicate results:
gearman_dup_server_list=127.0.0.2:4730,127.0.0.2:4731

Combined:
gearman_server_list=127.0.0.1:4730,127.0.0.1:4731 gearman_dup_server_list=127.0.0.2:4730,127.0.0.2:4731

dhoffend and others added 14 commits June 20, 2018 08:58
This feature enables the broker module to multiple gearmand.
instances. Useful if you need to have ochp/ocsp messages
duplicated for multiple phpNSTA instances.

To use multiple server use the variable gearman_server_list.
Use , to seperate failover server and ; to specify duplicates

When gearman_server_list is set, the variables gearman_server_addr
and gearman_server_port are ignored.

Example:
gearman_server_list=server1;server2;failover3,server3
…for failover and gearman_dup_server_list for duplicate servers
@nook24
Copy link
Member Author

nook24 commented Aug 20, 2018

I am going to deploy this on my test system now and add the changes to the documentation.

@nook24 nook24 merged commit ba0fafd into master Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants