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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue