sexy, sexy, sexy...
This commit is contained in:
parent
ebf50a2d99
commit
e6ca9b9840
1 changed files with 14 additions and 12 deletions
|
|
@ -66,7 +66,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "http",
|
"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" ],
|
"periods":[ "long" ],
|
||||||
"threshold": 2,
|
"threshold": 2,
|
||||||
"parser":{ "class": "grep", "string": "<h1>I am up!</h1>" },
|
"parser":{ "class": "grep", "string": "<h1>I am up!</h1>" },
|
||||||
|
|
@ -111,7 +113,7 @@
|
||||||
"class": "shell",
|
"class": "shell",
|
||||||
"comment": "Getting the Linux system load using the shell service and the snmpget command",
|
"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" },
|
"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" ],
|
"periods":[ "middle" ],
|
||||||
"threshold": 10,
|
"threshold": 10,
|
||||||
"parser":{ "class": "shell", "line": 1, "col": 4 }
|
"parser":{ "class": "shell", "line": 1, "col": 4 }
|
||||||
|
|
@ -141,13 +143,13 @@
|
||||||
"class": "snmpget",
|
"class": "snmpget",
|
||||||
"comment": "The Linux system load",
|
"comment": "The Linux system load",
|
||||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.4.1.2021.10.1.3.1" },
|
"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" ],
|
"periods":[ "middle" ],
|
||||||
"threshold": 10
|
"threshold": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "snmpget",
|
"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" },
|
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.2.1.1.3.0" },
|
||||||
"periods":[ "middle" ],
|
"periods":[ "middle" ],
|
||||||
"threshold": 10
|
"threshold": 10
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue