Page 2 of 2
Re: XI services needed on Mod Gearman Remote Server
Posted: Sun Mar 22, 2015 7:29 pm
by Box293
brdr wrote:Yes, all of our remote workers are Nagios XI.
Why?
Re: XI services needed on Mod Gearman Remote Server
Posted: Mon Mar 23, 2015 1:35 pm
by brdr
During our implementation, working with our Nagios consultant, we installed XI on our local XI server and remote workers. On the remote workers we permanently shut down services (i.e. mysql, postgres, etc...). Then, deployed all the various plugins we use on local XI server to the remote workers. This way all the nagios directory structure is same across all servers and installation for XI and Mod Gearman were also consistent.
Re: XI services needed on Mod Gearman Remote Server
Posted: Mon Mar 23, 2015 2:53 pm
by tgriep
On the Remote Gearman Worker server. The only service that needs to be running on it is the mod_gearman_worker.
Any of the other "Nagios" services that are running on it should be shutdown and disabled from starting up.
Re: XI services needed on Mod Gearman Remote Server
Posted: Mon Mar 23, 2015 4:44 pm
by Box293
OK, so based on what you have said for using remote XI servers, all those servers do is execute checks and send results back to the gearman Master.
brdr wrote:Attached is the tail output from npcd.log. I still do NOT have a perfdata.log in the /usr/local/nagios/var directory.
The following services are running on the remote gearman worker server:
npcd
ndo2db
nagios
There are 972 files now in the /usr/local/nagios/var/spool/xidpe directory which i cleaned late yesterday on the remote worker.
tgriep wrote:On the Remote Gearman Worker server. The only service that needs to be running on it is the mod_gearman_worker.
Any of the other "Nagios" services that are running on it should be shutdown and disabled from starting up.
tgriep is correct. What you are seeing on the worker are side effects of using an XI server as a worker. This has been confusing the troubleshooting.
Re: XI services needed on Mod Gearman Remote Server
Posted: Tue Mar 24, 2015 8:58 am
by brdr
Thanks! I'm good now. I did shutdown the remaining services and no files are being created in the '/usr/local/nagios/var/spool/xidpe' directory on the remote workers.
Re: XI services needed on Mod Gearman Remote Server
Posted: Tue Mar 24, 2015 9:14 am
by jdalrymple
brdr:
Safe to lock the thread and mark solved?
Re: XI services needed on Mod Gearman Remote Server
Posted: Tue Mar 24, 2015 11:14 am
by brdr
yes, thx
Re: XI services needed on Mod Gearman Remote Server
Posted: Tue Mar 24, 2015 11:18 am
by cmerchant
We'll go ahead and close the thread. Thanks.