uptimed.conf - The configuration file for uptimed(8)
contains a list of key-value pairs to configure the
behaviour of uptimed
(8), comments start with #
. The beginning of
might look like the following:
# Uptimed configuration file.
# Interval to write the logfile with in seconds.
# Maximum number of entries in logfile. Set to 0 for unlimited.
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,
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:
- Interval to write the logfile with in seconds, e.g.
- Maximum number of entries in logfile, e.g. 50. Set to 0 for
- Minimum uptime that must be reached to be considered a
- Minimum uptime before sending out e-mail.
- Minimum position in uptime ranking before sending out
- Email address to mail milestones/records to. Assumes
sendmail(8) compatible MTA installed as /usr/lib/sendmail.
You can enable this with SEND_EMAIL or with the -e option on the
- Controls if email is sent. Use 0 if you never want
an email, 1 if you want emails for both milestones and records,
2 if you want emails only for milestones and 3 if you want
emails only for records.
- Command to call a sendmail compatible mailer, e.g.
- Path to store PID file, e.g. /var/run/uptimed
- Configurable milestones. Syntax is pretty easy:
MILESTONE=time:description. Keep in mind that the description needs to fit
in the window.
MILESTONE=150d:hundred and fifty days
MILESTONE=200d:two hundred days
MILESTONE=300d:three hundred days
MILESTONE=400d:four hundred days
MILESTONE=500d:five hundred days
This man page was written by Helge Kreutzmann
<email@example.com> for the Debian GNU/Linux project but may
be used by others.