[icinga-checkins] icinga.org: icinga2/feature/check_nscp-12874: Update ITL for check_nscp

git at icinga.org git at icinga.org
Fri Oct 14 13:38:58 CEST 2016


Module: icinga2
Branch: feature/check_nscp-12874
Commit: 8c08956cdad048a6df547d271d9e64d9097f69c4
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=8c08956cdad048a6df547d271d9e64d9097f69c4

Author: Jean Flach <jean-marcel.flach at netways.de>
Date:   Thu Oct 13 18:18:08 2016 +0200

Update ITL for check_nscp

refs #12874

---

 itl/command-plugins.conf |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf
index 6b8db0f..67a5090 100644
--- a/itl/command-plugins.conf
+++ b/itl/command-plugins.conf
@@ -2275,3 +2275,31 @@ object CheckCommand "radius" {
 
 	vars.radius_address = "$check_address$"
 }
+
+object CheckCommand "nscp" {
+	command = [ PluginDir + "/check_nscp" ]
+
+	arguments = {
+		"-H" = {
+			value = "$nscp_host$"
+			description = "NSCP host address"
+		}
+		"-P" = {
+			value = "$nscp_port$"
+			description = "NSCP host port"
+		}
+		"--passwd" = {
+			value = "$nscp_passwd$"
+			description = "NSCP password"
+		}
+		"-q" = {
+			value = "$nscp_query$"
+			description = "Query enpoint to use"
+		}
+		"-a" = {
+			value = "$nscp_arg$"
+			description = "Query arguments"
+			repeat_key = true
+		}
+	}
+}



More information about the icinga-checkins mailing list