moved not working old example config files to examples/old/
This commit is contained in:
parent
1f52f2c931
commit
17e1d21037
8 changed files with 1303 additions and 0 deletions
642
examples/old/privateX.yaml
Normal file
642
examples/old/privateX.yaml
Normal file
|
|
@ -0,0 +1,642 @@
|
|||
---
|
||||
members:
|
||||
root:
|
||||
name: "root"
|
||||
_tasks:
|
||||
- class: "jabber"
|
||||
type: "jabber"
|
||||
args:
|
||||
rcpt: "hanez@systemchaos.org"
|
||||
hanez:
|
||||
name: "admin"
|
||||
_tasks:
|
||||
- class: "mail"
|
||||
type: "mail"
|
||||
args:
|
||||
rcpt: "you@hanez.org"
|
||||
linspector:
|
||||
name: "linspector admin"
|
||||
_tasks:
|
||||
- class: "jabber"
|
||||
type: "jabber"
|
||||
args:
|
||||
rcpt: "hanez@systemchaos.org"
|
||||
|
||||
periods:
|
||||
fast:
|
||||
seconds: 60
|
||||
medium:
|
||||
seconds: 120
|
||||
slow:
|
||||
seconds: 480
|
||||
|
||||
hostgroups:
|
||||
a:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "a.systemchaos.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 80
|
||||
periods:
|
||||
- "medium"
|
||||
threshold: 2
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 2
|
||||
b:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "b.systemchaos.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 2
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 80
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 4
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 33
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 4
|
||||
c:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "c.systemchaos.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 10
|
||||
d:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 231
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 241
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 251
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 261
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 271
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 281
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
e:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 232
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 242
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 252
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 262
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 272
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 282
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
f:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 233
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 243
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 253
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 263
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 273
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 283
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
g:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 234
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 244
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 254
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 264
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 274
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 284
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
h:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 235
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 245
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 255
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 265
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 275
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 285
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
i:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 236
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 246
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 256
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 266
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 276
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 286
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
j:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 237
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 247
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 257
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 267
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 277
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 287
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
k:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2371
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2471
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2571
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2671
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2771
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2871
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
l:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2372
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2472
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2572
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2672
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2772
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2872
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
m:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2373
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2473
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2573
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2673
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2773
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2873
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
n:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2374
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2474
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2574
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2674
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2774
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2874
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
o:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts: [ "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
|
||||
"y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "hh", "ii", "jj", "kk", "ll", "mm", "nn", "oo", "pp", "qq", "rr",
|
||||
"ss", "tt", "vv", "ww", "xx", "yy", "zz" ]
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2375
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2475
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2575
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2675
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2775
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 2875
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 3
|
||||
|
||||
layouts:
|
||||
main:
|
||||
hostgroups: [ "a", "b", "c" , "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o" ]
|
||||
enabled: true
|
||||
|
||||
core:
|
||||
instance_name: "Master Monitor 01 (monitor01.systemchaos.org)"
|
||||
max_logfile_size: 1024000
|
||||
max_logfile_count: 4
|
||||
max_worker_threads: 8
|
||||
jsonrpc_backend: True
|
||||
shutdown_wait: False
|
||||
members: [ "linspector", "root" ]
|
||||
backends:
|
||||
jsonrpc:
|
||||
host: "127.0.0.1"
|
||||
port: 10123
|
||||
username: "linspector"
|
||||
password: "linspector"
|
||||
tasks:
|
||||
jabber:
|
||||
host: "systemchaos.org"
|
||||
port: 5222
|
||||
username: "linspector"
|
||||
password: "linspector123"
|
||||
debug:
|
||||
- "always"
|
||||
mail:
|
||||
host: "localhost"
|
||||
port: 25
|
||||
from: "linspector@systemchaos.org"
|
||||
username: ""
|
||||
password: ""
|
||||
tweet:
|
||||
consumer_key: "consumer_key"
|
||||
consumer_secret: "consumer_secret"
|
||||
access_token_key: "access_token_key"
|
||||
access_token_secret: "access_token_secret"
|
||||
Loading…
Add table
Add a link
Reference in a new issue