Cleanups and README update.
This commit is contained in:
parent
eda404ef74
commit
7d5e372410
5 changed files with 24 additions and 20 deletions
|
|
@ -1,9 +1,4 @@
|
|||
; all you need to know: https://docs.python.org/3/library/configparser.html ... ;)
|
||||
; manifest:
|
||||
; - no inline comments so every available character can be used in values
|
||||
; - values can be overridden in each monitor
|
||||
; - file names are not important but section names and key names.
|
||||
; - comments can be inserted using ',' or '#'
|
||||
[linspector]
|
||||
; report core errors to the following users
|
||||
error_receivers = admin@example.com
|
||||
|
|
@ -13,8 +8,8 @@ log_count = 5
|
|||
log_size = 10485760
|
||||
pid_file = /var/run/user/1000/linspector.pid
|
||||
; default delimiters '=' and ':' should be changed to ',' to be more native
|
||||
plugins = backend.HTTPServer
|
||||
tasks = database.MariaDB:storage.Logger
|
||||
plugins = HTTPServer
|
||||
tasks = MariaDB:Logger
|
||||
; maybe the run_mode is obsolete because this will be a daemon but maybe it is useful for one time execution?
|
||||
; in uplink the available run_modes were cron, daemon and foreground
|
||||
run_mode = cron
|
||||
|
|
@ -23,8 +18,8 @@ run_mode = cron
|
|||
; is needed. see email example.
|
||||
[notifications]
|
||||
; values can be overridden in each defined monitor
|
||||
sms_receivers = +34324234234:+324242344
|
||||
sms_configuration_file = ~/code/linspector/etc/gammurc
|
||||
sms_receivers = +number1:+number2
|
||||
sms_configuration_file = ~/linspector/etc/gammurc
|
||||
; retry to send interval and number of retries if something failed
|
||||
sms_resend = 10
|
||||
sms_resend_count = 5
|
||||
|
|
@ -43,6 +38,6 @@ speedtest_url = https://go.microsoft.com/fwlink/?Linkid=850641
|
|||
[tasks]
|
||||
mariadb_database = linspector
|
||||
mariadb_host = 10.0.0.254
|
||||
mariadb_password = 3qx7HfrxGNM83lqN
|
||||
mariadb_password = PASSWORD
|
||||
mariadb_port": 3306
|
||||
mariadb_user = uplink
|
||||
mariadb_user = USER
|
||||
|
|
@ -2,6 +2,6 @@
|
|||
resend = 20
|
||||
smtp_host = mail.example.com
|
||||
smtp_port = 25
|
||||
smtp_password = k4509knsd09
|
||||
smtp_user = alert@hanez.org
|
||||
smtp_password = PASSWORD
|
||||
smtp_user = alerts@example.com
|
||||
receivers = admin@example.com
|
||||
Loading…
Add table
Add a link
Reference in a new issue