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

config parsing in send_gearman produces errors in the output #162

Closed jstark1 closed 1 year ago

jstark1 commented 1 year ago

we use send_gearman to submit passive checkresults to gearmand, like this:

/omd/versions/default/bin/send_gearman --config=$HOME/etc/mod-gearman/worker.cfg --server=XXX --host=XXX --service='XXX' --message="XXXX" --returncode=X

its only cosmetic and the command successes, but on the console are errors printed like this:

 [2022-10-13 10:51:03][20353][ERROR] unknown option 'sink-rate'
 [2022-10-13 10:51:03][20353][ERROR] unknown option 'backgrounding-threshold'
 [2022-10-13 10:51:03][20353][ERROR] unknown option 'mem_limit'
sni commented 1 year ago

oh right... For now you could use a separate config file without those options.

sni commented 1 year ago

fixed with ad9774e37794c12059d0b5815477aa983cb8df50