mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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>
This commit is contained in:
committed by
Peter Müller
parent
4c7266a39e
commit
f2d7d4ec16
6
src/initscripts/networking/red.up/60-collectd
Normal file
6
src/initscripts/networking/red.up/60-collectd
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Restart collectd because the ping plugin does not re-resolve "gateway"
|
||||
exec /etc/init.d/collectd restart
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user