Refactoring, fixes and really a lot of new ideas...

This commit is contained in:
Johannes Findeisen 2022-09-28 08:27:51 +02:00
commit e4ffdedb56
46 changed files with 191 additions and 763 deletions

View file

@ -9,7 +9,7 @@ notifications = sMs,EmaiL
; email_receivers separated by ','. no whitespaces allowed
email_receivers = admin@example.com,fallback@example.com
; sms_receivers separated by ','. no whitespaces allowed
sms_receivers = +329084320984,+39804932409
sms_receivers = +number1,+number2
; setting to None fails. just do not set this option. currently i get an error when tasks is not set here. need to be
; fixed. setting it like below works but is no good design for optional options. same for notifications.
tasks = redis
@ -21,4 +21,6 @@ tasks = redis
hosts = 192.168.0.1,192.168.23.24,@group1,@testgroup1
user = USERNAME
password = PASSWORD
info = Cable Provider
info = Cable Provider
; only alert when the error reaches the threshold
threshold = 3

View file

@ -4,7 +4,7 @@ service = Net.FritzboxUplink
interval = 60
notifications = Email
email_receivers = admin@example.com,fallback@example.com
sms_receivers = +329084320984,+39804932409
sms_receivers = ++number1,+number2
tasks = MariaDB,FileLogger
hosts = 192.168.1.1
user = USERNAME