Backup commit. Many internally changes. Known issues still need to be fixed.

This commit is contained in:
Johannes Findeisen 2022-09-30 05:43:35 +02:00
commit ee423c01bb
22 changed files with 122 additions and 85 deletions

View file

@ -19,9 +19,17 @@ tasks = redis
; internally to single hosts to become a monitor for each host internally. some more ideas are in ;)
; hosts with added hostgroup defined in main configuration file
hosts = 192.168.0.1,192.168.23.24,@group1,@testgroup1
; monitors can add their self into a hostgroup
hostgroup = group1
user = USERNAME
password = PASSWORD
info = Cable Provider
; only alert when the error reaches the threshold
threshold = 3
threshold = 3
; need to think about it but since Linspector does not know variables defined by a service, notification or task they
; need to be handed over as **kwargs dict. so i think it would be a good idea to put them here and just give over all
; these vars as a dict. for now only interval and service are know and even required arguments to get a service running.
[args]
foo = bar
bar = foo

View file

@ -9,4 +9,8 @@ tasks = MariaDB,FileLogger
hosts = 192.168.1.1
user = USERNAME
password = PASSWORD
info = Cable Provider
info = Cable Provider
[args]
foo = bary
bar = fooy

View file

@ -1,3 +1,7 @@
[monitor]
service = misc.dummy
interval = 1
interval = 60
[args]
foo = barx
bar = foox