diff --git a/linspector.json b/linspector.json
index 97b2850..3824198 100644
--- a/linspector.json
+++ b/linspector.json
@@ -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": "
I am up!
" },
+ "parser":{ "class": "grep", "string": "I am up!
" },
"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