added var to core an some design fixes

This commit is contained in:
Johannes Findeisen 2013-10-20 22:45:44 +02:00
commit 8678f5e4a6

View file

@ -1,6 +1,5 @@
---
members:
root:
name: "root"
tasks:
@ -8,7 +7,6 @@
type: "jabber"
args:
rcpt: "hanez@example.org"
hanez:
name: "admin"
tasks:
@ -16,7 +14,6 @@
type: "mail"
args:
rcpt: "admin@example.org"
linspector:
name: "linspector admin"
tasks:
@ -27,15 +24,11 @@
periods:
fast:
seconds: 2
medium:
seconds: 120
slow:
seconds: 480
hostgroups:
a:
members:
- "hanez"
@ -48,7 +41,6 @@
periods:
- "medium"
threshold: 2
b:
members:
- "hanez"
@ -61,14 +53,12 @@
periods:
- "fast"
threshold: 2
- class: "tcpconnect"
args:
port: 80
periods:
- "fast"
threshold: 4
- class: "tcpconnect"
args:
port: 23
@ -87,34 +77,28 @@
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
members:
- "linspector"
- "root"
backends:
jsonrpc:
host: "127.0.0.1"
port: "2323"
username: "linspector"
password: "linspector"
tasks:
jabber:
host: "example.org"
@ -123,14 +107,12 @@
password: "linspector"
debug:
- "always"
mail:
host: "localhost"
port: 25
from: "linspector@example.org"
username: ""
password: ""
tweet:
consumer_key: "consumer_key"
consumer_secret: "consumer_secret"