317 lines
No EOL
24 KiB
JSON
317 lines
No EOL
24 KiB
JSON
{
|
|
"tasks": {
|
|
"mail":{
|
|
"host": "localhost",
|
|
"port": 25,
|
|
"from": "linspector@linspector.org",
|
|
"username": "",
|
|
"password": ""
|
|
}
|
|
},
|
|
"members":{
|
|
"hanez":{
|
|
"name": "admin",
|
|
"tasks": [
|
|
{ "class":"mail", "type": "error", "args": { "_rcpt": "hanez@linspector.org" }}
|
|
]
|
|
}
|
|
},
|
|
"periods": {
|
|
"fast": { "seconds": 60 },
|
|
"medium": { "seconds": 120 },
|
|
"slow": { "seconds": 480 }
|
|
},
|
|
"hostgroups":{
|
|
"a":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"b":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"c":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"d":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"e":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"f":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"g":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"h":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"i":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"j":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"k":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"l":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"m":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"n":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
},
|
|
"o":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "v", "w",
|
|
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
|
"services":[
|
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
|
]
|
|
}
|
|
},
|
|
"layouts":{
|
|
"main":{
|
|
"hostgroups": [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o" ],
|
|
"enabled": true
|
|
}
|
|
},
|
|
"core":{
|
|
"instance_name": "Master Monitor 01 (monitor01.linspector.org)",
|
|
"threshold_handling": "reset",
|
|
"shutdown_wait": "False",
|
|
"members":[ "linspector", "root" ],
|
|
"jsonrpc_backend": "True",
|
|
"backends": {
|
|
"jsonrpc": {
|
|
"host": "127.0.0.1",
|
|
"port": 10123,
|
|
"username": "linspector",
|
|
"password": "linspector"
|
|
}
|
|
}
|
|
}
|
|
} |