Added my complete configuration for testing. (0.21.4)

This commit is contained in:
Johannes Findeisen 2023-02-24 18:08:04 +01:00
commit 12bdca70a7
195 changed files with 1678 additions and 3 deletions

1
etc.local/README.md Normal file
View file

@ -0,0 +1 @@
# Fully working configuration with only implemented options I use for testing when writing the code.

View file

View file

34
etc.local/linspector.conf Normal file
View file

@ -0,0 +1,34 @@
[linspector]
default_interval = 300
minimum_interval = 10
; this should be set to the highest interval you use. it must not but it will be the best performance.
delta_range = 60
start_scheduler = true
scheduler_mode = process
max_processes = 24
max_threads = 2048
pid_file = /var/run/user/1000/linspector.pid
; log format. this overrides the default configured in the code
;log_format = <green>[{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}]</green> <yellow>[{elapsed}]</yellow> <magenta>[{level}]</magenta> <blue>[linspector]</blue> <cyan>[{name}:{function}:{line}]</cyan><red>:</red> {message}
; log level for stderr logging (default: INFO)
log_level = INFO
; logfile to use
logfile = /home/hanez/code/linspector/linspector/log/linspector.log
; number of logfiles to keep (default: 10)
logfile_count = 25
; logfile format. this overrides the default configured in the code
;logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector] [{name}:{function}:{line}]: {message}
; log level for file based logging
logfile_level = DEBUG
; size of logfiles (default: 1MB)
logfile_size = 25 MiB
notifications =
plugins =
tasks =
; timezone can be set to a remote timezone to make monitors run at the remote time. this is optional. the local
; timezone is set by default. this can be overridden in each monitor.
;timezone = UTC

View file

@ -0,0 +1,12 @@
[monitor]
title = Uplink Status
description = Cable Provider Uplink Status
service = vendor.avm.is_connected
host = 192.168.23.1
interval = 60
; the timezone can be set to the zone of the monitor target host to run at the remote time. this is optional. the
; default is the local system timezone.
;timezone = UTC
[args]
password = PASSWORD

View file

@ -0,0 +1,9 @@
[monitor]
title = Uplink Status
description = Cable Provider Uplink Status
service = vendor.avm.is_connected
host = 192.168.178.1
interval = 60
[args]
password = PASSWORD

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 0
description = Random 0 Service Check
service = misc.random
host = 127.0.0.0
interval = 0
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 1
description = Random 1 Service Check
service = misc.random
host = 127.0.0.1
interval = 1
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 10
description = Random 10 Service Check
service = misc.random
host = 127.0.0.10
interval = 10
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 100
description = Random 100 Service Check
service = misc.random
host = 127.0.0.100
interval = 100
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 101
description = Random 101 Service Check
service = misc.random
host = 127.0.0.101
interval = 101
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 102
description = Random 102 Service Check
service = misc.random
host = 127.0.0.102
interval = 102
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 103
description = Random 103 Service Check
service = misc.random
host = 127.0.0.103
interval = 103
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 104
description = Random 104 Service Check
service = misc.random
host = 127.0.0.104
interval = 104
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 105
description = Random 105 Service Check
service = misc.random
host = 127.0.0.105
interval = 105
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 106
description = Random 106 Service Check
service = misc.random
host = 127.0.0.106
interval = 106
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 107
description = Random 107 Service Check
service = misc.random
host = 127.0.0.107
interval = 107
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 108
description = Random 108 Service Check
service = misc.random
host = 127.0.0.108
interval = 108
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 109
description = Random 109 Service Check
service = misc.random
host = 127.0.0.109
interval = 109
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 11
description = Random 11 Service Check
service = misc.random
host = 127.0.0.11
interval = 11
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 110
description = Random 110 Service Check
service = misc.random
host = 127.0.0.110
interval = 110
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 111
description = Random 111 Service Check
service = misc.random
host = 127.0.0.111
interval = 111
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 112
description = Random 112 Service Check
service = misc.random
host = 127.0.0.112
interval = 112
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 113
description = Random 113 Service Check
service = misc.random
host = 127.0.0.113
interval = 113
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 114
description = Random 114 Service Check
service = misc.random
host = 127.0.0.114
interval = 114
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 115
description = Random 115 Service Check
service = misc.random
host = 127.0.0.115
interval = 115
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 116
description = Random 116 Service Check
service = misc.random
host = 127.0.0.116
interval = 116
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 117
description = Random 117 Service Check
service = misc.random
host = 127.0.0.117
interval = 117
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 118
description = Random 118 Service Check
service = misc.random
host = 127.0.0.118
interval = 118
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 119
description = Random 119 Service Check
service = misc.random
host = 127.0.0.119
interval = 119
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 12
description = Random 12 Service Check
service = misc.random
host = 127.0.0.12
interval = 12
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 120
description = Random 120 Service Check
service = misc.random
host = 127.0.0.120
interval = 120
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 121
description = Random 121 Service Check
service = misc.random
host = 127.0.0.121
interval = 121
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 122
description = Random 122 Service Check
service = misc.random
host = 127.0.0.122
interval = 122
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 123
description = Random 123 Service Check
service = misc.random
host = 127.0.0.123
interval = 123
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 124
description = Random 124 Service Check
service = misc.random
host = 127.0.0.124
interval = 124
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 125
description = Random 125 Service Check
service = misc.random
host = 127.0.0.125
interval = 125
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 126
description = Random 126 Service Check
service = misc.random
host = 127.0.0.126
interval = 126
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 127
description = Random 127 Service Check
service = misc.random
host = 127.0.0.127
interval = 127
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 128
description = Random 128 Service Check
service = misc.random
host = 127.0.0.128
interval = 128
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 129
description = Random 129 Service Check
service = misc.random
host = 127.0.0.129
interval = 129
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 13
description = Random 13 Service Check
service = misc.random
host = 127.0.0.13
interval = 13
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 130
description = Random 130 Service Check
service = misc.random
host = 127.0.0.130
interval = 130
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 131
description = Random 131 Service Check
service = misc.random
host = 127.0.0.131
interval = 131
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 132
description = Random 132 Service Check
service = misc.random
host = 127.0.0.132
interval = 132
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 133
description = Random 133 Service Check
service = misc.random
host = 127.0.0.133
interval = 133
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 134
description = Random 134 Service Check
service = misc.random
host = 127.0.0.134
interval = 134
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 135
description = Random 135 Service Check
service = misc.random
host = 127.0.0.135
interval = 135
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 136
description = Random 136 Service Check
service = misc.random
host = 127.0.0.136
interval = 136
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 137
description = Random 137 Service Check
service = misc.random
host = 127.0.0.137
interval = 137
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 138
description = Random 138 Service Check
service = misc.random
host = 127.0.0.138
interval = 138
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 139
description = Random 139 Service Check
service = misc.random
host = 127.0.0.139
interval = 139
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 14
description = Random 14 Service Check
service = misc.random
host = 127.0.0.14
interval = 14
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 140
description = Random 140 Service Check
service = misc.random
host = 127.0.0.140
interval = 140
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 141
description = Random 141 Service Check
service = misc.random
host = 127.0.0.141
interval = 141
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 142
description = Random 142 Service Check
service = misc.random
host = 127.0.0.142
interval = 142
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 143
description = Random 143 Service Check
service = misc.random
host = 127.0.0.143
interval = 143
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 144
description = Random 144 Service Check
service = misc.random
host = 127.0.0.144
interval = 144
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 145
description = Random 145 Service Check
service = misc.random
host = 127.0.0.145
interval = 145
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 146
description = Random 146 Service Check
service = misc.random
host = 127.0.0.146
interval = 146
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 147
description = Random 147 Service Check
service = misc.random
host = 127.0.0.147
interval = 147
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 148
description = Random 148 Service Check
service = misc.random
host = 127.0.0.148
interval = 148
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 149
description = Random 149 Service Check
service = misc.random
host = 127.0.0.149
interval = 149
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 15
description = Random 15 Service Check
service = misc.random
host = 127.0.0.15
interval = 15
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 150
description = Random 150 Service Check
service = misc.random
host = 127.0.0.150
interval = 150
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 151
description = Random 151 Service Check
service = misc.random
host = 127.0.0.151
interval = 151
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 152
description = Random 152 Service Check
service = misc.random
host = 127.0.0.152
interval = 152
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 153
description = Random 153 Service Check
service = misc.random
host = 127.0.0.153
interval = 153
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 154
description = Random 154 Service Check
service = misc.random
host = 127.0.0.154
interval = 154
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 155
description = Random 155 Service Check
service = misc.random
host = 127.0.0.155
interval = 155
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 156
description = Random 156 Service Check
service = misc.random
host = 127.0.0.156
interval = 156
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 157
description = Random 157 Service Check
service = misc.random
host = 127.0.0.157
interval = 157
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 158
description = Random 158 Service Check
service = misc.random
host = 127.0.0.158
interval = 158
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 159
description = Random 159 Service Check
service = misc.random
host = 127.0.0.159
interval = 159
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 16
description = Random 16 Service Check
service = misc.random
host = 127.0.0.16
interval = 16
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 160
description = Random 160 Service Check
service = misc.random
host = 127.0.0.160
interval = 160
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 161
description = Random 161 Service Check
service = misc.random
host = 127.0.0.161
interval = 162
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 162
description = Random 162 Service Check
service = misc.random
host = 127.0.0.162
interval = 162
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 163
description = Random 163 Service Check
service = misc.random
host = 127.0.0.163
interval = 163
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 164
description = Random 164 Service Check
service = misc.random
host = 127.0.0.164
interval = 164
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 165
description = Random 165 Service Check
service = misc.random
host = 127.0.0.165
interval = 165
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 166
description = Random 166 Service Check
service = misc.random
host = 127.0.0.166
interval = 166
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 167
description = Random 167 Service Check
service = misc.random
host = 127.0.0.167
interval = 167
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 168
description = Random 168 Service Check
service = misc.random
host = 127.0.0.168
interval = 168
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 169
description = Random 169 Service Check
service = misc.random
host = 127.0.0.169
interval = 169
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 17
description = Random 17 Service Check
service = misc.random
host = 127.0.0.17
interval = 17
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 170
description = Random 170 Service Check
service = misc.random
host = 127.0.0.170
interval = 170
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 171
description = Random 171 Service Check
service = misc.random
host = 127.0.0.171
interval = 171
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 172
description = Random 172 Service Check
service = misc.random
host = 127.0.0.172
interval = 172
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 173
description = Random 173 Service Check
service = misc.random
host = 127.0.0.173
interval = 173
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 174
description = Random 174 Service Check
service = misc.random
host = 127.0.0.174
interval = 174
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 175
description = Random 175 Service Check
service = misc.random
host = 127.0.0.175
interval = 175
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 176
description = Random 176 Service Check
service = misc.random
host = 127.0.0.176
interval = 176
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 177
description = Random 177 Service Check
service = misc.random
host = 127.0.0.177
interval = 177
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 178
description = Random 178 Service Check
service = misc.random
host = 127.0.0.178
interval = 178
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 179
description = Random 179 Service Check
service = misc.random
host = 127.0.0.179
interval = 179
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 18
description = Random 18 Service Check
service = misc.random
host = 127.0.0.18
interval = 18
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 19
description = Random 19 Service Check
service = misc.random
host = 127.0.0.19
interval = 19
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 2
description = Random 2 Service Check
service = misc.random
host = 127.0.0.2
interval = 2
[args]
message = Hello World!

View file

@ -0,0 +1,9 @@
[monitor]
title = Random 20
description = Random 20 Service Check
service = misc.random
host = 127.0.0.20
interval = 20
[args]
message = Hello World!

Some files were not shown because too many files have changed in this diff Show more