sexy, sexy, sexy...
This commit is contained in:
parent
ebf50a2d99
commit
e6ca9b9840
1 changed files with 14 additions and 12 deletions
|
|
@ -41,7 +41,7 @@
|
|||
"services":[
|
||||
{
|
||||
"class": "ping",
|
||||
"fails":{ "warning":"100ms", "critical":"150ms" },
|
||||
"fails":{ "warning": "100ms", "critical": "150ms" },
|
||||
"periods":[ "short" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell", "line": 2, "col": 5 }
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
{
|
||||
"class": "tcpconnect",
|
||||
"args":{ "port": 25 },
|
||||
"periods":["long" ],
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2
|
||||
},
|
||||
{
|
||||
|
|
@ -66,16 +66,18 @@
|
|||
},
|
||||
{
|
||||
"class": "http",
|
||||
"args":{ "port": 80, "path": "/status.cgi", "method": "get", "params":{ "foo": 1, "bar": 2 }, "protocol": "https" },
|
||||
"args":{ "port": 80, "path": "/status.cgi", "method": "get",
|
||||
"params":{ "action": "go", "value": 1 },
|
||||
"protocol": "https" },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 2,
|
||||
"parser":{ "class":"grep", "string": "<h1>I am up!</h1>" },
|
||||
"parser":{ "class": "grep", "string": "<h1>I am up!</h1>" },
|
||||
"comment": "Just a string grep"
|
||||
}
|
||||
]
|
||||
},
|
||||
"group2":{
|
||||
"members":["hanez" ],
|
||||
"members":[ "hanez" ],
|
||||
"hosts":["x.systemchaos.org", "y.systemchaos.org" ],
|
||||
"services":[
|
||||
{
|
||||
|
|
@ -103,15 +105,15 @@
|
|||
"fails":{ "warning": "80%", "critical": "90%" },
|
||||
"periods":[ "long" ],
|
||||
"threshold": 10,
|
||||
"parser":[{ "class":"grep", "line": "/dev/sda1", "col": 5 },
|
||||
[{ "class":"grep", "line": "/dev/sda2", "col": 5 },
|
||||
{ "class":"grep", "line": "/dev/sda2", "col": 5 }]]
|
||||
"parser":[{ "class": "grep", "line": "/dev/sda1", "col": 5 },
|
||||
[{ "class": "grep", "line": "/dev/sda2", "col": 5 },
|
||||
{ "class": "grep", "line": "/dev/sda2", "col": 5 }]]
|
||||
},
|
||||
{
|
||||
"class": "shell",
|
||||
"comment": "Getting the Linux system load using the shell service and the snmpget command",
|
||||
"args":{ "command": "snmpget -v2c -c linspector @host .1.3.6.1.4.1.2021.10.1.3.1" },
|
||||
"fails":{ "warning": "4.00", "critical":"8.00" },
|
||||
"fails":{ "warning": 4.00, "critical": 8.00 },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell", "line": 1, "col": 4 }
|
||||
|
|
@ -132,7 +134,7 @@
|
|||
"class": "shell",
|
||||
"comment": "ping using the shell service and no builtin",
|
||||
"args":{ "command": "ping -c1 @host" },
|
||||
"fails":{ "warning": "100ms", "critical":"150ms", "notes": "HeyHo! A ping failed, wake up! (@response)" },
|
||||
"fails":{ "warning": "100ms", "critical": "150ms", "notes": "HeyHo! A ping failed, wake up! (@response)" },
|
||||
"periods":[ "short" ],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell", "line": 2, "col": 8 }
|
||||
|
|
@ -141,13 +143,13 @@
|
|||
"class": "snmpget",
|
||||
"comment": "The Linux system load",
|
||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.4.1.2021.10.1.3.1" },
|
||||
"fails":{ "warning": "4.00", "critical": "8.00" },
|
||||
"fails":{ "warning": 4.00, "critical": 8.00 },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 10
|
||||
},
|
||||
{
|
||||
"class": "snmpget",
|
||||
"comment": "The Linux system uptime",
|
||||
"comment": "The Linux system uptime just processed... not more.",
|
||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.2.1.1.3.0" },
|
||||
"periods":[ "middle" ],
|
||||
"threshold": 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue