nook24 / statusengine

New PHP based MySQL Backend for Naemon and Nagios 4 + responsive web frontend
https://statusengine.org/
GNU General Public License v2.0
16 stars 8 forks source link

Some fixes and multiple gearmand server support #43

Closed dhoffend closed 3 years ago

dhoffend commented 6 years ago

Fixes:

Changes:

Example: Change default server:

gearman_server=localhost:4731

Example: Send duplicates to 2 gearmand:

gearman_server=localhost:4730;localhost:4731

Example: have a failover gearmand:

gearman_server=localhost:4731,localhost:4730

This also works combined (whatever):

gearman_server=localhost:4731,localhost:4730;localhost:4733,localhost:4732
nook24 commented 6 years ago

Hi @dhoffend, cool to see you again!

I will take a closer look to this in the next few days but looks good so far. Do you also want to send the PR against the new repository https://github.com/statusengine/module ?

If I port it, you're not the contributor, I want to avoid this.

dhoffend commented 6 years ago

Yeah. I realized it later that you moved the broker to a separate repo. I’ll take care of it in the next days

dhoffend commented 6 years ago

I guess I'll update this (backport) pull request once the patches arrive in the statusengine/module repo.

nook24 commented 6 years ago

Pull Request was created by @dhoffend in the new repository: https://github.com/statusengine/module/pull/1