Only some fixes and cleanups.

This commit is contained in:
Johannes Findeisen 2023-02-20 07:55:42 +01:00
commit da06e670d4
2 changed files with 6 additions and 4 deletions

View file

@ -40,6 +40,8 @@ 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
; the minimum interval for monitors
minimum_interval = 1
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
@ -66,11 +68,11 @@ group1 = group2
[hostgroups]
; add single hosts
group1 = host1,host2,host3
; add a range of ip addresses. maybe a different range operator should be chosen but for now i think ">" is sexy... :)
; add a range of ip addresses.
; for ip ranges see: https://stackoverflow.com/questions/19157307/generate-range-of-ips-in-python
group2 = 192.168.1.1>192.168.1.127
group2 = 192.168.1.1/28
; add a combination of hosts and ranges
group3 = host1,host2,host3,192.168.1.1>192.168.1.127
group3 = host1,host2,host3,192.168.1.1/28
; using groups inside groups. but need to take care about recursive dependencies.
group4 = host10,host11,host12,@group3