commands.sh

zabbix_agent2

all

Daemon for monitoring server parameters.

More info →

Options (6)

-c, --configboolean

Start the agent with a custom configuration file

Example: zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}}
-T, --test-configboolean

Test the configuration file and exit

Example: zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-T|--test-config]}}
-t, --testboolean

Test a specific item with verbose output

Example: zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}
-v, --verboseboolean

Test a specific item with verbose output

Example: zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}
-R, --runtime-controlboolean

Reload user parameters from the configuration file (runtime control)

Example: zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-R|--runtime-control]}} userparameter_reload
-h, --helpboolean

Display help

Example: zabbix_agent2 {{[-h|--help]}}

Examples (7)

Start the agent with the default configuration file

Start the agent with a custom configuration file

zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf

Test the configuration file and exit

zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf [-T|--test-config]

Test a specific item with verbose output

zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf [-t|--test] item_key [-v|--verbose]

Reload user parameters from the configuration file (runtime control)

zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf [-R|--runtime-control] userparameter_reload

Increase or decrease log level (runtime control)

zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf [-R|--runtime-control] loglevel increase|decrease

Display help

zabbix_agent2 [-h|--help]
made by @shridhargupta | data from tldr-pages