"-p", "$port$"
],
- macros += {
- port = 465
- }
+ macros.port = 465
}
object CheckCommand "ntp_time" {
"-c", "$cfree$%"
],
- macros += {
+ macros = {
wfree = 20,
cfree = 10,
}
"-c", "$cgreater$"
],
- macros += {
+ macros = {
wgreater = 20,
cgreater = 50,
}
"-c", "$cgreater$"
],
- macros += {
+ macros = {
wgreater = 250,
cgreater = 400,
}
"-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"{
"$plugin$"
],
- macros["community"] = "public"
+ macros.community = "public"
}