nothing done... just pass... ;)
This commit is contained in:
parent
c488474f25
commit
baeab9bf50
3 changed files with 24 additions and 24 deletions
|
|
@ -13,7 +13,7 @@
|
|||
"hostgroups":{
|
||||
"servers":{
|
||||
"members": ["hanez"],
|
||||
"hosts": [ "a.systemchaos.org", "b.systemchaos.org" ],
|
||||
"hosts": [ "a.example.org", "b.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
"members":[ "root" ],
|
||||
"tasks": {
|
||||
"jabber":{
|
||||
"host": "systemchaos.org",
|
||||
"host": "example.org",
|
||||
"port": 5222,
|
||||
"username": "USERNAME",
|
||||
"password": "PASSWORD"
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
"mail":{
|
||||
"host": "localhost",
|
||||
"port": 25,
|
||||
"from": "linspector@systemchaos.org"
|
||||
"from": "linspector@example.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,21 +3,21 @@
|
|||
"root":{
|
||||
"name": "Admin",
|
||||
"comment": "The Linspector Admin",
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@systems.hanez.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49112" }},
|
||||
{ "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@jabber.hanez.org" }}]
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@example.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+491120000000000" }},
|
||||
{ "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@example.org" }}]
|
||||
},
|
||||
"hanez":{
|
||||
"name": "Johannes Findeisen",
|
||||
"name": "Hanez",
|
||||
"comment": "Just a nerd doing admin stuff.",
|
||||
"parent": "darth",
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@hanez.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49110" }}]
|
||||
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@example.org" }},
|
||||
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+491100000000000" }}]
|
||||
},
|
||||
"darth":{
|
||||
"name": "Darth Vader",
|
||||
"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":{
|
||||
|
|
@ -30,20 +30,20 @@
|
|||
"hostgroups":{
|
||||
"group1":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "a.systemchaos.org", "b.systemchaos.org" ],
|
||||
"hosts":[ "a.example.org", "b.example.org" ],
|
||||
"parents":[ "network" ],
|
||||
"processors":[
|
||||
{
|
||||
"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",
|
||||
"args":{ "host": "syslog.linspector.org", "user": "syslog", "password": "secret" }
|
||||
"args":{ "host": "syslog.example.org", "user": "syslog", "password": "secret" }
|
||||
},
|
||||
{
|
||||
"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":[
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
},
|
||||
"group2":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":["x.systemchaos.org", "y.systemchaos.org" ],
|
||||
"hosts":["x.example.org", "y.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "ping",
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
},
|
||||
"group3":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "master.systemchaos.org" ],
|
||||
"hosts":[ "master.example.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "ssh",
|
||||
|
|
@ -137,11 +137,11 @@
|
|||
},
|
||||
"network":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "router.systemchaos.org" ],
|
||||
"hosts":[ "router.example.org" ],
|
||||
"processors":[
|
||||
{
|
||||
"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":[
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
"name": "Homer Simpson",
|
||||
"comment": "Security Inspector",
|
||||
"tasks": [
|
||||
{"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}},
|
||||
{"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@example.sp"}}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
"hostgroups":{
|
||||
"power_plant":{
|
||||
"members": ["homer"],
|
||||
"hosts": ["powerplant.springfield.com"],
|
||||
"hosts": ["powerplant.example.com"],
|
||||
"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":[
|
||||
{
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
"members":[ "root" ],
|
||||
"tasks":{
|
||||
"jabber":{
|
||||
"host": "systemchaos.org",
|
||||
"host": "example.org",
|
||||
"port": 5222,
|
||||
"username": "USERNAME",
|
||||
"password": "PASSWORD"
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
"mail":{
|
||||
"host": "localhost",
|
||||
"port": 25,
|
||||
"from": "linspector@systemchaos.org"
|
||||
"from": "linspector@example.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue