]> git.ipfire.org Git - ipfire-2.x.git/commit - config/rootfiles/common/aarch64/initscripts
collectd: Restart is required after reconnect
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Jan 2024 13:29:04 +0000 (13:29 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 14 Jan 2024 16:04:03 +0000 (16:04 +0000)
commitf2d7d4ec16f2aea87b5e8fe638b062610cd8dc94
tree60d1b9cb74e34f1913e7d0dbc00e5b81bf026e54
parent4c7266a39e990db15498a7541ed7b0ad74184986
collectd: Restart is required after reconnect

The "ping" plugin does not re-resolve the gateway IP address after
pinging it for the first time. For most people this won't be a big
problem, but if the default gateway changes, the latency graph won't
work any more.

In order to do re-resolve "gateway", the only way is to restart
collectd.

Fixes: #13522
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/common/aarch64/initscripts
config/rootfiles/common/riscv64/initscripts
config/rootfiles/common/x86_64/initscripts
src/initscripts/networking/red.up/60-collectd [new file with mode: 0644]