Hi there,
this seems broken for me (or lack of understanding on my end).
I have the buffer on the agents enabled and set:
All is working fine as long as the Zabbix-Server is online.
When i take the server offline (it's just not a 24/7 running machine), the buffer file is created with rw permit for user 'zabbix', it contains only the IP address and hostname of the agent, but no other data are added. The file size also doesn't increase after the file is created.
When the server is back online, there are no data for the agents for the offline duration of the server.
Both, server and agent, are in the same network. Zabbix is 7.0 LTS, server is a headless Ubuntu-Server 24.04.1 LTS and agents are running either on the same OS version as the server or on a Debian 12.7.0.
I have no idea, what i could have done wrong or what's causing this.
Some info about my setup:
Zabbix server 7.0 LTS is on a headless Ubuntu server 24.04.1 LTS in a ProxMox vm, running with MySQl and Nginx.
One zabbix-agent2 is running 24/7 on a headless Debian 12.7.0 running on a Futro S520, same network as the server
Another zabbix-agent2 is running on a headless Ubuntu server 24.04.1 LTS in a ProxMox vm, running in an external network.
Both agents on different environment show identical behavior. I use passive mode in both cases.
Steps to reproduce:
- configure the agent for persistent buffering
- stop the server for some minutes while the agents running
- start the server after waiting some minutes
- look at the monitoring data from that agents on the server
- see the lack of agent data during the server offline duration
What i expect to happen:
No loss of monitoring data from running agents while the server is offline. I assume, the agents should transfer their stored data from the buffer file to the server as soon as the server is available again. In my understanding that's what persistent buffer means.
What really happens:
Loss of monitoring data from running agents while the server is offline, because there are no data buffered in the buffer file as expected, therefore no data are forwared to the server when it's available again.
The buffer file is created but not filled with monitoring data.
No additional log data is created for the agents when the server is offline.
Any kind soul has an idea or two?
Thanks in advance! :-)
Antaiir
this seems broken for me (or lack of understanding on my end).
I have the buffer on the agents enabled and set:
Code:
EnablePersistentBuffer=1 PersistentBufferPeriod=15d PersistentBufferFile=/tmp/zabbix_BufferFile.sqlite
When i take the server offline (it's just not a 24/7 running machine), the buffer file is created with rw permit for user 'zabbix', it contains only the IP address and hostname of the agent, but no other data are added. The file size also doesn't increase after the file is created.
When the server is back online, there are no data for the agents for the offline duration of the server.
Both, server and agent, are in the same network. Zabbix is 7.0 LTS, server is a headless Ubuntu-Server 24.04.1 LTS and agents are running either on the same OS version as the server or on a Debian 12.7.0.
I have no idea, what i could have done wrong or what's causing this.
Some info about my setup:
Zabbix server 7.0 LTS is on a headless Ubuntu server 24.04.1 LTS in a ProxMox vm, running with MySQl and Nginx.
One zabbix-agent2 is running 24/7 on a headless Debian 12.7.0 running on a Futro S520, same network as the server
Another zabbix-agent2 is running on a headless Ubuntu server 24.04.1 LTS in a ProxMox vm, running in an external network.
Both agents on different environment show identical behavior. I use passive mode in both cases.
Steps to reproduce:
- configure the agent for persistent buffering
- stop the server for some minutes while the agents running
- start the server after waiting some minutes
- look at the monitoring data from that agents on the server
- see the lack of agent data during the server offline duration
What i expect to happen:
No loss of monitoring data from running agents while the server is offline. I assume, the agents should transfer their stored data from the buffer file to the server as soon as the server is available again. In my understanding that's what persistent buffer means.
What really happens:
Loss of monitoring data from running agents while the server is offline, because there are no data buffered in the buffer file as expected, therefore no data are forwared to the server when it's available again.
The buffer file is created but not filled with monitoring data.
No additional log data is created for the agents when the server is offline.
Any kind soul has an idea or two?
Thanks in advance! :-)
Antaiir
Comment