added var to core an some design fixes
This commit is contained in:
parent
7de6a3717b
commit
8678f5e4a6
1 changed files with 118 additions and 136 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
members:
|
members:
|
||||||
|
|
||||||
root:
|
root:
|
||||||
name: "root"
|
name: "root"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
@ -8,7 +7,6 @@
|
||||||
type: "jabber"
|
type: "jabber"
|
||||||
args:
|
args:
|
||||||
rcpt: "hanez@example.org"
|
rcpt: "hanez@example.org"
|
||||||
|
|
||||||
hanez:
|
hanez:
|
||||||
name: "admin"
|
name: "admin"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
@ -16,7 +14,6 @@
|
||||||
type: "mail"
|
type: "mail"
|
||||||
args:
|
args:
|
||||||
rcpt: "admin@example.org"
|
rcpt: "admin@example.org"
|
||||||
|
|
||||||
linspector:
|
linspector:
|
||||||
name: "linspector admin"
|
name: "linspector admin"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
@ -27,15 +24,11 @@
|
||||||
periods:
|
periods:
|
||||||
fast:
|
fast:
|
||||||
seconds: 2
|
seconds: 2
|
||||||
|
|
||||||
medium:
|
medium:
|
||||||
seconds: 120
|
seconds: 120
|
||||||
|
|
||||||
slow:
|
slow:
|
||||||
seconds: 480
|
seconds: 480
|
||||||
|
|
||||||
hostgroups:
|
hostgroups:
|
||||||
|
|
||||||
a:
|
a:
|
||||||
members:
|
members:
|
||||||
- "hanez"
|
- "hanez"
|
||||||
|
|
@ -48,7 +41,6 @@
|
||||||
periods:
|
periods:
|
||||||
- "medium"
|
- "medium"
|
||||||
threshold: 2
|
threshold: 2
|
||||||
|
|
||||||
b:
|
b:
|
||||||
members:
|
members:
|
||||||
- "hanez"
|
- "hanez"
|
||||||
|
|
@ -61,14 +53,12 @@
|
||||||
periods:
|
periods:
|
||||||
- "fast"
|
- "fast"
|
||||||
threshold: 2
|
threshold: 2
|
||||||
|
|
||||||
- class: "tcpconnect"
|
- class: "tcpconnect"
|
||||||
args:
|
args:
|
||||||
port: 80
|
port: 80
|
||||||
periods:
|
periods:
|
||||||
- "fast"
|
- "fast"
|
||||||
threshold: 4
|
threshold: 4
|
||||||
|
|
||||||
- class: "tcpconnect"
|
- class: "tcpconnect"
|
||||||
args:
|
args:
|
||||||
port: 23
|
port: 23
|
||||||
|
|
@ -87,34 +77,28 @@
|
||||||
periods:
|
periods:
|
||||||
- "fast"
|
- "fast"
|
||||||
threshold: 10
|
threshold: 10
|
||||||
|
|
||||||
layouts:
|
layouts:
|
||||||
|
|
||||||
main:
|
main:
|
||||||
|
|
||||||
hostgroups:
|
hostgroups:
|
||||||
- "a"
|
- "a"
|
||||||
- "b"
|
- "b"
|
||||||
- "c"
|
- "c"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
core:
|
core:
|
||||||
instance_name: "Master Monitor 01 (monitor01.example.org)"
|
instance_name: "Master Monitor 01 (monitor01.example.org)"
|
||||||
max_logfile_size: 1024000
|
max_logfile_size: 1024000
|
||||||
max_logfile_count: 4
|
max_logfile_count: 4
|
||||||
max_worker_threads: 8
|
max_worker_threads: 8
|
||||||
|
jsonrpc_backend: False
|
||||||
members:
|
members:
|
||||||
- "linspector"
|
- "linspector"
|
||||||
- "root"
|
- "root"
|
||||||
|
|
||||||
backends:
|
backends:
|
||||||
jsonrpc:
|
jsonrpc:
|
||||||
host: "127.0.0.1"
|
host: "127.0.0.1"
|
||||||
port: "2323"
|
port: "2323"
|
||||||
username: "linspector"
|
username: "linspector"
|
||||||
password: "linspector"
|
password: "linspector"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
jabber:
|
jabber:
|
||||||
host: "example.org"
|
host: "example.org"
|
||||||
|
|
@ -123,14 +107,12 @@
|
||||||
password: "linspector"
|
password: "linspector"
|
||||||
debug:
|
debug:
|
||||||
- "always"
|
- "always"
|
||||||
|
|
||||||
mail:
|
mail:
|
||||||
host: "localhost"
|
host: "localhost"
|
||||||
port: 25
|
port: 25
|
||||||
from: "linspector@example.org"
|
from: "linspector@example.org"
|
||||||
username: ""
|
username: ""
|
||||||
password: ""
|
password: ""
|
||||||
|
|
||||||
tweet:
|
tweet:
|
||||||
consumer_key: "consumer_key"
|
consumer_key: "consumer_key"
|
||||||
consumer_secret: "consumer_secret"
|
consumer_secret: "consumer_secret"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue