OS Manuals

/usr/bin/zabbix_agent2

FIPS-enabled Zabbix Agent 2 - next generation Zabbix monitoring agent

From zabbix-agent2-fips-7.4 7.4.16-r1 (enterprise-packages), captured 2026-11-08 by running zabbix_agent2 --help (exit 0). permalink

Usage of 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] -T
  zabbix_agent2 [-c config-file] -R runtime-option [parameters...]
  zabbix_agent2 -h
  zabbix_agent2 -V

A Zabbix daemon for monitoring of various server parameters.

Options:
  -c --config                             Path to the configuration file (default: "/etc/zabbix/zabbix_agent2.conf")
  -f --foreground                         Run Zabbix agent in foreground
  -p --print                              Print known items and exit
  -t --test                               Test specified item and exit
  -T --test-config                        Validate configuration file and exit
  -R --runtime-control                    Perform administrative functions (1s timeout)

    Remote control interface, available commands:
      log_level_increase                    Increase log level
      log_level_decrease                    Decrease log level
      userparameter_reload                  Reload user parameters
      periodic_prof_enable                  Enable periodic profiling
      periodic_prof_disable                 Disable periodic profiling
      periodic_prof_execute                 Write profiles after a 5-second sample
      periodic_prof_set_interval <seconds>  Set profiling interval
      metrics                               List available metrics
      version                               Display Agent version

    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.

    When periodic profiling is enabled, periodic_prof_execute 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 periodic_prof_execute is collecting profiles, all profiler runtime
    commands are rejected with "profiler is busy".

  -v --verbose                            Enable verbose output for metric testing or printing
  -h --help                               Display this help message
  -V --version                            Print program version and exit


Example: zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf

Report bugs to: <https://support.zabbix.com>
Zabbix home page: <https://www.zabbix.com>
Documentation: <https://www.zabbix.com/documentation>
Options (9)
OptionDescriptionSource
-c --configPath to the configuration file (default: "/etc/zabbix/zabbix_agent2.conf")help
-f --foregroundRun Zabbix agent in foregroundhelp
-p --printPrint known items and exithelp
-t --testTest specified item and exithelp
-T --test-configValidate configuration file and exithelp
-R --runtime-controlPerform administrative functions (1s timeout)help
-v --verboseEnable verbose output for metric testing or printinghelp
-h --helpDisplay this help messagehelp
-V --versionPrint program version and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.