Made the monitor interval optional and set 300 seconds to default.

This commit is contained in:
Johannes Findeisen 2022-10-06 03:08:16 +02:00
commit fc925d1d82
14 changed files with 24 additions and 19 deletions

View file

@ -5,13 +5,13 @@
description = Cable Provider
service = net.fritzboxuplink
hosts = 192.168.0.1,192.168.23.24,@group1,@testgroup1
; this only depends on the SLA you made with the product owner.
interval = 60
; optional options when using notifications, plugins, services or tasks. btw. they still can be a required argument by
; a corresponding notification, plugin, service or task. they will need to check required args by themself and throw an
; exception if something fails. linspector never knows about required args:
[args]
; this only depends on the SLA you made with the product owner. this option is optional. the default is 300 seconds.
interval = 60
; notifications separated by ','. no whitespaces allowed. the case is not important.
notifications = sms,emaiL
; values from main configuration can be overridden for each defined monitor