]> granicus.if.org Git - icinga2/commitdiff
Update ITL commands.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 31 Mar 2014 10:52:12 +0000 (12:52 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 31 Mar 2014 10:52:12 +0000 (12:52 +0200)
Refs #5888

itl/command-common.conf

index e6b007554a9bcec45aa1b00a7951422af48b9acd..74a641f7b44f36d97951e67a4c1519563baf7807 100644 (file)
@@ -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"
 }