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