added templates

This commit is contained in:
Johannes Findeisen 2013-10-01 01:44:35 +02:00
commit 5661fe9d5c
4 changed files with 25 additions and 10 deletions

View file

@ -156,12 +156,8 @@
"args":{ "line": 2, "col": 8 }} "args":{ "line": 2, "col": 8 }}
}, },
{ {
"class": "snmpget", "template": "snmpget_linux_load",
"comment": "The Linux system load", "fails":{ "warning": 2.00, "critical": 4.00 }
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.4.1.2021.10.1.3.1" },
"fails":{ "warning": 4.00, "critical": 8.00 },
"periods":[ "middle" ],
"threshold": 10
}, },
{ {
"class": "snmpget", "class": "snmpget",

View file

@ -41,6 +41,11 @@
"fails": {"donut": 0}, "fails": {"donut": 0},
"threshold": 0, "threshold": 0,
"comment": "my personal reminder, hehe" "comment": "my personal reminder, hehe"
},
{
"template": "tcpconnect_80",
"threshold": 10,
"periods": ["moes_time"],
} }
] ]
} }

View file

@ -0,0 +1,8 @@
{
"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 },
"periods":[ "normal" ],
"threshold": 10
}

View file

@ -0,0 +1,6 @@
{
"class": "tcpconnect",
"args": { "port": 80 },
"periods": ["normal"],
"threshold": 10
}