Monitoring Gearman Performance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Monitoring Gearman Performance

Post 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
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring Gearman Performance

Post 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.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Monitoring Gearman Performance

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked