[icinga-checkins] icinga.org: icinga2/next: Update the documentation to clarify that custom attributes don' t support arrays and dictionaries
git at icinga.org
git at icinga.org
Fri Jun 27 08:31:46 CEST 2014
Module: icinga2
Branch: next
Commit: b49636883f36eee7ddbf0d908fb457a58aeea0a2
URL: https://git.icinga.org/?p=icinga2.git;a=commit;h=b49636883f36eee7ddbf0d908fb457a58aeea0a2
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date: Fri Jun 27 08:30:59 2014 +0200
Update the documentation to clarify that custom attributes don't support arrays and dictionaries
fixes #6506
---
doc/3-monitoring-basics.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/3-monitoring-basics.md b/doc/3-monitoring-basics.md
index 5e74cd9..69a20ca 100644
--- a/doc/3-monitoring-basics.md
+++ b/doc/3-monitoring-basics.md
@@ -1179,6 +1179,9 @@ Custom attributes in command definitions or performance data templates are evalu
runtime when executing a command. These custom attributes cannot be used elsewhere
(e.g. in other configuration attributes).
+Custom attribute values must be either a string, a number or a boolean value. Arrays
+and dictionaries cannot be used.
+
Here is an example of a command definition which uses user-defined custom attributes:
object CheckCommand "my-ping" {
More information about the icinga-checkins
mailing list