mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
parent
b924941488
commit
9901e9b1d3
@ -165,9 +165,7 @@ object CheckCommand "ssmtp" {
|
|||||||
"-p", "$port$"
|
"-p", "$port$"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros += {
|
macros.port = 465
|
||||||
port = 465
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object CheckCommand "ntp_time" {
|
object CheckCommand "ntp_time" {
|
||||||
@ -197,7 +195,7 @@ object CheckCommand "disk" {
|
|||||||
"-c", "$cfree$%"
|
"-c", "$cfree$%"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros += {
|
macros = {
|
||||||
wfree = 20,
|
wfree = 20,
|
||||||
cfree = 10,
|
cfree = 10,
|
||||||
}
|
}
|
||||||
@ -212,7 +210,7 @@ object CheckCommand "users"{
|
|||||||
"-c", "$cgreater$"
|
"-c", "$cgreater$"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros += {
|
macros = {
|
||||||
wgreater = 20,
|
wgreater = 20,
|
||||||
cgreater = 50,
|
cgreater = 50,
|
||||||
}
|
}
|
||||||
@ -227,7 +225,7 @@ object CheckCommand "processes"{
|
|||||||
"-c", "$cgreater$"
|
"-c", "$cgreater$"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros += {
|
macros = {
|
||||||
wgreater = 250,
|
wgreater = 250,
|
||||||
cgreater = 400,
|
cgreater = 400,
|
||||||
}
|
}
|
||||||
@ -263,17 +261,13 @@ object CheckCommand "snmp"{
|
|||||||
"-C", "$community$"
|
"-C", "$community$"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros = {
|
macros.community = "public"
|
||||||
community = "public"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object CheckCommand "snmp-uptime"{
|
object CheckCommand "snmp-uptime"{
|
||||||
import "snmp",
|
import "snmp",
|
||||||
|
|
||||||
macros += {
|
macros.oid = "1.3.6.1.2.1.1.3.0"
|
||||||
oid = "1.3.6.1.2.1.1.3.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object CheckCommand "icinga"{
|
object CheckCommand "icinga"{
|
||||||
@ -296,5 +290,5 @@ object CheckCommand "snmp-extend"{
|
|||||||
"$plugin$"
|
"$plugin$"
|
||||||
],
|
],
|
||||||
|
|
||||||
macros["community"] = "public"
|
macros.community = "public"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user