NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
Middle0 views

How does Prometheus’s model differ from Zabbix’s model (push and pull models)?

Practice

Asked at

AI answer

In a pull model, the monitoring system periodically polls the source of metrics itself. Prometheus typically works this way: on a schedule, the server collects metrics from the HTTP endpoints specified in the configuration and stores them as time series. This is convenient for centralized target discovery and monitoring scrape status.

In a push model, the source sends values to the monitoring system itself. In Zabbix, for example, data is sent to items of type Zabbix trapper using zabbix_sender; however, Zabbix also supports polling agents and SNMP, so it is not limited to the push model. Prometheus has Pushgateway for certain use cases, such as short-lived jobs, but it does not replace regular pull-based collection. In short, compare not only the products as a whole, but also the specific data collection methods and the scenarios in which they are used.