From: Gunnar Beutner Date: Mon, 31 Mar 2014 10:52:12 +0000 (+0200) Subject: Update ITL commands. X-Git-Tag: v0.0.9~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9901e9b1d35e3ac4f69681e0fe57ed29d2a75ae0;p=icinga2 Update ITL commands. Refs #5888 --- diff --git a/itl/command-common.conf b/itl/command-common.conf index e6b007554..74a641f7b 100644 --- a/itl/command-common.conf +++ b/itl/command-common.conf @@ -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" }