[ixpmanager] MRTG - Restart on config changes?
Barry O'Donovan
barry.odonovan at inex.ie
Thu Feb 18 09:21:34 GMT 2021
Nick Hilliard (INEX) wrote on 17/02/2021 17:45:
> Ian Chilton wrote on 17/02/2021 10:16:
>> I’m interested what users are actually doing in practise - are you
>> letting MRTG pick up config changes, or forcing a restart on update?
>
> at one stage INEX depended on mrtg automatically re-reading the config
> file after it changed, and this usually works until it doesn't. Overall
> it's safer to do a hard reload.
Indeed and what we do in practice is per the sample scripts in the docs:
https://docs.ixpmanager.org/grapher/mrtg/#generating-mrtg-configuration
except we restart at the end.
NB: I have just pushed updates to the docs to add the restart.
Also NB: mrtg is restarted /only/ if the config changes.
- Barry
More information about the ixpmanager
mailing list