Skip to content

Commit

Permalink
adds check_metrics for two DRBD checks
Browse files Browse the repository at this point in the history
both collect the metrics in KiB/s
  • Loading branch information
gurubert committed Jun 21, 2024
1 parent d4ab1ae commit a55cb3a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cmk/gui/plugins/metrics/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,3 +1141,23 @@
check_metrics["check_mk-hp_proliant_power"] = {
"watt": {"name": "power"},
}
check_metrics["check_mk-drbd_disk"] = {
"read": {
"scale": KB,
"name": "disk_read_throughput",
},
"write": {
"scale": KB,
"name": "disk_write_throughput",
}
}
check_metrics["check_mk-drbd_net"] = {
"in": {
"scale": KB,
"name": "if_in_octets",
},
"out": {
"scale": KB,
"name": "if_out_octets",
}
}

0 comments on commit a55cb3a

Please sign in to comment.