Module: check_mk
Branch: master
Commit: e4e46f33af3f51520d0be7eeb94eda301f7cc4c5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e4e46f33af3f51…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 13 15:04:03 2012 +0200
BI: Inline docu update
---
web/htdocs/bi.py | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index c772a73..3be9a56 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -83,14 +83,18 @@ SITE_SEP = '#'
# format of a node
# {
-# "type" : NT_LEAF, NT_RULE, NT_REMAINING,
+# "type" : NT_LEAF, NT_RULE, NT_REMAINING,
# "reqhosts" : [ list of required hosts ],
-# "host" : host spec for leaf node,
-# "service" : service name for leaf node, missing if HOST_STATE
-# "title" : title in case of rule nodes
-# "hidden" : True if hidden
-# "func" : Name of aggregation function for rule nodes
-# "nodes" : List of subnodes for rule nodes
+# "hidden" : True if hidden
+#
+# SPECIAL KEYS FOR NT_LEAF:
+# "host" : host specification,
+# "service" : service name, missing for leaf type HOST_STATE
+#
+# SPECIAL KEYS FOR NT_RULE:
+# "title" : title
+# "func" : Name of aggregation function, e.g. "count!2!1"
+# "nodes" : List of subnodes
# }
NT_LEAF = 1