The stats: Host Information Nagios® Core™ 4.4.5
mod_gearman: v0.33
all running on a CentOS 7 box with postfix, patched to the latest.
I have recently set this up and everything is working fine except for notifications. After digging around for some time I disabled this line in the nagios.cfg file: broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/worker.conf
and et voila, notifications works as expected. Now, my question is, what config do i need to add to the mod_gearman module to enable sending of notifications?
here is my mod_gearman module config as I have searched around extensively but just can find what I need to add: debug=1
logfile=/var/log/mod_gearman/mod_gearman.log
server=10.12.57.228:4730
server=127.0.0.1:4730
eventhandler=yes
notifications=yes
services=yes hosts=yes
do_hostchecks=yes
route_eventhandler_like_checks=no
encryption=yes key=ytNdffaertgrthtyityreaerwqeqwrwerttryd30donPn0v6lK7kfMUp0G0He0N7
use_uniq_jobs=on
localhostgroups=
localservicegroups=
result_workers=1
perfdata=yes
perfdata_send_all=yes
perfdata_mode=1
orphan_host_checks=yes
orphan_service_checks=yes
orphan_return=2
accept_clear_results=no
Any help would be really great.
Thank you
Kobus