File tree 2 files changed +16
-1
lines changed
cmk/base/plugins/agent_based
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ Title: sap_hana_status: Always discover the Status service
2
+ Class: fix
3
+ Compatible: compat
4
+ Component: checks
5
+ Date: 1742555639
6
+ Edition: cre
7
+ Level: 1
8
+ Version: 2.2.0p41
9
+
10
+ The service "SAP HANA Status <instance>" was not always discovered.
11
+ This would lead to cases where the service was not discovered while
12
+ OK, but only once it turned into a CRIT state.
13
+ We now always discover it.
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ def parse_sap_hana_status(string_table: StringTable) -> sap_hana.ParsedSection:
34
34
"instance" : sid_instance ,
35
35
"version" : line [2 ],
36
36
}
37
- section ["%s %s" % (item_name , sid_instance )] = item_data
37
+ # always discover "Status", even if we don't have an error now
38
+ section [f"Status { sid_instance } " ] = item_data
39
+ section [f"{ item_name } { sid_instance } " ] = item_data
38
40
39
41
return section
40
42
You can’t perform that action at this time.
0 commit comments