Icinga2: Replay log not working with Windows client

Created on 6 Mar 2017  路  2Comments  路  Source: Icinga/icinga2

(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 :

  • 2.6.2 Master.
  • 2.6.0, 2.6.1 and 2.6.2 Windows client.

Regards

aredistributed arewindows bug

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.
2017-03-06 05_01_23-greenshot
virtualbox_win2012r2 - debian 8 6 uefi_04_03_2017_20_21_23
virtualbox_win2012r2 - debian 8 6 uefi_04_03_2017_21_06_29
current.zip

All 2 comments

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.
2017-03-06 05_01_23-greenshot
virtualbox_win2012r2 - debian 8 6 uefi_04_03_2017_20_21_23
virtualbox_win2012r2 - debian 8 6 uefi_04_03_2017_21_06_29
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? :)

Was this page helpful?
0 / 5 - 0 ratings