|
@@ -54,6 +54,7 @@ total_counters = [
|
|
"Total",
|
|
"Total",
|
|
"EntryCache",
|
|
"EntryCache",
|
|
"BlockCache",
|
|
"BlockCache",
|
|
|
|
+ "TotalSize",
|
|
]
|
|
]
|
|
|
|
|
|
def format_partition_agent(value):
|
|
def format_partition_agent(value):
|
|
@@ -113,7 +114,7 @@ def check_edirectory_items(item: str, section) -> CheckResult:
|
|
previous_value = value_store.get(key, 0)
|
|
previous_value = value_store.get(key, 0)
|
|
value_store[key] = value
|
|
value_store[key] = value
|
|
value_difference = float(value) - float(previous_value)
|
|
value_difference = float(value) - float(previous_value)
|
|
- yield Metric(key, value_difference, boundaries=(0, None))
|
|
|
|
|
|
+ yield Metric(key, abs(value_difference), boundaries=(0, None))
|
|
elif key not in non_graphable:
|
|
elif key not in non_graphable:
|
|
'''Only create a metric for graphable values'''
|
|
'''Only create a metric for graphable values'''
|
|
yield Metric(key, float(value))
|
|
yield Metric(key, float(value))
|