LinuxCommandLibrary

zabbix_agentd

Zabbix monitoring agent daemon

TLDR

Start agent

$ zabbix_agentd
copy
With config file
$ zabbix_agentd -c [/etc/zabbix/zabbix_agentd.conf]
copy
Foreground mode
$ zabbix_agentd -f
copy
Test item
$ zabbix_agentd -t "[system.cpu.load]"
copy
Print item
$ zabbix_agentd -p
copy

SYNOPSIS

zabbix_agentd [-c config] [-f] [-t item] [options]

DESCRIPTION

zabbix_agentd is the Zabbix monitoring agent daemon that collects system metrics and sends them to a Zabbix server or proxy. It gathers data on CPU, memory, disk, network, and other system resources using built-in item keys.
The agent supports two operating modes: passive mode where the server queries the agent on demand, and active mode where the agent initiates connections and sends data at configured intervals. Custom monitoring can be added through user parameters, which define commands that the agent executes to collect application-specific metrics.
The -t flag tests individual item keys for troubleshooting, and -p prints all supported items with their current values. Runtime control commands via -R allow changing log levels and reloading configuration without restarting the daemon.

PARAMETERS

-c FILE

Config file.
-f
Foreground.
-t ITEM
Test item.
-p
Print values.
-R CMD
Runtime control.

CAVEATS

Zabbix server needed. Config required. Root for some items.

HISTORY

zabbix_agentd is the agent daemon for Zabbix, an enterprise monitoring solution.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community