Hi
i’ve got this issue with hpe devices.
any suggestion?
Thanks ;
**CMK version:2.2.0P18
**OS version:RHEL 7.9
**Error message:ent exited with code 1: Traceback (most recent call last):
File “/omd/sites/production/local/share/check_mk/agents/special/agent_hpe_oneview”, line 160, in
api_calls(args.hostname, token, args.api)
File “/omd/sites/production/local/share/check_mk/agents/special/agent_hpe_oneview”, line 151, in api_calls
count = len(result[“members”])
KeyError: 'members'
**Output of “cmk --debug -vvn hostname”:** (If it is a problem with checks or plugins)
MD[pxxx]:~$ cmk --debug -vvn xxxxxx
Checkmk version 2.2.0p18
+ FETCHING DATA
Source: SourceInfo(hostname='xxxxxx', ipaddress='xxxxxxx', ident='special_hpe_oneview', fetcher_type=<FetcherType.SPECIAL_AGENT: 6>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f38b29e23d0]
Read from cache: AgentFileCache(elrlnxovw01, path_template=/omd/sites/production/tmp/check_mk/data_source_cache/special_hpe_oneview/{hostname}, max_age=MaxAge(checking=0, discovery=450.0, inventory=450.0), simulation=False, use_only_cache=False, file_cache_mode=6)
Not using cache (does not exist)
[ProgramFetcher] Execute data source
Calling: /omd/sites/production/local/share/check_mk/agents/special/agent_hpe_oneview -H xxxxxx -u xxxxxx -p 'xxxxxxxxx' -a 4600
[cpu_tracking] Stop [7f38b29e23d0 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.15, children_system=0.02, elapsed=0.26999999955296516))]
Source: SourceInfo(hostname='elrlnxovw01', ipaddress='xxxxxxx', ident='piggyback', fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f38b2a02810]
Read from cache: NoCache(xxxxxxxxx, path_template=/dev/null, max_age=MaxAge(checking=0.0, discovery=0.0, inventory=0.0), simulation=False, use_only_cache=False, file_cache_mode=1)
[PiggybackFetcher] Execute data source
No piggyback files for 'xxxxx'. Skip processing.
No piggyback files for 'xxxxx9'. Skip processing.
[cpu_tracking] Stop [7f38b2a02810 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
+ PARSE FETCHER RESULTS
HostKey(hostname='hostxxxxx', source_type=<SourceType.HOST: 1>) -> Not adding sections: Agent exited with code 1: Traceback (most recent call last):
File "/omd/sites/xxx/local/share/check_mk/agents/special/agent_hpe_oneview", line 160, in <module>
api_calls(args.hostname, token, args.api)
File "/omd/sites/xx/local/share/check_mk/agents/special/agent_hpe_oneview", line 151, in api_calls
count = len(result["members"])
~~~~~~^^^^^^^^^^^
KeyError: 'members'
HostKey(hostname='xxxxxxx', source_type=<SourceType.HOST: 1>) -> Add sections: []
Received no piggyback data
[cpu_tracking] Start [7f38b2a0c090]
value store: synchronizing
Trying to acquire lock on /omd/sites/pxxxxx/tmp/check_mk/counters/xxxxxx
Got lock on /omd/sites/xxxxx/tmp/check_mk/counters/xxxxxx
value store: loading from disk
Releasing lock on /omd/sites/xxxx/tmp/check_mk/counters/xxxx
Released lock on /omd/sites/xxx/tmp/check_mk/counters/xxxx
No piggyback files for 'exxx'. Skip processing.
No piggyback files for 'xxxx9'. Skip processing.
[cpu_tracking] Stop [7f38b2a0c090 - Snapshot(process=posix.times_result(user=0.010000000000000009, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
[special_hpe_oneview] KeyError: 'members'(!!), [piggyback] Success (but no data found for this host), execution time 0.3 sec | execution_time=0.270 user_time=0.010 system_time=0.000 children_user_time=0.150 children_system_time=0.020 cmk_time_ds=0.100 cmk_time_agent=0.000
Agent exited with code 1: Traceback (most recent call last):
File "/omd/sites/production/local/share/check_mk/agents/special/agent_hpe_oneview", line 160, in <module>
api_calls(args.hostname, token, args.api)
File "/omd/sites/production/local/share/check_mk/agents/special/agent_hpe_oneview", line 151, in api_calls
count = len(result["members"])
~~~~~~^^^^^^^^^^^
KeyError: 'members'(!!)
