I have a mod_gearman on a Nagios 3.5.1 server(CentOS 6.6) with job/worker on same box,
I found I need to run following commands in sequence to completely disable mod_gearman.
So that I can observe performance with/without mod_gearman.
1. /etc/init.d/mod_gearman_worker stop
2. /etc/init.d/gearmand stop
3. vi /etc/nagios/nagios.cfg # to comment out mod_gearman.o broker
4. /etc/init.d/nagios reload
Is above sequence correct ?
Can I leave mod_german_worker running ?
If I skip 3. and 4., will nagios daemon crash or suffer ?
I am tempting to automate 2,3,4 steps into a command like "/etc/init.d/geamand disable"