1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# Commented out file to define the alerters
# More information in the documentation:
# file:///usr/share/doc/simplemonitor/html/alerters.html
#
# To manage the SimpleMonitor service, use:
# systemctl {start, stop, restart, status} simplemonitor
#
# Configuration files are located in: /etc/simplemonitor
[monitor]
interval=5
monitors=monitors.ini
[reporting]
loggers=logfile
# multiple loggers can be specified comma separated (without spaces): logfile,html
# alerters=email
# Enable the section "email" to enable the alerter "email"
[logfile]
type=logfileng
filename=/var/log/simplemonitor/simplemonitor.log
only_failures=1
# Rotation every 7 days
rotation_type=time
when=d
interval=7
# [email]
# Uncomment the line "alerters=email" to use the email
# type=email
# host=mail.example.org
# from=user@example.org
# to=alerted@example.org
# username=smtp_user
# password=smtp_password
# ssl=starttls
# [html]
# type=html
# filename=index.html
# The folder must exist and be writable by the user "simplemonitor"
# folder=/var/www/html/simplemonitor
|