Added dynamic loading of notifications and services, refactoring and lot of fixes.
This commit is contained in:
parent
2384c789a7
commit
a0892d0980
57 changed files with 146 additions and 272 deletions
|
|
@ -9,7 +9,7 @@ log_size = 10485760
|
|||
pid_file = /var/run/user/1000/linspector.pid
|
||||
; default delimiters '=' and ':' should be changed to ',' to be more native
|
||||
plugins = HTTPServer
|
||||
tasks = MariaDB:Logger
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
[main]
|
||||
service = Fritzbox
|
||||
[monitor]
|
||||
service = FritzboxUplink
|
||||
interval = 60
|
||||
# default delimiters '=' and ':' should be changed to ',' to be more native
|
||||
notifications = SMS:Email
|
||||
notifications = SMS,Email
|
||||
; values from main configuration can be overridden for each defined monitor
|
||||
email_receivers = admin@example.com:fallback@example.com
|
||||
sms_receivers = +329084320984:+39804932409
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
[main]
|
||||
[monitor]
|
||||
identifier = dsl
|
||||
service = Fritzbox
|
||||
service = FritzboxUplink
|
||||
interval = 60
|
||||
# default delimiters '=' and ':' should be changed to ',' to be more native
|
||||
notifications = SMS:Email
|
||||
notifications = SMS,Email
|
||||
email_receivers = admin@example.com:fallback@example.com
|
||||
sms_receivers = +329084320984:+39804932409
|
||||
tasks = MariaDB:Logger:Redis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue