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
52
examples/old/hanez.json
Normal file
52
examples/old/hanez.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"members":{
|
||||
"hanez":{
|
||||
"name": "Johannes Findeisen",
|
||||
"tasks": [
|
||||
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "jabber@example.org" }}
|
||||
]
|
||||
}
|
||||
},
|
||||
"periods": {
|
||||
"always": { "seconds": 2 }
|
||||
},
|
||||
"hostgroups":{
|
||||
"servers":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a.example.org", "b.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args": { "port": 80 },
|
||||
"periods": ["always"],
|
||||
"threshold": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layouts":{
|
||||
"main":{
|
||||
"hostgroups": ["servers"],
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"core":{
|
||||
"max_logfile_size": 1024000,
|
||||
"max_logfile_count": 4,
|
||||
"max_worker_threads": 8,
|
||||
"members":[ "root" ],
|
||||
"tasks": {
|
||||
"jabber":{
|
||||
"host": "example.org",
|
||||
"port": 5222,
|
||||
"username": "USERNAME",
|
||||
"password": "PASSWORD"
|
||||
},
|
||||
"mail":{
|
||||
"host": "localhost",
|
||||
"port": 25,
|
||||
"from": "linspector@example.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
220
examples/old/linspector.json
Normal file
220
examples/old/linspector.json
Normal file
|
|
@ -0,0 +1,220 @@
|
|||
{
|
||||
"members":{
|
||||
"root":{
|
||||
"name": "Admin",
|
||||
"comment": "The Linspector Admin",
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@example.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+491120000000000" }},
|
||||
{ "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@example.org" }}]
|
||||
},
|
||||
"hanez":{
|
||||
"name": "Hanez",
|
||||
"comment": "Just a nerd doing admin stuff.",
|
||||
"parent": "darth",
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@example.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+491100000000000" }}]
|
||||
},
|
||||
"darth":{
|
||||
"name": "Darth Vader",
|
||||
"comment": "The father",
|
||||
"tasks":{ "class": "mail", "type": "warning", "args":{ "rcpt": "darth.vader@example.org" }}
|
||||
}
|
||||
},
|
||||
"periods":{
|
||||
"short":{ "seconds": 5, "comment": "Interval job; every 10 seconds" },
|
||||
"middle":{ "seconds": 60, "comment": "Interval job; every 60 seconds" },
|
||||
"long":{ "minutes": 2, "comment": "Interval job; every 2 minutes" },
|
||||
"cron":{ "minute" : "0", "hour": "2", "comment": "Cron job; at 2 o'clock" },
|
||||
"christmas2013":{ "date": "2013-12-24 20:00:00", "comment": "Date Job; just one day at 8PM" }
|
||||
},
|
||||
"hostgroups":{
|
||||
"group1":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "a.example.org", "b.example.org" ],
|
||||
"parents":[ "network" ],
|
||||
"processors":[
|
||||
{
|
||||
"class": "mongodb",
|
||||
"args":{ "host": "mongodb.example.org", "user": "mongo", "password": "secret", "database": "default" }
|
||||
},
|
||||
{
|
||||
"class": "syslog",
|
||||
"args":{ "host": "syslog.example.org", "user": "syslog", "password": "secret" }
|
||||
},
|
||||
{
|
||||
"class": "mariadb",
|
||||
"args":{ "host": "mariadb.example.org", "port": "3306", "user": "maria", "password": "secret", "database": "linspector" }
|
||||
}
|
||||
],
|
||||
"services":[
|
||||
{
|
||||
"class": "ping",
|
||||
"fails":{ "warning": "100ms", "critical": "150ms" },
|
||||
"periods":[ "short" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell",
|
||||
"args":{ "line": 2, "col": 5 }}
|
||||
},
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args":{ "port": 80 },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 2
|
||||
},
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args":{ "port": 25 },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2
|
||||
},
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args":{ "port": 110 },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2
|
||||
},
|
||||
{
|
||||
"class": "http",
|
||||
"args":{ "port": 80, "path": "/status.cgi", "method": "get",
|
||||
"params":{ "action": "go", "value": 1 },
|
||||
"protocol": "https" },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2,
|
||||
"parser":{ "class": "grep",
|
||||
"args":{ "string": "<h1>I am up!</h1>" }},
|
||||
"comment": "Just a string grep"
|
||||
}
|
||||
]
|
||||
},
|
||||
"group2":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":["x.example.org", "y.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "ping",
|
||||
"fails":{ "warning": "100ms", "critical": "150ms" },
|
||||
"periods":[ "short" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell",
|
||||
"args":{ "line": 2, "col": 5 }}
|
||||
},
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args":{ "port": 2342 },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"group3":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "master.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "ssh",
|
||||
"args":{ "port": 23, "command": "df", "username": "hanez", "password": "secret", "key": "~/.ssh/id_rsa" },
|
||||
"fails":{ "warning": "80%", "critical": "90%" },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 10,
|
||||
"parser":[{ "class": "grep",
|
||||
"args":{ "line": "/dev/sda1", "col": 5 }},
|
||||
[{ "class": "grep",
|
||||
"args":{ "line": "/dev/sda2", "col": 5 }},
|
||||
{ "class": "grep",
|
||||
"args":{ "line": "/dev/sda2", "col": 5 }}]]
|
||||
},
|
||||
{
|
||||
"class": "shell",
|
||||
"comment": "Getting the Linux system load using the shell service and the snmpget command",
|
||||
"args":{ "command": "snmpget -v2c -c linspector @host .1.3.6.1.4.1.2021.10.1.3.1" },
|
||||
"fails":{ "warning": 4.00, "critical": 8.00 },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell",
|
||||
"args":{ "line": 1, "col": 4 }}
|
||||
}
|
||||
]
|
||||
},
|
||||
"network":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "router.example.org" ],
|
||||
"processors":[
|
||||
{
|
||||
"class": "mongodb",
|
||||
"args":{ "host": "mongodb.example.org", "user": "mongo", "password": "secret", "database": "default" }
|
||||
}
|
||||
],
|
||||
"services":[
|
||||
{
|
||||
"class": "shell",
|
||||
"comment": "ping using the shell service and no builtin",
|
||||
"args":{ "command": "ping -c1 @host" },
|
||||
"fails":{ "warning": "100ms", "critical": "150ms", "notes": "HeyHo! A ping failed, wake up! (@response)" },
|
||||
"periods":[ "short" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell",
|
||||
"args":{ "line": 2, "col": 8 }}
|
||||
},
|
||||
{
|
||||
"template": "snmpget_linux_load",
|
||||
"fails":{ "warning": 2.00, "critical": 4.00 }
|
||||
},
|
||||
{
|
||||
"class": "snmpget",
|
||||
"comment": "The Linux system uptime just processed... not more.",
|
||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.2.1.1.3.0" },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layouts":{
|
||||
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Layouts",
|
||||
"production":{
|
||||
"hostgroups":[ "group1" ],
|
||||
"enabled": true
|
||||
},
|
||||
"critical":{
|
||||
"hostgroups":[ "group3" ],
|
||||
"enabled": false
|
||||
},
|
||||
"all":{
|
||||
"hostgroups":[ "group1", "group2", "group3", "network" ],
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"core":{
|
||||
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Core",
|
||||
"instance_name": "Master Monitoring (monitor.example.org)",
|
||||
"max_logfile_size": 1024000,
|
||||
"max_logfile_count": 4,
|
||||
"max_worker_threads": 8,
|
||||
"threshold_handling": "reset",
|
||||
"members":[ "root" ],
|
||||
"backends": {
|
||||
"jsonrpc": {
|
||||
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Core-Backends-JsonRPC",
|
||||
"host": "127.0.0.1",
|
||||
"port": "2323",
|
||||
"username": "linspector",
|
||||
"password": "linspector"
|
||||
}
|
||||
},
|
||||
"tasks":{
|
||||
"jabber":{
|
||||
"host": "example.org",
|
||||
"port": 5222,
|
||||
"username": "USERNAME",
|
||||
"password": "PASSWORD"
|
||||
},
|
||||
"mail":{
|
||||
"host": "localhost",
|
||||
"port": 25,
|
||||
"from": "linspector@example.org"
|
||||
},
|
||||
"sms":{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
121
examples/old/linspector.yaml
Normal file
121
examples/old/linspector.yaml
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
---
|
||||
members:
|
||||
root:
|
||||
name: "root"
|
||||
tasks:
|
||||
- class: "jabber"
|
||||
type: "jabber"
|
||||
args:
|
||||
rcpt: "hanez@example.org"
|
||||
hanez:
|
||||
name: "admin"
|
||||
tasks:
|
||||
- class: "mail"
|
||||
type: "mail"
|
||||
args:
|
||||
rcpt: "admin@example.org"
|
||||
linspector:
|
||||
name: "linspector admin"
|
||||
tasks:
|
||||
- class: "jabber"
|
||||
type: "jabber"
|
||||
args:
|
||||
rcpt: "hanez@example.org"
|
||||
periods:
|
||||
fast:
|
||||
seconds: 2
|
||||
medium:
|
||||
seconds: 120
|
||||
slow:
|
||||
seconds: 480
|
||||
hostgroups:
|
||||
a:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "a.example.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 80
|
||||
periods:
|
||||
- "medium"
|
||||
threshold: 2
|
||||
b:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "b.example.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 2
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 80
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 4
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 4
|
||||
c:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "c.example.org"
|
||||
services:
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 10
|
||||
layouts:
|
||||
main:
|
||||
hostgroups:
|
||||
- "a"
|
||||
- "b"
|
||||
- "c"
|
||||
enabled: true
|
||||
core:
|
||||
instance_name: "Master Monitor 01 (monitor01.example.org)"
|
||||
max_logfile_size: 1024000
|
||||
max_logfile_count: 4
|
||||
max_worker_threads: 8
|
||||
jsonrpc_backend: False
|
||||
shutdown_wait: False
|
||||
members:
|
||||
- "linspector"
|
||||
- "root"
|
||||
backends:
|
||||
jsonrpc:
|
||||
host: "127.0.0.1"
|
||||
port: "2323"
|
||||
username: "linspector"
|
||||
password: "linspector"
|
||||
tasks:
|
||||
jabber:
|
||||
host: "example.org"
|
||||
port: 5222
|
||||
username: "linspector"
|
||||
password: "linspector"
|
||||
debug:
|
||||
- "always"
|
||||
mail:
|
||||
host: "localhost"
|
||||
port: 25
|
||||
from: "linspector@example.org"
|
||||
username: ""
|
||||
password: ""
|
||||
tweet:
|
||||
consumer_key: "consumer_key"
|
||||
consumer_secret: "consumer_secret"
|
||||
access_token_key: "access_token_key"
|
||||
access_token_secret: "access_token_secret"
|
||||
87
examples/old/private.json
Normal file
87
examples/old/private.json
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": 10 },
|
||||
"medium": { "seconds": 120 },
|
||||
"slow": { "seconds": 480 }
|
||||
},
|
||||
"hostgroups":{
|
||||
"a":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "dummy",
|
||||
"args": { "sleep": 3, "fail": 0 },
|
||||
"periods": ["fast"],
|
||||
"threshold": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layouts":{
|
||||
"main":{
|
||||
"hostgroups": ["a"],
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"core":{
|
||||
"instance_name": "Master Monitor 01 (monitor01.systemchaos.org)",
|
||||
"max_logfile_size": 1024000,
|
||||
"max_logfile_count": 4,
|
||||
"max_worker_threads": 1000,
|
||||
"threshold_handling": "reset",
|
||||
"members":[ "linspector", "root" ],
|
||||
"jsonrpc_backend": "True",
|
||||
"backends": {
|
||||
"jsonrpc": {
|
||||
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Core-Backends-JsonRPC",
|
||||
"host": "127.0.0.1",
|
||||
"port": 10123,
|
||||
"username": "linspector",
|
||||
"password": "linspector"
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"jabber":{
|
||||
"host": "systemchaos.org",
|
||||
"port": 5222,
|
||||
"username": "linspector",
|
||||
"password": "linspector",
|
||||
"debug": ["always"]
|
||||
},
|
||||
"mail":{
|
||||
"host": "a.mx.systemchaos.org",
|
||||
"port": 25,
|
||||
"from": "linspector@systemchaos.org",
|
||||
"username": "you@hanez.org",
|
||||
"password": "uffff"
|
||||
},
|
||||
"tweet":{
|
||||
"consumer_key": "consumer_key",
|
||||
"consumer_secret": "consumer_secret",
|
||||
"access_token_key": "access_token_key",
|
||||
"access_token_secret": "access_token_secret"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
132
examples/old/private.yaml
Normal file
132
examples/old/private.yaml
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
---
|
||||
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: 10
|
||||
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
|
||||
- class: "http"
|
||||
args:
|
||||
content: "<title>SYSTEdMCHAOS</title>"
|
||||
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
|
||||
|
||||
layouts:
|
||||
main:
|
||||
hostgroups: [ "a", "b", "c" ]
|
||||
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: 10124
|
||||
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"
|
||||
346
examples/old/privateX.json
Normal file
346
examples/old/privateX.json
Normal file
|
|
@ -0,0 +1,346 @@
|
|||
{
|
||||
"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": 15 },
|
||||
"medium": { "seconds": 120 },
|
||||
"slow": { "seconds": 480 }
|
||||
},
|
||||
"hostgroups":{
|
||||
"a":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"b":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"c":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"d":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"e":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"f":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"g":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"h":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"i":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"j":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"k":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"l":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"m":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"n":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
||||
]
|
||||
},
|
||||
"o":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
||||
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||
"services":[
|
||||
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
||||
{ "class": "dummy", "args": { "sleep": 10, "fail": 1 }, "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": 1000,
|
||||
"threshold_handling": "reset",
|
||||
"shutdown_wait": "False",
|
||||
"members":[ "linspector", "root" ],
|
||||
"jsonrpc_backend": "True",
|
||||
"backends": {
|
||||
"jsonrpc": {
|
||||
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Core-Backends-JsonRPC",
|
||||
"host": "127.0.0.1",
|
||||
"port": 10123,
|
||||
"username": "linspector",
|
||||
"password": "linspector"
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"jabber":{
|
||||
"host": "systemchaos.org",
|
||||
"port": 5222,
|
||||
"username": "linspector",
|
||||
"password": "linspector",
|
||||
"debug": ["always"]
|
||||
},
|
||||
"mail":{
|
||||
"host": "a.mx.systemchaos.org",
|
||||
"port": 25,
|
||||
"from": "linspector@systemchaos.org",
|
||||
"username": "you@hanez.org",
|
||||
"password": "uffff"
|
||||
},
|
||||
"tweet":{
|
||||
"consumer_key": "consumer_key",
|
||||
"consumer_secret": "consumer_secret",
|
||||
"access_token_key": "access_token_key",
|
||||
"access_token_secret": "access_token_secret"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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"
|
||||
96
examples/old/privateZ.yaml
Normal file
96
examples/old/privateZ.yaml
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
---
|
||||
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: 10
|
||||
medium:
|
||||
seconds: 120
|
||||
slow:
|
||||
seconds: 480
|
||||
|
||||
hostgroups:
|
||||
ffffffffffffffffffff:
|
||||
members:
|
||||
- "hanez"
|
||||
hosts:
|
||||
- "a.systemchaos.org"
|
||||
services:
|
||||
- class: "http"
|
||||
args:
|
||||
content: "SYSTEMCHAOS"
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 2
|
||||
- class: "udpconnect"
|
||||
args:
|
||||
port: 23
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 10
|
||||
- class: "tcpconnect"
|
||||
args:
|
||||
port: 80
|
||||
periods:
|
||||
- "fast"
|
||||
threshold: 10
|
||||
|
||||
layouts:
|
||||
main:
|
||||
hostgroups: [ "ffffffffffffffffffff" ]
|
||||
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: 10124
|
||||
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