[ZBX-22894] Agent2 container, systemd plugin does not work Created: 2023 Jun 04  Updated: 2024 Apr 10  Resolved: 2023 Dec 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: 6.4.3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Steven Brickell Assignee: Unassigned
Resolution: Commercial support required Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

container zabbix-agent2:latest


Team: Team A

 Description   

Steps to reproduce:

  1. run agent2 container on host whiel mapping '/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:rw'
  2. assign template "Systemd by Zabbix agent 2" to host object in Zabbix
  3. check discovery of items for this host: service units, socket units

Result:

the discovery does not work with error info: Cannot establish connection to any available bus: dbus: authentication failed

however, the zabbix-agent2 container as r/w permissions for the dbus socket, as properly mapped (see (1.))

Expected:
service units and socket units should be discovered from systemd



 Comments   
Comment by Oleksii Zagorskyi [ 2023 Dec 22 ]

Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support (https://zabbix.com/support) or consultancy services. Alternatively, you can also use our community channels (https://www.zabbix.com/community) for assistance. With that said, we are closing this ticket. Thank you for understanding.

Generated at Thu May 08 07:23:04 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.