From 556f920a56b010e1d99ed2332890ea48f66fabe9 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 20 Sep 2013 00:55:12 +0200 Subject: [PATCH] added new task config vars to core section --- examples/hanez.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/hanez.json b/examples/hanez.json index 80b5db1..c009a3f 100644 --- a/examples/hanez.json +++ b/examples/hanez.json @@ -8,7 +8,7 @@ } }, "periods": { - "always": { "seconds": 60 } + "always": { "seconds": 2 } }, "hostgroups":{ "servers":{ @@ -19,7 +19,7 @@ "class": "tcpconnect", "args": { "port": 80 }, "periods": ["always"], - "threshold": 5 + "threshold": 2 } ] } @@ -37,10 +37,14 @@ "members":[ "root" ], "tasks": { "jabber":{ - "server": "systemchaos.org", + "host": "systemchaos.org", "port": 5222, - "user": "linspector", - "password": "hallo_welt" + "username": "USERNAME", + "password": "PASSWORD" + }, + "mail":{ + "host": "localhost", + "port": 25 } } }