]> granicus.if.org Git - icinga2/commitdiff
Fix indentation in command-plugins.conf
authorGunnar Beutner <gunnar@beutner.name>
Fri, 20 Nov 2015 09:48:48 +0000 (10:48 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Fri, 20 Nov 2015 09:49:15 +0000 (10:49 +0100)
fixes #10667

itl/command-plugins.conf

index c201141c2b068a75149fbd7ffa5a5165b5332c63..8cfa91fe3975b75c57bd565fc6233dd39ad05062 100644 (file)
@@ -857,48 +857,48 @@ object CheckCommand "disk" {
 }
 
 object CheckCommand "disk_smb" {
-        import "plugin-check-command"
-
-        command = [ PluginDir + "/check_disk_smb" ]
-
-        arguments = {
-                "-H" = {
-                        value = "$disk_smb_hostname$"
-                        description = "NetBIOS name of the server."
-                }
-                "-s" = {
-                        value = "$disk_smb_share$"
-                        description = "Share name to be tested."
-                }
-                "-W" = {
-                        value = "$disk_smb_workgroup$"
-                        description = "Workgroup or Domain used (Defaults to 'WORKGROUP' if omitted)."
-                }
-                "-a" = {
-                        value = "$disk_smb_address$"
-                        description = "IP-address of HOST (only necessary if HOST is in another network)."
-                }
-                "-u" = {
-                        value = "$disk_smb_username$"
-                        description = "Username to log in to server. (Defaults to 'guest' if omitted)."
-                }
-                "-p" = {
-                        value = "$disk_smb_password$"
-                        description = "Password to log in to server. (Defaults to an empty password if omitted)."
-                }
-                "-w" = {
-                        value = "$disk_smb_wused$"
-                        description = "Percent of used space at which a warning will be generated (Default: 85%)."
-                }
-                "-c" = {
-                        value = "$disk_smb_cused$"
-                        description = "Percent of used space at which a critical will be generated (Defaults: 95%)"
-                }
-                "-P" = {
-                        value = "$disk_smb_port$"
-                        description = "Port to be used to connect to. Some Windows boxes use 139, others 445 (Defaults to smbclient default if omitted)."
-                }
-        }
+       import "plugin-check-command"
+
+       command = [ PluginDir + "/check_disk_smb" ]
+
+       arguments = {
+               "-H" = {
+                       value = "$disk_smb_hostname$"
+                       description = "NetBIOS name of the server."
+               }
+               "-s" = {
+                       value = "$disk_smb_share$"
+                       description = "Share name to be tested."
+               }
+               "-W" = {
+                       value = "$disk_smb_workgroup$"
+                       description = "Workgroup or Domain used (Defaults to 'WORKGROUP' if omitted)."
+               }
+               "-a" = {
+                       value = "$disk_smb_address$"
+                       description = "IP-address of HOST (only necessary if HOST is in another network)."
+               }
+               "-u" = {
+                       value = "$disk_smb_username$"
+                       description = "Username to log in to server. (Defaults to 'guest' if omitted)."
+               }
+               "-p" = {
+                       value = "$disk_smb_password$"
+                       description = "Password to log in to server. (Defaults to an empty password if omitted)."
+               }
+               "-w" = {
+                       value = "$disk_smb_wused$"
+                       description = "Percent of used space at which a warning will be generated (Default: 85%)."
+               }
+               "-c" = {
+                       value = "$disk_smb_cused$"
+                       description = "Percent of used space at which a critical will be generated (Defaults: 95%)"
+               }
+               "-P" = {
+                       value = "$disk_smb_port$"
+                       description = "Port to be used to connect to. Some Windows boxes use 139, others 445 (Defaults to smbclient default if omitted)."
+               }
+       }
 
        vars.disk_smb_wused = "85%"
        vars.disk_smb_cused = "95%"
@@ -1514,8 +1514,8 @@ object CheckCommand "icmp" {
 }
 
 object CheckCommand "ldap" {
-    import "plugin-check-command"
-    import "ipv4-or-ipv6"
+       import "plugin-check-command"
+       import "ipv4-or-ipv6"
 
        command = [ PluginDir + "/check_ldap" ]