Added a default job interval if not configured in core or monitor configuration.
This commit is contained in:
parent
87c88a243b
commit
390f768172
3 changed files with 19 additions and 7 deletions
|
|
@ -35,6 +35,9 @@ start_scheduler = true
|
|||
; explain this.... :) default is "thread" but Linspector will only run on one CPU core then. default threads are 1024
|
||||
; but this can be set much higher here. this should be minimal set to the number of monitors you are running.
|
||||
scheduler_mode = process
|
||||
; the default job interval can be set here. in the code 300 seconds are set when this option does not exist here nor in
|
||||
; the monitor configuration.
|
||||
default_interval = 5
|
||||
max_threads = 2048
|
||||
; i recommend to set this to your number of CPU cores available when running on a dedicated Linspector host. but if the
|
||||
; system is running other services you should lower this value when you have too high CPU load. if you have enough
|
||||
|
|
|
|||
|
|
@ -4,4 +4,3 @@ service = misc.dummy
|
|||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 120
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue