/usr/local/etc/zabbix_agent2.conf
Default location of Zabbix agent 2 configuration file (if not modified during compile time).
Zabbix agent 2
zabbix_agent2 [-c
config-file]
zabbix_agent2 [-c
config-file]
[-v]
-p
zabbix_agent2 [-c
config-file]
[-v]
-t
item-key
zabbix_agent2 [-c
config-file]
-R
runtime-option
[parameters ...]
zabbix_agent2 [-c
config-file]
-T
zabbix_agent2 -h
zabbix_agent2 -V
zabbix_agent2 is an application for monitoring parameters of various services.
-c, --config config-file
Use the alternate config-file instead of the default one.
-R, --runtime-control runtime-option [parameters...]Perform administrative functions according to runtime-option and any parameters it accepts.
userparameter_reloadReload user parameters from the configuration file
periodic_prof_enableEnable periodic profiling
Periodic CPU data is collected into a hidden temporary file. When an interval ends, the file is published as a CPU profile and the configured number of completed files is retained. The temporary file does not count toward ProfilerMaxFilesPerProfile.
periodic_prof_disableDisable periodic profiling
periodic_prof_executeWrite profiles after a 5-second sample
When periodic profiling is enabled, this command finishes the current CPU interval, writes a separate 5-second CPU profile, and starts a new periodic CPU file. Explicitly requested profiles are rotated according to ProfilerMaxFilesPerProfile when the command completes. While this command is collecting profiles, all profiler runtime commands are rejected with "profiler is busy".
periodic_prof_set_interval secondsSet profiling interval
log_level_increaseIncrease log level
log_level_decreaseDecrease log level
helpList available runtime control options
metricsList available metrics
versionDisplay version
-p, --print
Print known items and exit. For each item either generic defaults are used, or specific defaults for testing are supplied. These defaults are listed in square brackets as item key parameters. Returned values are enclosed in square brackets and prefixed with the type of the returned value, separated by a pipe character. For user parameters type is always t, as the agent can not determine all possible return values. Items, displayed as working, are not guaranteed to work from the Zabbix server or zabbix_get when querying a running agent daemon as permissions or environment may be different. Returned value types are:
Number with a decimal part.
Not supported. This could be caused by querying an item that only works in the active mode like a log monitoring item or an item that requires multiple collected values. Permission issues or incorrect user parameters could also result in the not supported state.
Text. Maximum length not limited.
Text. Same as s.
Unsigned integer.
-t, --test item-key
Test single item and exit. See --print for output description.
-v, --verbose
Enable verbose output when test item or print known items.
-T, --test-config
Validate configuration file and exit.
-h, --help
Display this help and exit.
-V, --version
Output version information and exit.
/usr/local/etc/zabbix_agent2.conf
Default location of Zabbix agent 2 configuration file (if not modified during compile time).
3 releases since Debian 12 (Bookworm); the text changed 2 times.
--test-config since Debian 13 (Trixie);
-T since Debian 13 (Trixie).
--runtime-control until Debian 13 (Trixie);
-R until Debian 13 (Trixie).