Options (6)
-c, --configbooleanStart the agent with a custom configuration file
Example:
zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}}-T, --test-configbooleanTest the configuration file and exit
Example:
zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-T|--test-config]}}-t, --testbooleanTest a specific item with verbose output
Example:
zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}-v, --verbosebooleanTest a specific item with verbose output
Example:
zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}-R, --runtime-controlbooleanReload user parameters from the configuration file (runtime control)
Example:
zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-R|--runtime-control]}} userparameter_reload-h, --helpbooleanDisplay 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.confTest 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_reloadIncrease or decrease log level (runtime control)
zabbix_agent2 [-c|--config] path/to/zabbix_agent2.conf [-R|--runtime-control] loglevel increase|decreaseDisplay help
zabbix_agent2 [-h|--help]made by @shridhargupta | data from tldr-pages