sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

check_gearman returns Status OK when there are workers connected with wrong encryption key #32

Closed palli closed 11 years ago

palli commented 12 years ago

How to reproduce:

1) Define a new worker queue by adding a new hostgroups= to the neb module parameters 2) Run check_gearman and it will alert that no workers are connected to the queue 3) Start up a gearman_worker that connects to the right server but with wrong encryption key 4) gearman_top will show the new worker and check_gearman returns OK, should be alerting because remote worker is unusable.

reproduced on with the following versions installed from the stable yum repository.

gearmand-0.25-1.x86_64 mod_gearman-1.3.8-1.el6.x86_64 gearmand-server-0.25-1.x86_64

sni commented 12 years ago

check_gearman can only check the server itself. As the communication works asynchronous, there is no way to detect misconfigured workers.