[icinga-checkins] icinga.org: icinga2/master: Types: Added service attributes to the host type.

git at icinga.org git at icinga.org
Sun Feb 3 11:46:25 CET 2013


Module: icinga2
Branch: master
Commit: 7d795ae5e6a6987f9087d01742ecd3ea1756181c
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7d795ae5e6a6987f9087d01742ecd3ea1756181c

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sun Feb  3 11:45:56 2013 +0100

Types: Added service attributes to the host type.

---

 itl/types.conf |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/itl/types.conf b/itl/types.conf
index aca7652..c09b80c 100644
--- a/itl/types.conf
+++ b/itl/types.conf
@@ -50,11 +50,22 @@ type Host {
 	dictionary hostchecks {
 		string *
 	},
+	dictionary services {
+		any * /* TODO: more specific validation rules */
+	},
+
+	/* service attributes */
+	number max_check_attempts,
+	number check_interval,
+	number retry_interval,
 	dictionary macros {
 		string *
 	},
-	dictionary services {
-		any * /* TODO: more specific validation rules */
+	dictionary servicegroups {
+		string *
+	},
+	dictionary checkers {
+		string *
 	}
 }
 





More information about the icinga-checkins mailing list