Skip to content
IT Support7 min read

Zabbix for business infrastructure

Zabbix and Prometheus are both described as monitoring and are built for different jobs. Zabbix is an integrated system that arrives knowing what a server, a switch and a printer are. That difference is what should decide which one a growing business runs.

ZabbixSNMPMySQLPostgreSQLPrometheus

A business that decides to monitor its infrastructure finds two open-source answers recommended with roughly equal confidence, and very little explanation of why they are different.

They are different in a way that matters. One was designed for applications you build and instrument; the other was designed for estates you own and did not build — servers, switches, firewalls, printers, air conditioning units and the appliance in the corner that only speaks SNMP.

Most growing businesses have far more of the second than the first, which is the practical starting point for the comparison.

The architectural difference

How the two approaches differ
ZabbixPrometheus
ShapeIntegrated system — collection, storage, alerting, interfaceA metrics store, composed with other tools
StorageA relational database you operateIts own time series store
CollectionAgent, agentless, SNMP, IPMI, scriptsScraped HTTP endpoints
Knowledge of devicesTemplates for common hardware and softwareExporters, configured per target
Data modelItems on hostsDimensional, metric name plus labels
Best suited toMixed estates of things you boughtApplications you built and instrumented

The row that decides most real cases is the fourth. Zabbix ships with templates describing what to collect from common devices and software, so pointing it at a switch produces useful monitoring without anyone deciding what a switch's important metrics are.

That is a substantial saving for a business with a heterogeneous estate and no dedicated monitoring engineer. Conversely, for a team instrumenting its own application, the dimensional model and query language on the other side are the better fit, and the templates are irrelevant.

Where Zabbix earns its place

Agentless and SNMP coverage

A large part of a business estate cannot run an agent. Switches, firewalls, storage arrays, uninterruptible power supplies, printers and building systems expose SNMP and nothing else. Zabbix treats that as a first-class collection method rather than as an integration to be arranged.

This is the single most common reason a growing business ends up on Zabbix, and it is a good reason. The devices that go unmonitored in most estates are precisely these, and they are also the ones whose failures are least visible until something stops.

Discovery

Zabbix can discover hosts on a network and the entities on them — interfaces, filesystems, services — and apply monitoring automatically. That matters because the machine nobody added to monitoring is the machine nobody patched, and a manual host list goes stale the week it is written.

Escalation built in

Alerting with escalation paths and acknowledgement is part of the product rather than a separate component to deploy and operate. For a small team, one fewer system to run is a genuine operational saving.

The thing that decides long-term health

Zabbix stores history in a relational database — MySQL or PostgreSQL — which the business operates. That is a strength, because it is a technology already understood, and it is the source of the most common failure in long-running deployments.

Every monitored item writes a value at every interval. An estate of a hundred hosts with a few hundred items each, sampled every minute, generates a very large number of rows per day. Left with default retention, the database grows until queries slow, the interface becomes unresponsive, and the monitoring system requires monitoring.

  1. 1

    Set history and trend retention deliberately

    Detailed history and long-term trends serve different purposes and should have different retention. Keeping full-resolution history for a year is rarely useful and is expensive in exactly this way.

  2. 2

    Ensure housekeeping is actually running

    The mechanism that removes expired data can fall behind on a busy system, and when it does the growth is unbounded. This is worth alerting on.

  3. 3

    Give the database appropriate storage

    Write throughput is the constraint, not capacity. Slow storage under the monitoring database produces symptoms that look like a monitoring fault.

  4. 4

    Review polling intervals

    Not everything needs sampling every thirty seconds. Interval is the most direct lever on data volume and it is usually set once and never revisited.

  5. 5

    Monitor the monitoring system

    Externally. A monitoring system that stops reports nothing, including its own absence.

The fourth step is worth acting on before the database becomes a problem rather than after. Halving a polling interval doubles the data indefinitely, and the decision is usually made during setup by someone choosing a default.

Building an alert set worth trusting

Zabbix makes it easy to monitor a great deal, and templates apply many triggers at once. The result is frequently a system producing far more alerts than anyone can act on, which trains the team to ignore them.

  • Review what the templates enabled rather than accepting all of it. Not every trigger a template ships is relevant to your estate.
  • Apply the same rule as any alert set: if the correct response is to look and do nothing, it belongs on a screen, not in a notification.
  • Use severity levels honestly. If everything is high, nothing is.
  • Alert on business-visible symptoms as well as device conditions, since a device can be entirely healthy while the service it provides is not.
  • Review monthly what fired and what was acted on, and delete or fix what is always dismissed.

The reasoning behind alerting on symptoms rather than causes is the same regardless of tool and is covered in depth elsewhere; it applies here without modification.

Should a business use Zabbix or Prometheus?

It depends on what is being monitored. Zabbix suits a mixed estate of equipment the business bought — servers, switches, firewalls, storage, printers and appliances — because it treats agentless and SNMP collection as first-class and ships templates describing what to collect from common devices. Prometheus suits applications the business builds and instruments, where its dimensional data model and query language are the better fit. Most growing businesses have more of the former, which is why Zabbix is often the better first choice.

Can both be used together?

Yes, and at a certain size it is a defensible design: Zabbix for the infrastructure estate and Prometheus for applications built in-house. The functional overlap is smaller than it appears because they are strong at different things. It does mean operating two systems, so it should be a deliberate decision rather than something that happens by accident.

Why does a Zabbix deployment slow down over time?

Database growth. Zabbix stores history in a relational database that the business operates, and every monitored item writes a value at every polling interval, so an estate of a hundred hosts with a few hundred items each generates a very large number of rows per day. With default retention the database grows until queries slow and the interface becomes unresponsive. Setting history and trend retention deliberately, verifying housekeeping keeps up, and reviewing polling intervals prevents it.

What is the biggest advantage of Zabbix for a growing business?

Coverage of the devices that cannot run an agent. Switches, firewalls, storage arrays, uninterruptible power supplies, printers and building systems expose SNMP and nothing else, and they are precisely the equipment that goes unmonitored in most estates. Combined with network discovery, which prevents a manual host list from going stale, this addresses the gap where failures are least visible until something stops.

How should alerting be configured in Zabbix?

By reviewing what the templates enabled rather than accepting all of it, because templates apply many triggers at once and the usual result is more alerts than anyone can act on. The general rule applies: if the correct response to a notification is to look and do nothing, it belongs on a screen instead. Severity should be used honestly, business-visible symptoms should be alerted on alongside device conditions, and what fired versus what was acted on should be reviewed monthly.

Sources and further reading

Services This Relates To

Written by KYCONNECTS Engineering. Client names are withheld under confidentiality.

Talk Through Your Requirements

We typically respond within 4–8 business hours.