Page 1 of 1

Monitoring Gearman Performance

Posted: Wed Jun 25, 2014 2:52 am
by rajasegar
XI 2012R2.9 Enterprise Edition
RHEL 6.5
Offloaded DB
Firefox 30.0

I have just installed gearman plug-in in the dev server using the instructions from
http://support.nagios.com/forum/viewtop ... 4&start=30

It appears to be working as I can see the checks and graphs getting populated normally.

Was wondering how to go about monitoring gearman performance.
1) What are the log files involved?
2) How do I know it is working, degraded? What to look out for?
3) Is there any dashlets available to show the gearman stats

Thanks in advance

Re: Monitoring Gearman Performance

Posted: Wed Jun 25, 2014 11:02 am
by slansing
The easiest way to see if checks are being processed by your workers is by using:

Code: Select all

gearman_top
On the gearman server 'XI server' that is noted in the documentation. You should also see logs for your server in:

Code: Select all

/var/log/mod_gearman/
Depending on if you are using local workers or not, you may also have a gearman worker log in there. You can turn up the verbosity/debug level in the gearman configuration files, but be aware that anything beyond what is set by default will drastically increase the size of the logs based on the information coming in.

Re: Monitoring Gearman Performance

Posted: Wed Jun 25, 2014 6:58 pm
by rajasegar
slansing wrote:The easiest way to see if checks are being processed by your workers is by using:

Code: Select all

gearman_top
On the gearman server 'XI server' that is noted in the documentation. You should also see logs for your server in:

Code: Select all

/var/log/mod_gearman/
Depending on if you are using local workers or not, you may also have a gearman worker log in there. You can turn up the verbosity/debug level in the gearman configuration files, but be aware that anything beyond what is set by default will drastically increase the size of the logs based on the information coming in.
Ok. Thanks for the info. Will check on this.