Fixed dynamic loading of notifications, tasks and service. My last implementation was wrong and ugly. Now it seems to be the pythonic way.
This commit is contained in:
parent
0d41077eb6
commit
c17b061fd0
25 changed files with 104 additions and 15 deletions
|
|
@ -13,6 +13,10 @@ sms_receivers = +329084320984,+39804932409
|
|||
; 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
|
||||
; maybe this should be some kind of range too, for example for the ping service like: 10.0.0.1-10.0.0.42 or more
|
||||
; sophisticated kind of ranges... i will find a solution for that... like host groups in the old version of Linspector
|
||||
; so we don't need to add a monitor for each host... but it would be a good idea to expose these hosts to become a
|
||||
; monitor for each host internally. ;)
|
||||
host = 192.168.0.1
|
||||
user = USERNAME
|
||||
password = PASSWORD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue