[ZBXNEXT-6997] Keep zabbix agent 2 configuration on restart Created: 2021 Oct 12  Updated: 2021 Oct 14

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent2 plugin (G)
Affects Version/s: 5.4.5
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: vyidanov Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows or linux no metter



 Description   

Steps to reproduce:

we are talking about zabbix agent2
on the client the following settings:

/etc/zabbix/zabbix-agent2.conf
EnablePersistentBuffer = 1
PersistentBufferPeriod = 1d
PersistentBufferFile = /var/spool/zabbix/agent.db

when the tcp connection is lost and resumed, everything works normally.
BUT if the client computer was working, then network disconected manualy and after some time, reboot.
the collection of new metrics will not occur.
and when the connection is restored, the data that was collected before the reboot is sent to the server.
**it is clear that this is a feature of the "active agent" check type

 Expected:

Is it possible to make a key in config - which allows persistentBufferFile to persist store
data about the last successful set of metrics.
and when starting a client without a network, the agent would continue to collect the necessary metrics.

 



 Comments   
Comment by Alexander Vladishev [ 2021 Oct 13 ]

Moved to ZBXNEXT project due it is a new feature request.

Generated at Sat Aug 02 10:27:03 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.