Hi!
I want to add HP MSA 2040 to zabbix. https://github.com/asand3r/zbx-hpmsa...storage-models
Unfortunately, I have a problem. If I choose a template without ssl I have the following result:
Traceback (most recent call last):
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 673, in <module>
skey = get_skey(MSA_CONNECT, CRED_HASH)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 169, in get_skey
return get_skey(msa, hashed_login, use_cache=False)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 174, in get_skey
ret_code, sessionkey, xml = query_xmlapi(url=url, sessionkey=None)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 259, in query_xmlapi
response_xml = eTree.fromstring(response.content)
File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49
If the template with SSL, the result is:
ERROR: Cannot verify storage SSL Certificate.
As for the certificate, I understand that I should simply download it from my storage?
I want to add HP MSA 2040 to zabbix. https://github.com/asand3r/zbx-hpmsa...storage-models
Unfortunately, I have a problem. If I choose a template without ssl I have the following result:
Traceback (most recent call last):
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 673, in <module>
skey = get_skey(MSA_CONNECT, CRED_HASH)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 169, in get_skey
return get_skey(msa, hashed_login, use_cache=False)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 174, in get_skey
ret_code, sessionkey, xml = query_xmlapi(url=url, sessionkey=None)
File "/usr/share/zabbix/externalscripts/zbx-hpmsa.py", line 259, in query_xmlapi
response_xml = eTree.fromstring(response.content)
File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49
If the template with SSL, the result is:
ERROR: Cannot verify storage SSL Certificate.
As for the certificate, I understand that I should simply download it from my storage?
Comment