4

I am working on deploying Zabbix in our organization and comparing zabbix agent vs agent2

I found following link which is useful,

https://www.zabbix.com/documentation...ent_comparison

I just have a couple of questions:

  • For agent2 "Daemonization" is "no". Does it mean agent2 service does not run in background? That does not seem right...
  • Similarly "Drop user privileges" is "no". To me it sounds like the service would run as "root". However on testing, I can see that service is running as "zabbix" user.

Also, is there anything else I should know when using agent2? e.g. any limitations, gotchas?

Thank you J

Jigar
  • 131

2 Answers2

4

I posted the same question on zabbix forum and got this reply.

zabbix agent 2 is capable of doing all agent 1 does + some more. It's not "daemonized" on *NIX because this job is propagated to systemd. The same with privileges, while agent 1 is capable of switching user that it is run as, agent 2 doesn't have this functionality and this is controlled by systemd instead.

Fixed documentation, let me know if it's more clear now.

Source: https://www.zabbix.com/forum/zabbix-help/422788-zabbix-agent-vs-agent2

Paul
  • 3,278
Jigar
  • 131
0

It is stated in the documentation as follows

Parameter Zabbix agent Zabbix agent 2
Programming language C Go with some parts in C
Daemonization yes by systemd only (yes on Windows)
Supported extensions Custom loadable modules in C. Custom plugins in Go.
Requirements
Supported platforms Linux, IBM AIX, FreeBSD, NetBSD, OpenBSD, HP-UX, Mac OS X, Solaris: 9, 10, 11, Windows: all desktop and server versions since XP Linux, Windows: all desktop and server versions, on which an up-to-date supported Go version can be installed.
Supported crypto libraries GnuTLS 3.1.18 and newer
OpenSSL 1.0.1, 1.0.2, 1.1.0, 1.1.1, 3.0.x
LibreSSL - tested with versions 2.7.4, 2.8.2 (certain limitations apply, see the Encryption page for details).
Linux: OpenSSL 1.0.1 and later.
MS Windows: OpenSSL 1.1.1 or later.
The OpenSSL library must have PSK support enabled. LibreSSL is not supported.
Monitoring processes
Processes A separate active check process for each server/proxy record. Single process with automatically created threads.
The maximum number of threads is determined by the GOMAXPROCS environment variable.
Metrics UNIX: see a list of supported items.

Windows: see a list of additional Windows-specific items.
UNIX: All metrics supported by Zabbix agent.
Additionally, the agent 2 provides Zabbix-native monitoring solution for: Docker, Memcached, MySQL, PostgreSQL, Redis, systemd, and other monitoring targets - see a full list of agent 2 specific items.

Windows: All metrics supported by Zabbix agent, and also net.tcp.service* checks of HTTPS, LDAP.
Additionally, the agent 2 provides Zabbix-native monitoring solution for: PostgreSQL, Redis.
Concurrency Active checks for single server are executed sequentially. Checks from different plugins or multiple checks within one plugin can be executed concurrently.
Third-party traps no yes
Additional features
Persistent storage no yes
Persistent files for log*[] metrics yes (only on Unix) no
Log data upload Can be performed during log gathering to free the buffer. Log gathering is stopped when the buffer is full, therefore the BufferSize parameter must be at least MaxLinesPerSecond x 2.
Changes user at runtime yes (Unix-like systems only) no (controlled by systemd)
User-configurable ciphersuites yes no