|
@@ -4,6 +4,7 @@
|
|
# License: GNU General Public License v2
|
|
# License: GNU General Public License v2
|
|
|
|
|
|
from cmk.graphing.v1 import metrics, Title
|
|
from cmk.graphing.v1 import metrics, Title
|
|
|
|
+from cmk.graphing.v1.graphs import Graph
|
|
|
|
|
|
# Metrics for DHOST ThreadPool
|
|
# Metrics for DHOST ThreadPool
|
|
metric_threadmaxwaittime = metrics.Metric(
|
|
metric_threadmaxwaittime = metrics.Metric(
|
|
@@ -35,3 +36,19 @@ metric_outbytes = metrics.Metric(
|
|
unit=metrics.Unit(metrics.SINotation("bytes")),
|
|
unit=metrics.Unit(metrics.SINotation("bytes")),
|
|
color=metrics.Color.BLUE,
|
|
color=metrics.Color.BLUE,
|
|
)
|
|
)
|
|
|
|
+
|
|
|
|
+# Combined graph of both inBytes and outBytes for LDAP Traffic
|
|
|
|
+graph_ldaptraffic_combined = Graph(
|
|
|
|
+ name = "ldap_traffic",
|
|
|
|
+ title = Title("Services in OK state out of total"),
|
|
|
|
+ simple_lines=[ "outBytes", "inBytes" ],
|
|
|
|
+
|
|
|
|
+)
|
|
|
|
+
|
|
|
|
+# Metric for Partition Agent
|
|
|
|
+metric_maxringdelta = metrics.Metric(
|
|
|
|
+ name="MaxRingDelta",
|
|
|
|
+ title=Title("Maximum amount of data not synchronized between any two servers in the replica ring"),
|
|
|
|
+ unit=metrics.Unit(metrics.TimeNotation()),
|
|
|
|
+ color=metrics.Color.BROWN,
|
|
|
|
+)
|