]> granicus.if.org Git - icinga2/blobdiff - itl/command-plugins-windows.conf
Add ipv4/ipv6 only to tcp, udp and http CheckCommand
[icinga2] / itl / command-plugins-windows.conf
index 4206585551275230a85bf29ae0eca6e81e1629fe..51af4d2ca4bd538958038bf7b2eb4fba5415cd8e 100644 (file)
@@ -34,6 +34,7 @@ object CheckCommand "disk-windows" {
                "-p" = {
                        value = "$disk_win_path$"
                        description = "Optional paths to check"
+                       repeat_key = true
                }
                "-u" = {
                        value = "$disk_win_unit$"
@@ -131,8 +132,8 @@ object CheckCommand "perfmon-windows" {
                }
        }
        
-       vars.performance-wait = "1000"
-       vars.fmt-countertype = "double"
+       vars.performance_win_wait = 1000
+       vars.perfmon_win_type = "double"
        //The default values
 }
 
@@ -183,7 +184,7 @@ object CheckCommand "ping4-windows" {
 
        command += [ "-4" ]
 
-       vars.ping_address = "$address$"
+       vars.ping_win_address = "$address$"
 }
 
 object CheckCommand "ping6-windows" {
@@ -191,7 +192,7 @@ object CheckCommand "ping6-windows" {
 
        command += [ "-6" ]
 
-       vars.ping_address = "$address6$"
+       vars.ping_win_address = "$address6$"
 }
 
 object CheckCommand "procs-windows" {
@@ -318,4 +319,4 @@ object CheckCommand "users-windows" {
                        description = "Critical threshold"
                }
        }
-}
\ No newline at end of file
+}