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

Service Check Timed Out On Worker #70

Closed twscl closed 9 years ago

twscl commented 9 years ago

I got an error when I recive output more than 65536 bytes plz help me!! ==============trace log=================================== [2015-01-12 11:42:44][15196][TRACE] add_job_to_queue(check_results, (null), 2, 1, 2, 1) [2015-01-12 11:42:44][15196][TRACE] 240 --->host_name=dbca.personal.com core_start_time=1421034152.0 start_time=1421034152.76277 finish_time=1421034164.79189 return_code=2 exited_ok=1 service_description=Oracle Tablespace output=(Service Check Timed Out On Worker: icinga.personal.com)

sni commented 9 years ago

i am currently working on supporting unlimited plugin output, so this might be fixed soon.

twscl commented 9 years ago

thanks for your reply & help

sni commented 9 years ago

could you give the latest master or nightly a try? Mod-Gearman now supports unlimited plugin output in theory but limits it to 1mb.

twscl commented 9 years ago

sorry i use Mod_Gearman on nagios3 without naemon, so can you pack up Mod-Gearman 1.4.19 or last version.

i got error when use github version like follow message :

[1421561461] Icinga 1.9.3 starting... (PID=57761) [1421561461] Local time is Sun Jan 18 14:11:01 CST 2015 [1421561461] LOG VERSION: 2.0 [1421561461] idomod: IDOMOD 1.9.3 (07-07-2013) Copyright(c) 2005-2008 Ethan Galstad, Copyright(c) 2009-2013 Icinga Development Team (https://www.icinga.org) [1421561461] idomod: Successfully connected to data sink. 0 queued items to flush. [1421561461] Event broker module 'IDOMOD' version '1.9.3' from '/usr/local/icinga/lib/idomod.so' initialized successfully. [1421561461] Error: Could not load module '/usr/local/lib/mod_gearman2/mod_gearman2.o' -> /usr/local/lib/mod_gearman2/mod_gearman2.o: undefined symbol: process_check_result [1421561461] Error: Failed to load module '/usr/local/lib/mod_gearman2/mod_gearman2.o'. [1421561461] Error: NEB module loading failed. Aborting.

twscl commented 9 years ago

i try~~ use the mod_gearman2.o replace to mod_gearman.o . then plugin output (6874 bytes) return OK! everything looks good! the version is perfect for me. thanks alot~