ZABBIX_AGENTD(8)

๐Ÿ“ฆ
version 7.4.16 ยท 5 versions
, in alpine 3.24, arch rolling, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

๐Ÿ’– ZABBIX_AGENTD ๐Ÿ’–

okay bestie, gather round, because this is the zabbix_agentd page from the System Manager's Manual and she is that girl ๐ŸŽ€

โœจ NAME โœจ

zabbix_agentd โ€” the Zabbix agent daemon, aka the little guy who sits on your server and keeps an eye on everything ๐Ÿ‘€

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

zabbix_agentd [-c config-file]
zabbix_agentd [-c config-file] -p
zabbix_agentd [-c config-file] -t item-key
zabbix_agentd [-c config-file] -R runtime-option
zabbix_agentd [-c config-file] -T
zabbix_agentd -h
zabbix_agentd -V

๐ŸŒธ DESCRIPTION ๐ŸŒธ

So like. zabbix_agentd is a daemon for monitoring various server parameters. that's it, that's the whole job description, and honestly? iconic. it just vibes there, collecting your metrics, minding its business ๐Ÿ’…


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

the main character options, no skips, we're covering all of them fr fr โœจ

  • -c, --config config-file โ€” use the alternate config-file instead of the default one. like, if you wanna be different, this is your moment ๐Ÿซถ
  • -f, --foreground โ€” run Zabbix agent in foreground. no hiding in the background, she wants to be seen ๐Ÿ’…
  • -R, --runtime-control runtime-option โ€” perform administrative functions according to runtime-option. very "I can do admin stuff too" energy โœจ

๐ŸŽ€ Runtime control options ๐ŸŽ€

  • userparameter_reload โ€” reload user parameters from the configuration file. refresh, reboot the vibes, reload the whole lewk ๐Ÿ’–
  • log_level_increase[=target] โ€” increase log level. affects all processes if target is not specified. turn the volume UP ๐Ÿ”ฅ
  • log_level_decrease[=target] โ€” decrease log level. affects all processes if target is not specified. and now we're turning it back down, we love a range ๐Ÿ™ˆ

๐ŸŒˆ Log level control targets ๐ŸŒˆ

  • process-type โ€” all processes of specified type (active checks, collector, listener). pick a whole squad, not just one girl ๐Ÿงš
  • process-type,N โ€” process type and number (e.g., listener,3). so specific, so precise, we stan a targeted approach โญ
  • pid โ€” process identifier, up to 65535. for larger values specify target as "process-type,N". yeah bestie, there's a ceiling on that one, and past 65535 you gotta go the "process-type,N" route ๐Ÿ’€

๐Ÿ“ More options, because we're not done ๐Ÿ“

  • -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.
bestie listen. just because --print says an item works does NOT mean it'll work from the server side. permissions, environment, all of it can be different. it's giving "works on my machine" and we're not falling for it ๐Ÿ˜ญ

returned value types are:

  • d โ€” number with a decimal part. decimals, we love a precise queen ๐Ÿ’œ
  • m โ€” 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. sad girl hours, she's just not giving anything today ๐Ÿ˜ญ
  • s โ€” text. maximum length not limited. no cap on length, literally none โœจ
  • t โ€” text. same as s. twins fr fr ๐Ÿ‘ฏ
  • u โ€” unsigned integer. whole numbers only, no decimals allowed, she's got boundaries ๐Ÿ’…
  • -t, --test item-key โ€” test a single item and exit. see --print for output description. one item, one test, in and out, efficient queen โญ
  • -T, --test-config โ€” validate configuration file and exit. a little vibe check on your config before you commit ๐ŸŽ€
  • -h, --help โ€” display this help and exit. she's helping! ๐Ÿซถ
  • -V, --version โ€” output version information and exit. tell me who you are, bestie ๐Ÿ’–

๐ŸŒŸ FILES ๐ŸŒŸ

  • /usr/local/etc/zabbix_agentd.conf โ€” default location of Zabbix agent configuration file (if not modified during compile time). so if it's not where you expect, blame the compile step, not the agent ๐Ÿ™ˆ

๐Ÿ’ซ SEE ALSO ๐Ÿ’ซ

the whole friend group, assembled ๐ŸŒˆ


and that's the page!! brought to you by Zabbix, dated 2022-01-06, and yes she is still serving looks in this manual section ๐Ÿ’… mwah, go monitor something, you got this ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from