(Issue created regarding this thread : https://monitoring-portal.org/index.php?thread/40004-replay-logs-not-working-when-windows-server-client-reconnect/)
Hey,
Replay log is not working with Windows client. :cry:
The current file is correctly created while the connection is down.
After reconnection, the file is replayed.
However, data is missing in InfluxDB or Graphite.
There isn't special mechanism in place.
Tested with :
Regards
Can confirm the above using
master: 2.6.2
Win10 Agent: 2.6.0
No special mechanisms in place.
"current" file captured before replayed and attached.
First screenshot taken with graphite feature enabled, influxdb feature disabled.
Second screenshot taken with graphite feature disabled, influxdb feature enabled.
Both backends do not get the data.
No time issues (both machines are virtual boxes at the same notebook...),
even if graphite seems to have it's own timezone.



current.zip
Could be related:
(void) rename(oldpath.CStr(), newpath.CStr());
might need an additional _unlink similar to other rename operations inside the code.
https://github.com/Icinga/icinga2/blob/master/lib/remote/apilistener.cpp#L911
@N-o-X can you please have a look into this too? :)
Most helpful comment
Can confirm the above using
master: 2.6.2
Win10 Agent: 2.6.0
No special mechanisms in place.
"current" file captured before replayed and attached.
First screenshot taken with graphite feature enabled, influxdb feature disabled.
Second screenshot taken with graphite feature disabled, influxdb feature enabled.
Both backends do not get the data.
No time issues (both machines are virtual boxes at the same notebook...),



even if graphite seems to have it's own timezone.
current.zip