Gearman monitoring with Netdata

What is Gearman?

Gearman is an open-source application framework designed to distribute appropriate computer tasks to multiple computers, so large tasks can be done more quickly.

Monitoring Gearman with Netdata

The prerequisites for monitoring Gearman with Netdata are to have Gearman and Netdata installed on your system.

Netdata auto discovers hundreds of services, and for those it doesn’t turning on manual discovery is a one line configuration. For more information on configuring Netdata for Gearman monitoring please read the collector documentation.

You should now see the Gearman section on the Overview tab in Netdata Cloud already populated with charts about all the metrics you care about.

Netdata has a public demo space (no login required) where you can explore different monitoring use-cases and get a feel for Netdata.

What Gearman metrics are important to monitor - and why?

Workers Queued

Workers queued indicates how many jobs are currently waiting in the queue to be assigned to a worker. Monitoring this metric can help provide an indication of how well the Gearman system is working. It is important to note that a high number of queued jobs is not necessarily a bad thing. If the number of queued jobs is consistently high, it could indicate a bottleneck in the system that needs further investigation.

Workers Idle

Workers idle indicates how many workers are currently idle and available to process jobs. It is important to monitor this metric to ensure that the system is not wasting resources by having idle workers. If the number of idle workers is consistently high, it may indicate that the system is not receiving enough jobs to keep all of the workers busy.

Workers Running

Workers running indicates how many workers are currently running jobs. It is important to monitor this metric to ensure that the system is processing jobs efficiently. If the number of running workers is consistently low, it may indicate a bottleneck in the system that needs further investigation.

The observability platform companies need to succeed

Sign up for free

Want a personalised demo of Netdata for your use case?

Book a Demo