I am writing this because I have tried everything to make Nagios and mod-gearman working but to not avail.
I have installed it several times using the provided .deb files (https://labs.consol.de/repo/stable/debi ... ary-amd64/), I have installed using the apt sources from Debian 9 repositories and finally I have compiled it from source even using the Nagios 4 lib and headers files to make it work.
Now after a couple of successful checks:
Code: Select all
<+++
[2017-10-09 11:40:57][3252][TRACE] 243 --->
type=host
result_queue=check_results
host_name=localhost
start_time=1507545657.0
next_check=1507545657.0
timeout=30
core_time=1507545657.952754
command_line=/usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 3000.0,80% -c 5000.0,100% -p 5
host_name=localhost
core_start_time=1507545657.0
start_time=1507545657.953982
finish_time=1507545662.40688
return_code=0
exited_ok=1
source=Mod-Gearman Worker @ debian9
output=PING OK - Packet loss = 0%, RTA = 0.07 ms|rta=0.071000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\n
[2017-10-09 11:41:02][3252][TRACE] add_job_to_queue(check_results, (null), 2, 1, 1, 1)
[2017-10-09 11:41:02][3252][TRACE] 287 --->host_name=localhost
core_start_time=1507545657.0
start_time=1507545657.953982
finish_time=1507545662.40688
return_code=0
exited_ok=1
source=Mod-Gearman Worker @ debian9
output=PING OK - Packet loss = 0%, RTA = 0.07 ms|rta=0.071000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\n
Code: Select all
[1507546052] mod_gearman: initialized version 3.0.5 (libgearman 0.33)
[1507546052] Event broker module '/usr/local/lib/mod_gearman/mod_gearman_nagios4.o' initialized successfully.
[1507546052] Successfully launched command file worker with pid 3622
[1507546127] Caught SIGSEGV, shutting down...
Now if someone has successfully managed to install mod-gearman on Nagios Core 4 using Debian 9 and would like to share the knowledge it would be very appreciated because I can't make it work. I had some pointers from the developers but not really enough to make it work maybe they are not bothered since they decided not to support Nagios.
If not could someone advise me on an alternative for mod-gearman?
Thank you very much in advance.