mod_gearman with XI 5?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: mod_gearman with XI 5?

Post by SteveBeauchemin »

Thanks Jesse,

I did experiment and found a couple things that needed to be changed after the install.
There was a funky user name tied to the install. And some ownerships tied to it.
(I think of it as the N word) I changed the startup script to fix it.

vi /etc/rc.d/init.d/mod-gearman2-worker
change the line with
USER=####
to
USER=nagios

then, change the file ownerships

Code: Select all

chown -R nagios:root /var/mod_gearman2
chown -R nagios:root /var/log/mod_gearman2
chown -R apache:nagios /etc/mod_gearman2
chmod -R 775 /etc/mod_gearman2
setup the services

Code: Select all

chkconfig gearmand on
chkconfig --add mod-gearman2-worker
chkconfig --level 35 mod-gearman2-worker on
start the services

Code: Select all

service gearmand start
service mod-gearman2-worker start
service nagios restart
After those changes I felt much better.

Actually, after having previously read the documents from the developer web site I was concerned about whether mod_gearman was a viable option for the future. Since you clearly showed that the version 2 works, I abandoned the old Nagios documentation and am ignoring the developer comments. I am moving ahead with the mod_gearman 2.1.2 for now.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: mod_gearman with XI 5?

Post by hsmith »

This is a great bit of information, thank you! Would you check in and let us know how it goes for you?
Former Nagios Employee.
me.
Locked