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

@ -3,10 +3,10 @@
description = Test1
service = misc.dummy
hosts = 192.168.10.10
interval = 60
; optional options
[args]
interval = 60
; the start is to schedule the execution of the monitor in at a date in the future. this is helpful to configure
; linspector before a host is up and running.
start_date = 2025-01-01 00:00:00

View file

@ -1,7 +1,7 @@
[monitor]
description = Test10
service = misc.dummy
interval = 120
hosts = 192.168.10.10
[args]
interval = 120

View file

@ -1,8 +1,8 @@
[monitor]
description = Test2
service = misc.dummy
interval = 10
hosts = 192.168.10.10
[args]
interval = 10
test_dummy_arg = nothing

View file

@ -1,8 +1,8 @@
[monitor]
description = Test3
service = misc.dummy
interval = 5
hosts = 192.168.10.10
[args]
interval = 5
foo = bar

View file

@ -1,7 +1,7 @@
[monitor]
description = Test4
service = misc.dummy
interval = 50
hosts = 192.168.10.10
[args]
interval = 50

View file

@ -1,7 +1,7 @@
[monitor]
description = Test5
service = net.FritzboxUplink
interval = 62
hosts = 192.168.10.10
[args]
interval = 62

View file

@ -1,7 +1,7 @@
[monitor]
description = Test6
service = misc.dummy
interval = 30
hosts = 192.168.10.10
[args]
interval = 30

View file

@ -1,7 +1,7 @@
[monitor]
description = Test7
service = misc.dummy
interval = 20
hosts = 192.168.10.10
[args]
interval = 20

View file

@ -1,7 +1,7 @@
[monitor]
description = Test8
service = misc.dummy
interval = 15
hosts = 192.168.10.10
[args]
interval = 15

View file

@ -1,7 +1,7 @@
[monitor]
description = Test9
service = misc.dummy
interval = 240
hosts = 192.168.10.10
[args]
interval = 240