some bool fixes in json files and dummy service
This commit is contained in:
parent
b00c73f8f6
commit
ac09ed749a
4 changed files with 158 additions and 158 deletions
|
|
@ -55,13 +55,13 @@
|
||||||
"class": "etc/dummy",
|
"class": "etc/dummy",
|
||||||
"periods": ["fast"],
|
"periods": ["fast"],
|
||||||
"threshold": 1,
|
"threshold": 1,
|
||||||
"args": { "sleep": 1, "fail": 1 }
|
"args": { "sleep": 1, "fail": true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "etc/dummy",
|
"class": "etc/dummy",
|
||||||
"periods": ["fast"],
|
"periods": ["fast"],
|
||||||
"threshold": 1,
|
"threshold": 1,
|
||||||
"args": { "sleep": 10, "fail": 0 }
|
"args": { "sleep": 10, "fail": false }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -73,13 +73,13 @@
|
||||||
"class": "etc/dummy",
|
"class": "etc/dummy",
|
||||||
"periods": ["fast"],
|
"periods": ["fast"],
|
||||||
"threshold": 1,
|
"threshold": 1,
|
||||||
"args": { "sleep": 1, "fail": 1 }
|
"args": { "sleep": 1, "fail": true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "etc/dummy",
|
"class": "etc/dummy",
|
||||||
"periods": ["fast"],
|
"periods": ["fast"],
|
||||||
"threshold": 1,
|
"threshold": 1,
|
||||||
"args": { "sleep": 10, "fail": 0 }
|
"args": { "sleep": 10, "fail": false }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
},
|
},
|
||||||
"gooo":{
|
"gooo":{
|
||||||
"hostgroups": [ "b" ],
|
"hostgroups": [ "b" ],
|
||||||
"enabled": true
|
"enabled": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core":{
|
"core":{
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
"members": ["root"],
|
"members": ["root"],
|
||||||
"hosts": [ "a"],
|
"hosts": [ "a"],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 1 }
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 1 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -28,16 +28,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"b":{
|
"b":{
|
||||||
|
|
@ -46,16 +46,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"c":{
|
"c":{
|
||||||
|
|
@ -64,16 +64,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"d":{
|
"d":{
|
||||||
|
|
@ -82,16 +82,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"e":{
|
"e":{
|
||||||
|
|
@ -100,16 +100,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"f":{
|
"f":{
|
||||||
|
|
@ -118,16 +118,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"g":{
|
"g":{
|
||||||
|
|
@ -136,16 +136,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"h":{
|
"h":{
|
||||||
|
|
@ -154,16 +154,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"i":{
|
"i":{
|
||||||
|
|
@ -172,16 +172,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"j":{
|
"j":{
|
||||||
|
|
@ -190,16 +190,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"k":{
|
"k":{
|
||||||
|
|
@ -208,16 +208,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"l":{
|
"l":{
|
||||||
|
|
@ -226,16 +226,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"m":{
|
"m":{
|
||||||
|
|
@ -244,16 +244,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"n":{
|
"n":{
|
||||||
|
|
@ -262,16 +262,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"o":{
|
"o":{
|
||||||
|
|
@ -280,16 +280,16 @@
|
||||||
"x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll", "mm",
|
"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" ],
|
"nn", "oo", "pp", "qq", "vv", "ww", "xx", "yy", "zz" ],
|
||||||
"services":[
|
"services":[
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 1, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 2, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 3, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 4, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 5, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 6, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 7, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 8, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": 1 }, "periods": ["fast"], "threshold": 3 },
|
{ "class": "etc/dummy", "args": { "sleep": 9, "fail": true }, "periods": ["fast"], "threshold": 3 },
|
||||||
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": 1 }, "periods": ["fast"], "threshold": 3 }
|
{ "class": "etc/dummy", "args": { "sleep": 10, "fail": true }, "periods": ["fast"], "threshold": 3 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ class DummyService(Service):
|
||||||
if "sleep" in args:
|
if "sleep" in args:
|
||||||
self.sleep = args["sleep"]
|
self.sleep = args["sleep"]
|
||||||
|
|
||||||
self.fail = 0
|
self.fail = False
|
||||||
if "fail" in args:
|
if "fail" in args:
|
||||||
self.fail = args["fail"]
|
self.fail = args["fail"]
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@ class DummyService(Service):
|
||||||
|
|
||||||
time.sleep(self.sleep)
|
time.sleep(self.sleep)
|
||||||
|
|
||||||
if self.fail > 0:
|
if self.fail:
|
||||||
job.set_errorcode(1)
|
job.set_errorcode(1)
|
||||||
job.set_message("[dummy: " + job.jobHex + "] Failed on host: " + job.get_host() +
|
job.set_message("[dummy: " + job.jobHex + "] Failed on host: " + job.get_host() +
|
||||||
" Sleep: " + str(self.sleep) + " Fail: " + str(self.fail))
|
" Sleep: " + str(self.sleep) + " Fail: " + str(self.fail))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue