]> granicus.if.org Git - icinga2/blobdiff - itl/plugins-contrib.d/icingacli.conf
Merge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536
[icinga2] / itl / plugins-contrib.d / icingacli.conf
index a5d435b6e5eaab2cf448701da1dd1ab0f9e89a47..1d27ab2ca572f54e83e2705f55da5f5c4586b02e 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com)   *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://icinga.com/)      *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -51,3 +51,20 @@ object CheckCommand "icingacli-businessprocess" {
        vars.icingacli_businessprocess_details = false
 }
 
+object CheckCommand "icingacli-director" {
+        import "icingacli"
+
+        command += [ "director", "health", "check" ]
+
+        arguments = {
+                "--check" = {
+                        value = "$icingacli_director_check$"
+                        description = "Run only a specific test suite"
+                }
+                "--db" = {
+                        value = "$icingacli_director_db$"
+                        description = "Use a specific Icinga Web DB resource"
+                }
+        }
+}
+