sexy, sexy, sexy...

This commit is contained in:
Johannes Findeisen 2013-06-10 06:52:45 +02:00
commit e6ca9b9840

View file

@ -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