Monitoring Zabbix's own processes and caches

A guide to using Zabbix internal items to find saturated server and proxy processes and caches, and to decide which poller, preprocessor or history syncer settings to change.

On this page

Monitoring Zabbix internal process usage to find the bottleneck

When a Zabbix server or proxy falls behind, the first question is which internal component is saturated, and the answer should come from measurements rather than guesses. The zabbix[process] busy items and the cache statistics that Zabbix exposes about itself show whether pollers, preprocessing workers, history syncers or caches are the constraint. These are internal checks: items you create on the Zabbix server or proxy host that report on the installation's own processes and memory, so they describe the system doing the monitoring. Teams usually need them in three situations: before adding capacity, during steady growth in host or item counts, and right after a queue alert fires, when the question changes from whether the backlog exists to where it sits. Item keys and their parameters are listed in the Zabbix internal checks documentation.

Read these items as a set rather than one at a time. A process type that stays near 100 percent busy while its peers are idle points to a configuration limit, while every component busy at once suggests the database or host resources are the real limit, which more workers will not fix. Map each busy item to its server setting before changing anything: pollers to StartPollers, asynchronous agent pollers to StartAgentPollers, HTTP agent and SNMP pollers to StartHTTPAgentPollers and StartSNMPPollers, preprocessing to StartPreprocessors, and history syncers to StartDBSyncers. The Zabbix server configuration file reference gives the defaults and the meaning of each setting. Confirm the current values in your own zabbix_server.conf and record a baseline over a normal business cycle, because a single spike during a maintenance window tells you little about sustained load.

Before you raise any count, check the cache statistics and the database side, since a saturated history syncer often reflects slow writes rather than too few syncers. Adding workers to a database that already cannot keep up moves the bottleneck without removing it. Decide in advance what evidence justifies a change: which busy item must stay above a threshold, for how long, and whether the queue is growing at the same time. For a proxy, the same logic applies to its own pollers and cache, and the proxy's position in your topology determines whether the fix belongs there or on the server. Ask your team, or any partner you engage, to document the baseline, the change, and a before and after comparison, so the next capacity review starts from data.

Which internal items show process and cache saturation

Zabbix reports its own health through internal check items, so the server or proxy can be read like any other monitored host. The cards below cover the item families a team typically watches to decide whether a process group, cache or sync path is the bottleneck. Confirm exact item keys and parameters in the internal checks documentation for your version before building alerts.

Process busy percentage items

The zabbix[process,<type>,<mode>,<state>] item reports how much time a group of processes, such as pollers or preprocessing workers, spends busy. A group that stays near full utilization has no spare capacity, so new checks wait in the queue. Read the value per process type and compare busy time across the group before changing any setting. Confirm the supported type, mode and state values for your version in the docs.

Internal checks docs

Idle process count items

Idle counts show how many processes of a type are waiting for work at a given moment. Read them alongside busy percentages: a low idle count during normal load suggests the pool is undersized, while a high idle count with a growing queue points to a different bottleneck, such as a slow host or database. Sample the trend over time rather than a single reading.

Configuration cache usage and free space

Cache items report how full the configuration cache is and how much free space remains. A cache that fills up can stop the server from loading new configuration, so this is a capacity signal rather than a performance one. Track free space against the configured cache size and check it after large imports, mass host changes or template updates.

History and value cache statistics

The history and value cache items show memory use and hit or miss behavior for the data Zabbix uses to calculate triggers and recent values. Rising misses or a cache near its limit mean item values are being read from the database more often, which slows processing. Compare these figures with the size set in the server configuration before increasing memory.

Queue and unavailable item indicators

The queue item counts monitored items that are overdue for a check, grouped by how late they are. A short queue spike after a restart is normal, but a queue that keeps growing means checks are not being collected on time. Pair queue growth with the busy percentage of the poller type that serves those items to find the bottleneck.

History syncer and preprocessing workers

History syncers write collected values to the database, and preprocessing workers transform values before storage. When either group is busy, data reaches the database late even though polling looks healthy. Check the busy percentage of these processes separately from pollers, and consider adding history syncers or preprocessing workers only after confirming the database is not the limit.

How to read busy percentages before changing settings

A busy percentage only tells you something useful when you read it over time. A sustained high value for a process type, such as pollers, preprocessing workers or history syncers, means that process is occupied most of the time and has little headroom left. A short spike, by contrast, is normal under bursty load: a batch of items becomes due at the same moment, a proxy sends a large upload after an outage, or a maintenance job runs. Before touching any setting, check the trend across several hours or days of zabbix[process,<type>,avg,busy] data and compare it with the same period's workload. A spike that clears within minutes rarely justifies a new configuration.

A saturated poller pool can create queue growth because items that are due wait for a free worker. When every poller is busy, checks that should run on schedule are delayed, and the queue of overdue items grows. That growth has two common causes that look identical on a busy percentage graph: the pollers are genuinely too few for the item load, or some checks are holding workers for a long time because hosts are unreachable or slow to answer. Adding pollers to the second case only lets more workers wait on the same timeouts. Compare the busy trend with the queue data and with host availability before deciding, and confirm which item types or hosts are driving the wait.

A saturated cache or preprocessing stage points to a different fix. Configuration and history caches, and the preprocessing workers that transform values before they are stored, fill for reasons unrelated to poller count. A full history cache usually means the history syncers cannot write to the database fast enough, so the question shifts toward database performance and the syncer settings such as StartDBSyncers. Preprocessing pressure often comes from heavy dependent items, regular expressions or JavaScript steps, which calls for reviewing the items themselves. Confirm the cache usage and preprocessing statistics in the internal items documented in Zabbix internal checks before editing zabbix_server.conf, and treat any change as a test on a non-production instance first.

Which server setting to change for each saturated process

This table maps each saturated Zabbix server process, as shown by its zabbix[process] busy item, to the configuration parameter that adds capacity for it. Read each row by matching the symptom first, then checking the trade-off before raising a count. Every count should be sized against the server's CPU, memory and database connection limits and confirmed in the server configuration documentation.

Saturated processParameter to changeWhen it fits and trade-off
Regular item pollers busy near 100 percentStartPollersFits when passive checks wait in the queue while the database and network are healthy. Each poller adds memory, connections to targets and load on monitored hosts.
Asynchronous agent pollers busyStartAgentPollersFits when many passive agent items with asynchronous handling queue up. Raise it gradually, since more concurrent requests increase network traffic to agents.
HTTP agent pollers busyStartHTTPAgentPollersFits when many HTTP agent items, such as web API checks, wait on slow remote endpoints. More pollers mean more outbound connections and possible load on the external services.
SNMP pollers busyStartSNMPPollersFits when many SNMP items queue against devices that respond normally. More pollers increase concurrent SNMP requests, which some network devices handle poorly.
Preprocessing manager or workers busyStartPreprocessorsFits when preprocessing steps such as JavaScript, regex or dependent item calculations delay values. Each worker uses CPU and memory, so check that preprocessing cost is reasonable before adding workers.
History syncers busy or write queue growingStartDBSyncersFits when values are written slowly to the database. More syncers add concurrent database connections and write load, so confirm the database can accept them before raising the count.

How to tune Zabbix processes without breaking the server

This sequence moves from confirming Zabbix's internal process metrics are collected to changing one setting and proving the change helped. Each step ends with a check so the server is never tuned on guesswork.

  1. Confirm internal process items are collected

    The Zabbix server administrator confirms that the internal items for process busy percentages and cache usage are present and returning values on the server host, using the latest data view. The items use the internal check type, so no agent is needed for the server itself. Check that the values update at the expected interval and that no items show as unsupported. This step is done when every process type you plan to tune has a recent, numeric busy value and the cache items report usage figures.

  2. Record a baseline under normal load

    Capture busy percentages for each process type, cache usage and queue size over a period that covers your normal daily peak, not a quiet window or a maintenance night. Export or graph these values and note the time of day, number of monitored items and any scheduled bulk jobs running at the same time. The reviewer should be able to see what healthy looked like before any change. This step is done when the baseline is saved with its time range and load context in the change record.

  3. Identify the saturated process type

    Compare the baseline against the process types that run close to full capacity for sustained periods. Typical candidates are pollers, the asynchronous agent and HTTP agent pollers, SNMP pollers, preprocessing workers and history syncers, which correspond to the server settings StartPollers, StartAgentPollers, StartHTTPAgentPollers, StartSNMPPollers, StartPreprocessors and StartDBSyncers. Short spikes are normal, so look for sustained high busy values. This step is done when one process type is named as the bottleneck with the evidence cited, or when no type is saturated and the investigation stops here.

  4. Check queue and host causes first

    Before adding capacity, check whether the saturation is a symptom of something else. Review the queue for growing delay, and look for unreachable hosts, proxies that lost contact, slow checks, timeouts and preprocessing steps that take too long. A busy poller waiting on a dead host is not short of workers. Adding processes in that case only adds more waiting. This step is done when you have a written answer to whether the load is genuine demand or a fault that makes existing workers wait.

  5. Change one parameter at a time

    The server administrator changes a single setting in the server configuration file, such as one of the process count settings, to a value justified by the baseline. Keep the previous value written down so the change can be reverted. Changing several settings together makes it impossible to tell which one helped or caused a new problem. This step is done when the change is recorded with the old value, new value, reason and the person who made it.

  6. Restart the service and confirm it starts cleanly

    Restart the Zabbix server service so the new setting takes effect, if the parameter requires it. Then check the server log for startup errors, confirm all process types start, and confirm the internal items resume reporting. A configuration that starts with errors can look fine in the interface while some processes never run. This step is done when the service is running, the log shows no new startup errors and the internal items are updating again.

  7. Verify busy percentages and queue after the change

    Compare busy percentages, cache usage and queue size against the baseline over a period that covers a similar load to the one used for the baseline. The target process type should show lower sustained busy values, and the queue should stop growing. Also check the database side, since more workers can push more load onto the history syncers and the database. This step is done when the comparison is written into the change review with the outcome, and any side effect such as higher database load is noted or the change is reverted.

Path from a saturated process to a configuration decision

The path starts with the zabbix[process,<type>,avg,busy] internal item for a process type that stays busy. The first branch asks which kind of work is saturated: pollers, preprocessing workers, history syncers or the cache. Each branch points to a matching server setting, such as StartPollers, StartPreprocessors or StartDBSyncers, and the reader changes only that setting and re-measures. Before changing anything, the reader checks queue growth and whether hosts or proxies are unreachable, because an unreachable host can make a poller look busy.

Decision path from a busy internal process item to a server setting change.

Security and operational risks of tuning Zabbix internals

Changing pollers, preprocessors or history syncers alters what Zabbix does to your hosts, your network and your database. The cards below cover who can see and change these settings, how changes are recorded, and where extra capacity turns into extra load.

Access to internal metrics and the frontend

Internal items such as zabbix[process,<type>,avg,busy] and cache usage reveal how loaded your monitoring is and how many hosts it watches. Anyone with read access to these items or the frontend can infer capacity and gaps. Check which user groups can view the internal host, the dashboards that graph these items, and the frontend roles that can edit items or hosts.

Who may change server configuration files

Settings such as StartPollers, StartPreprocessors and StartDBSyncers live in the server configuration file on the host, outside the frontend. Whoever can write that file or the configuration management that renders it can change polling behavior without a Zabbix audit entry. Confirm file ownership and permissions, and which automation or administrators can deploy changes to it.

Server configuration docs

Change control for process settings

Raising a poller count is a configuration change with side effects, so it should follow the same review as other production changes. Record the current value, the reason, the expected effect on busy-process metrics, and the rollback step before editing the file. Confirm that your change tracking captures server restarts that apply new values.

Audit records for configuration and frontend edits

Frontend changes to hosts, items and global settings are logged by Zabbix in the audit log, but edits made directly to the server file or the database are not. Check whether your audit process covers both paths and whether logs are copied off the monitoring server. Ask who reviews these records and how often.

Load on targets, networks and the database

More pollers or preprocessing workers let the server issue more checks at once. That load lands on monitored devices, on links between sites and on the database that stores results. Check target capacity, SNMP and agent limits on devices, and database disk and connection headroom before raising counts. Test increases in a non-production environment first.

Dependence on the active server node

In a high availability cluster, only the active node runs the tuned processes, and failover moves work to a standby that may have different settings. Confirm that every node carries the same configuration file, and that the failover delay and node settings match the tuning you tested.

Zabbix HA docs

Questions teams ask before tuning Zabbix processes

How much effort does diagnosing busy Zabbix processes take?

The effort depends mainly on how large the installation is and how much history the team can share. A small server with a few hundred hosts and standard templates usually needs a short review of internal items and logs. A larger installation with many proxies, custom items, preprocessing chains and a busy database takes longer, because each busy percentage has to be traced back to the checks, hosts and proxies that cause it. Ask any provider to break the work into collecting data, analyzing the busy items and cache statistics, recommending changes, and verifying the result. Ask for the scope in writing before work starts, since the number of hosts and custom items is the first thing that changes the estimate.

What drives the cost of a Zabbix process tuning engagement?

Cost follows the scope of the diagnosis and the number of changes you want made. The main drivers are the number of Zabbix server and proxy nodes, the count of hosts and items, whether custom items or external scripts are involved, the complexity of the database, and whether changes must be rolled out in change windows. Recurring costs are separate: a retainer covers continued monitoring and tuning after the first pass. Ask for a fixed-scope quote that lists what is measured, which configuration keys may change, what testing happens before production, and what is handed over at the end. DeployOpen does not publish prices, and the quote follows from the written scope.

How long before busy percentages show a change after tuning?

Busy percentages usually reflect a rolling window, so a change shows up only after the server has run under real load for a period long enough to cover normal daily peaks. A pattern seen on a quiet weekend may not appear on a Monday morning batch cycle. Plan to observe the internal items across at least one full business cycle before judging a change, and keep the previous configuration so it can be reverted. Confirm with your team which business peaks matter, because those windows set the measurement period more than any general rule.

What does the team need to provide for a Zabbix process review?

The review needs access and historical context more than new tooling. Typically you provide:

  • Read access to the Zabbix frontend and the internal host items, including zabbix[process] and cache statistics
  • Server and proxy configuration files, with the current values for pollers, preprocessors and history syncers
  • Access to the database performance view, or the ability to run agreed read-only queries
  • Logs for the period under review and the list of recent configuration changes
  • Change windows in which any test or configuration edit can be applied and reverted

Agree on who approves changes to production before work starts.

Can our in-house team tune Zabbix processes without an outside partner?

Yes, a team that already runs Zabbix can usually do this work, provided it has time to read the internal items, the server configuration reference and its own host and item inventory. The main risk is changing too many settings at once and not knowing which one helped. Teams that lack a Zabbix administrator with database experience often spend longer on the diagnosis than the change itself. The official internal checks documentation and the server configuration reference are the natural starting points for an in-house review.

What does an outside partner add to Zabbix process tuning?

A partner brings a repeatable method for finding the constraint, which is often a poller type, a preprocessing step, a history syncer or a slow external check, rather than the setting that looks busiest. It also adds a written scope, a test plan and a handover that your team can run afterward. DeployOpen implements, hardens, upgrades and supports self-hosted open-source platforms in infrastructure you control, so the work happens inside your environment and the results stay with your team. A partner does not replace the decision about which trade-off your business accepts, such as more load on the database for faster processing.

Does tuning Zabbix processes change the Zabbix license or support terms?

Changing process settings does not change the license. Zabbix states that its open source software has no license fee, no device limits and no feature gates, and that is independent of tuning. Paid technical support subscriptions are a separate contract with their own response times, which vary by tier. If your team is considering a support subscription, check the tier that matches your operating hours and response needs on the Zabbix support page. Confirm with your vendor how support covers configuration advice on your installation.

Which Zabbix version should we tune against?

Tune against the version you run in production, since process behavior and available settings differ between releases. Check the support window for your version before planning changes, because a tuning project on a version near the end of support may lead to an upgrade first. The life cycle and release policy lists the full and limited support dates for each line. Confirm your version and its support end date with your team before the diagnosis starts.

How DeployOpen scopes and delivers Zabbix capacity work

DeployOpen treats Zabbix's own process and cache health as a scoped piece of work: we start from the server or proxy's internal metrics, identify which processes are saturated, and agree the tuning changes in writing before anything is altered. Every change is tested against the monitored environment and handed over with the reasoning and the alerts your team needs to keep watching it.

How we scope

  • Inventory of server and proxy instances, database backend, and the internal items currently collected
  • Written list of which busy and cache metrics will be reviewed and which thresholds will drive decisions
  • Agreed scope boundaries for pollers, preprocessors and history syncers, with changes listed before work starts
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work begins

How we build

  • Baseline capture of process busy percentages and cache usage across normal and peak monitoring periods
  • Targeted adjustments to pollers, asynchronous agent, HTTP agent, SNMP, preprocessing and history syncer settings
  • Test runs in a non-production or staged instance where your environment allows it, with before and after comparison
  • Documented alert and dashboard definitions for internal process and cache items, so trends stay visible

How we hand over

  • Runbook describing each internal item, its meaning, the normal range observed and the action each threshold triggers
  • Record of every configuration change made, with the baseline values it replaced and the reason for the change
  • Walkthrough with your monitoring and platform engineers so they can read the metrics and repeat the analysis
  • Recommendations for when to add capacity, such as another proxy or server node, kept separate from tuning work

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for Zabbix installations
  • Retainer work can cover periodic review of process busy trends after growth in hosts, items or proxies
  • Re-tuning after Zabbix upgrades, with the version-specific behavior of internal items confirmed before changes
  • Your team keeps ownership of the installation, with DeployOpen working inside infrastructure you control

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.