Nutanix check KeyError: severity

Hallo
wir wollen unsere Nunatix Umgebung per
cmk 2.0.0p28ee checken

nach der Installation des MKP
nutanix_prism-2.3.mkp

haben wir die API User regeln konfiguriert aber es kommt nur folgende Error ausgabe

Funktion Hostname

Prism Elemets clusterprismelements
Controller VM node01
Controller VM node02
Controller VM node03



2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log] Traceback (most recent call last):
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/bin/cmk", line 92, in <module>
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     exit_status = modes.call(mode_name, mode_args, opts, args)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/modes/__init__.py", line 69, in call
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     return handler(*handler_args)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/modes/cee.py", line 246, in mode_checker
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     checker.do_checker()
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/cee/keepalive/checker.py", line 34, in do_checker
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     _base.do_keepalive(serial=LATEST_SERIAL, executor_cls=CheckerExecutor)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/cee/keepalive/_base.py", line 167, in do_keepalive
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     status = executor(observer)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/cee/keepalive/checker.py", line 189, in __call__
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     return self._process_fetch_entry(results)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/cee/keepalive/checker.py", line 171, in _process_fetch_
entry
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     return checking.do_check(
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/decorator.py", line 37, in wrapped_check_func
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     status, infotexts, long_infotexts, perfdata = check_func(hostname, *args, **kwargs)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 212, in do_check
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     num_success, plugins_missing_data = _do_all_checks_on_host(
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 343, in _do_all_checks_on_host
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     success = execute_check(
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 486, in execute_check
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     submit, data_received, result = get_aggregated_result(
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 564, in get_aggregated_result
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     result = _aggregate_results(check_function(**kwargs))
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 796, in _aggregate_results
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     perfdata, results = _consume_and_dispatch_result_types(subresults)
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/checking.py", line 840, in _consume_and_dispatch_result_types
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     for subr in subresults:
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 89, in filtered_generator
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     for element in generator(*args, **kwargs):
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/lib/python3/cmk/base/api/agent_based/register/check_plugins_legacy.py", line 183, in check_result_generator
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     for subresult in subresults:
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/share/check_mk/checks/prism_alerts", line 68, in check_prism_alerts
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     immediate_alert = max(valid_alerts, key=lambda x: (severity(x['severity'])[0], x['timestamp']))
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]   File "/omd/sites/lan/share/check_mk/checks/prism_alerts", line 68, in <lambda>
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log]     immediate_alert = max(valid_alerts, key=lambda x: (severity(x['severity'])[0], x['timestamp']))
2022-07-29 11:30:04 [4] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] [log] KeyError: 'severity'
2022-07-29 11:30:05 [2] [checker pool] [service "clusterprismelements;Check_MK"] [helper 2789323] cannot read response: Resource temporarily unavailable
2022-07-29 11:30:05 [4] [checker pool] [helper 2789323] closed error pipe




wenn man die Spacial agent auf der console aufruft


OMD[lan]:/opt/omd/versions/2.0.0p27.cee/share/check_mk/agents/special$ host clusterprismelements
clusterprismelements has address 192.168.1.10
OMD[lan]:/opt/omd/versions/2.0.0p27.cee/share/check_mk/agents/special$ ./agent_prism --debug --verbose --server clusterprismelements --port 9440 --username monitoring --password "topsecret"
INFO 2022-07-29 11:51:33 root: running file /omd/sites/lan/lib/python3/cmk/special_agents/utils/agent_common.py
INFO 2022-07-29 11:51:33 root: using Python interpreter v3.8.7.final.0 at /omd/sites/lan/bin/python3
INFO 2022-07-29 11:51:33 agent_prism: setup HTTPS connection..
INFO 2022-07-29 11:51:33 agent_prism: fetch and write container info..
<<<prism_containers:sep(124)>>>
name|usage|capacity
SelfServiceContainer|96820133888|5642433810432
iso-container|90525696|214748364800
dedupe-VDI|489989064704|6035602741248
default-container-35733344297448|207299979264|5752913655808
NutanixManagementShare|32844345344|5578458021888
INFO 2022-07-29 11:51:33 agent_prism: fetch and write alerts..
<<<prism_alerts:sep(0)>>>
["timestamp", "severity", "message", "context"]
[1656579827212707, "kInfo", "It is recommended that NGT on the VM MCS_RDSH2016_Template with uuid 633d64f9-d9fb-4219-925f-21cb0a15d0ad should be upgraded to the latest version supported by the cluster.NGT update contains bug fixes and improvements, which will improve the overall product experience.", {}]
[1656579827160842, "kInfo", "It is recommended that NGT on the VM MCS_RDSH2019_Template with uuid 597c1d6a-b6d9-4457-ade3-0412a0e9e54f should be upgraded to the latest version supported by the cluster.NGT update contains bug fixes and improvements, which will improve the overall product experience.", {}]
[1656579827111694, "kInfo", "It is recommended that NGT on the VM XNTSVM02 with uuid e7564dc2-5c8a-4259-ae58-78aa9927f2eb should be upgraded to the latest version supported by the cluster.NGT update contains bug fixes and improvements, which will improve the overall product experience.", {}]
INFO 2022-07-29 11:51:33 agent_prism: fetch and write cluster info..
<<<prism_info:sep(124)>>>
name|version
clusterprismelements|6.1.1.5
INFO 2022-07-29 11:51:33 agent_prism: fetch and write storage_pools..
<<<prism_storage_pools:sep(124)>>>
name|usage|capacity
default-storage-pool-35733344297448|1665672241152|12745315450880
INFO 2022-07-29 11:51:33 agent_prism: all done. bye.



Kann mir jemand helfen

Gruß
Reinhard