Configure the Server Density agent to monitor your Gearman service to:
• Collect important metrics, such as queued & running tasks
• Identify overall server slowdowns caused by the service
Note: This plugin is still in development and is not yet available to install. We will add new plugins to our release notes.
Configuring the agent to monitor Gearman
1. Configure /etc/sd-agent/conf.d/gearmand.yaml
- server: localhost
2. Restart the agent
sudo /etc/init.d/sd-agent restart
Verifying the configuration
Execute info to verify the configuration with the following:
sudo /etc/init.d/sd-agent info
If the agent has been configured correctly you’ll see an output such as:
gearmand ----- - instance #0 [OK] - Collected 1 metrics & 3 service checks
Click the name of your server from the Devices list in your Server Density account then go to the Metrics tab. Click the + Graph button on the right then choose the Gearmand metrics to display the graphs. The metrics will also be available to select when building dashboard graphs.