nothing done... just pass... ;)

This commit is contained in:
Johannes Findeisen 2013-09-23 23:50:59 +02:00
commit 3aaaa5d56e
3 changed files with 24 additions and 24 deletions

View file

@ -13,7 +13,7 @@
"hostgroups":{ "hostgroups":{
"servers":{ "servers":{
"members": ["hanez"], "members": ["hanez"],
"hosts": [ "a.systemchaos.org", "b.systemchaos.org" ], "hosts": [ "a.example.org", "b.example.org" ],
"services":[ "services":[
{ {
"class": "tcpconnect", "class": "tcpconnect",
@ -37,7 +37,7 @@
"members":[ "root" ], "members":[ "root" ],
"tasks": { "tasks": {
"jabber":{ "jabber":{
"host": "systemchaos.org", "host": "example.org",
"port": 5222, "port": 5222,
"username": "USERNAME", "username": "USERNAME",
"password": "PASSWORD" "password": "PASSWORD"
@ -45,7 +45,7 @@
"mail":{ "mail":{
"host": "localhost", "host": "localhost",
"port": 25, "port": 25,
"from": "linspector@systemchaos.org" "from": "linspector@example.org"
} }
} }
} }

View file

@ -3,21 +3,21 @@
"root":{ "root":{
"name": "Admin", "name": "Admin",
"comment": "The Linspector Admin", "comment": "The Linspector Admin",
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@systems.hanez.org" }}, "tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@example.org" }},
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49112" }}, { "class": "sms", "type": "critical", "args":{ "rcpt": "+491120000000000" }},
{ "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@jabber.hanez.org" }}] { "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@example.org" }}]
}, },
"hanez":{ "hanez":{
"name": "Johannes Findeisen", "name": "Hanez",
"comment": "Just a nerd doing admin stuff.", "comment": "Just a nerd doing admin stuff.",
"parent": "darth", "parent": "darth",
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@hanez.org" }}, "tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@example.org" }},
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49110" }}] { "class": "sms", "type": "critical", "args":{ "rcpt": "+491100000000000" }}]
}, },
"darth":{ "darth":{
"name": "Darth Vader", "name": "Darth Vader",
"comment": "The father", "comment": "The father",
"tasks":{ "class": "mail", "type": "warning", "args":{ "rcpt": "darth.vader@hanez.org" }} "tasks":{ "class": "mail", "type": "warning", "args":{ "rcpt": "darth.vader@example.org" }}
} }
}, },
"periods":{ "periods":{
@ -30,20 +30,20 @@
"hostgroups":{ "hostgroups":{
"group1":{ "group1":{
"members":[ "hanez" ], "members":[ "hanez" ],
"hosts":[ "a.systemchaos.org", "b.systemchaos.org" ], "hosts":[ "a.example.org", "b.example.org" ],
"parents":[ "network" ], "parents":[ "network" ],
"processors":[ "processors":[
{ {
"class": "mongodb", "class": "mongodb",
"args":{ "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default" } "args":{ "host": "mongodb.example.org", "user": "mongo", "password": "secret", "database": "default" }
}, },
{ {
"class": "syslog", "class": "syslog",
"args":{ "host": "syslog.linspector.org", "user": "syslog", "password": "secret" } "args":{ "host": "syslog.example.org", "user": "syslog", "password": "secret" }
}, },
{ {
"class": "mariadb", "class": "mariadb",
"args":{ "host": "mariadb.linspector.org", "port": "3306", "user": "maria", "password": "secret", "database": "linspector" } "args":{ "host": "mariadb.example.org", "port": "3306", "user": "maria", "password": "secret", "database": "linspector" }
} }
], ],
"services":[ "services":[
@ -88,7 +88,7 @@
}, },
"group2":{ "group2":{
"members":[ "hanez" ], "members":[ "hanez" ],
"hosts":["x.systemchaos.org", "y.systemchaos.org" ], "hosts":["x.example.org", "y.example.org" ],
"services":[ "services":[
{ {
"class": "ping", "class": "ping",
@ -108,7 +108,7 @@
}, },
"group3":{ "group3":{
"members":[ "hanez" ], "members":[ "hanez" ],
"hosts":[ "master.systemchaos.org" ], "hosts":[ "master.example.org" ],
"services":[ "services":[
{ {
"class": "ssh", "class": "ssh",
@ -137,11 +137,11 @@
}, },
"network":{ "network":{
"members":[ "hanez" ], "members":[ "hanez" ],
"hosts":[ "router.systemchaos.org" ], "hosts":[ "router.example.org" ],
"processors":[ "processors":[
{ {
"class": "mongodb", "class": "mongodb",
"args":{ "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default" } "args":{ "host": "mongodb.example.org", "user": "mongo", "password": "secret", "database": "default" }
} }
], ],
"services":[ "services":[

View file

@ -4,8 +4,8 @@
"name": "Homer Simpson", "name": "Homer Simpson",
"comment": "Security Inspector", "comment": "Security Inspector",
"tasks": [ "tasks": [
{"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}}, {"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@example.sp"}},
{"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}} {"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@example.sp"}}
] ]
} }
}, },
@ -17,9 +17,9 @@
"hostgroups":{ "hostgroups":{
"power_plant":{ "power_plant":{
"members": ["homer"], "members": ["homer"],
"hosts": ["powerplant.springfield.com"], "hosts": ["powerplant.example.com"],
"processors":[ "processors":[
{"class": "mongodb", "args":{ "host": "mongodb.burnscorp.org", "user": "homer", "password": "useless", "database": "default" }} {"class": "mongodb", "args":{ "host": "mongodb.example.org", "user": "homer", "password": "useless", "database": "default" }}
], ],
"services":[ "services":[
{ {
@ -55,7 +55,7 @@
"members":[ "root" ], "members":[ "root" ],
"tasks":{ "tasks":{
"jabber":{ "jabber":{
"host": "systemchaos.org", "host": "example.org",
"port": 5222, "port": 5222,
"username": "USERNAME", "username": "USERNAME",
"password": "PASSWORD" "password": "PASSWORD"
@ -63,7 +63,7 @@
"mail":{ "mail":{
"host": "localhost", "host": "localhost",
"port": 25, "port": 25,
"from": "linspector@systemchaos.org" "from": "linspector@example.org"
} }
} }
} }