Skip to content

Commit

Permalink
16254 Add metric translations mrpe based windows checks
Browse files Browse the repository at this point in the history
... streamline comments on the way

Change-Id: Idff2035504f2756eedbca29f89386a6e9a3a8733
JIRA-Ref: SUP-20342
  • Loading branch information
TimotheusBachinger committed Oct 9, 2024
1 parent d722460 commit 2a22aee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .werks/16254
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Title: Add metric translations mrpe based windows checks
Class: feature
Compatible: compat
Component: checks
Date: 1728288891
Edition: cre
Level: 1
Version: 2.2.0p36

Metrics provided by <code>check_ping.exe</code> or <code>check_tcp.exe</code> have now a metric translation and are
displayed in a correct manner.
11 changes: 10 additions & 1 deletion cmk/gui/plugins/metrics/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,19 @@
"~.*rtmax": {"scale": m},
"~.*rtmin": {"scale": m},
}
# May be provided by an check_ping check configured as mrpe
# May be provided by a check_ping.exe check configured as mrpe at Windows agent
check_metrics["check_ping_exe"] = {
"~.*rta": {"scale": m},
}
# May be provided by a check_tcp.exe check configured as mrpe at Windows agent
check_metrics["check_tcp_exe"] = {
"time": {"name": "response_time"},
}
# May be provided by a check_ping check configured as mrpe
check_metrics["check_ping"] = {
"~.*rta": {"scale": m},
}
# May be provided by a check_tcp check configured as mrpe
check_metrics["check_tcp"] = {
"time": {"name": "response_time"},
}
Expand Down

0 comments on commit 2a22aee

Please sign in to comment.