UPTIMED.CONF(5) | UPTIMED.CONF(5) |
uptimed.conf - The configuration file for uptimed(8)
uptimed.conf contains a list of key-value pairs to configure the behaviour of uptimed(8), comments start with #. The beginning of uptimed.conf might look like the following:
# Uptimed configuration file. # Interval to write the logfile with in seconds. UPDATE_INTERVAL=3600 # Maximum number of entries in logfile. Set to 0 for unlimited. LOG_MAXIMUM_ENTRIES=500
The variables LOG_MINIMUM_UPTIMED, MAIL_MINIMUM_UPTIME and MILESTONE expect a time unit which are encoded by a single letter. h is used for hour, d is used for day, w is used for weeks and y is used for years. Default (nothings specified) is seconds.
The default uptimed.conf is quite well commented so you should be able to use it as a basis. The following keys are supported:
MILESTONE=5d:five days MILESTONE=10d:ten days MILESTONE=25d:twenty-five days MILESTONE=50d:fifty days MILESTONE=10w:ten weeks MILESTONE=75d:seventy-five days MILESTONE=100d:hundred days MILESTONE=150d:hundred and fifty days MILESTONE=25w:twenty-five weeks MILESTONE=200d:two hundred days MILESTONE=250d:250 days MILESTONE=300d:three hundred days MILESTONE=50w:fifty weeks MILESTONE=1y:one year MILESTONE=400d:four hundred days MILESTONE=500d:five hundred days MILESTONE=100w:hundred weeks MILESTONE=750d:750 days MILESTONE=1000d:thousand days
This man page was written by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> for the Debian GNU/Linux project but may be used by others.
16 October 2022 | uptimed.conf |