added templates
This commit is contained in:
parent
1701e602ef
commit
1618f48a8f
4 changed files with 25 additions and 10 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,10 @@
|
||||||
"threshold": 50
|
"threshold": 50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "ping",
|
"class": "ping",
|
||||||
"fails": {"donut": 1000},
|
"fails": {"donut": 1000},
|
||||||
"periods": ["doh"],
|
"periods": ["doh"],
|
||||||
"threshold": 100
|
"threshold": 100
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"class": "tcpconnect",
|
"class": "tcpconnect",
|
||||||
|
|
@ -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"],
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
templates/services/snmpget_linux_load.json
Normal file
8
templates/services/snmpget_linux_load.json
Normal 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
|
||||||
|
}
|
||||||
6
templates/services/tcpconnect_80.json
Normal file
6
templates/services/tcpconnect_80.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"class": "tcpconnect",
|
||||||
|
"args": { "port": 80 },
|
||||||
|
"periods": ["normal"],
|
||||||
|
"threshold": 10
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue