enix / hpmsa_exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for HP MSA storage SAN
Home Page: https://enix.io
License: MIT License
Prometheus exporter for HP MSA storage SAN
Home Page: https://enix.io
License: MIT License
Hello,
It would be nice to add the metrics units in the Readme and also maybe in the HELP section of the result page.
Hello,
After around a week of use the exporter shows an "Unauthorized" error when trying to scrape the API. Nothing has changed since deployment and it doesn't look like there's some blacklist. The user has had "Monitoring" rights all the time and can get logged through SMU.
ene 21 20:50:16 monitor2-co systemd[1]: Started HP MSA Exporter.
ene 21 20:50:17 monitor2-co msa_exporter.py[14119]: /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
ene 21 20:50:17 monitor2-co msa_exporter.py[14119]: InsecureRequestWarning)
ene 21 20:50:17 monitor2-co msa_exporter.py[14119]: /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
ene 21 20:50:17 monitor msa_exporter.py[14119]: InsecureRequestWarning)
ene 21 20:50:17 monitor msa_exporter.py[14119]: Traceback (most recent call last):
ene 21 20:50:17 monitor msa_exporter.py[14119]: File "/root/prometheus-monitoring/hpmsa_exporter/msa_exporter.py", line 856, in <module>
ene 21 20:50:17 monitor msa_exporter.py[14119]: scrap_msa(metrics_store, args.hostname, args.login, args.password)
ene 21 20:50:17 monitor msa_exporter.py[14119]: File "/root/prometheus-monitoring/hpmsa_exporter/msa_exporter.py", line 829, in scrap_msa
ene 21 20:50:17 monitor msa_exporter.py[14119]: response.raise_for_status()
ene 21 20:50:17 monitor msa_exporter.py[14119]: File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
ene 21 20:50:17 monitor msa_exporter.py[14119]: raise HTTPError(http_error_msg, response=self)
ene 21 20:50:17 monitor msa_exporter.py[14119]: requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://[REDACTED]/api/show/host-port-statistics
ene 21 20:50:17 monitor systemd[1]: hpmsa_exporter.service: main process exited, code=exited, status=1/FAILURE
ene 21 20:50:17 monitor systemd[1]: Unit hpmsa_exporter.service entered failed state.
ene 21 20:50:17 monitoo systemd[1]: hpmsa_exporter.service failed
This is being done on an MSA 2050.
Could you add subj possibility?
thanks in advance
HI
could you add the Prometheus configuration that you are using to connect to your service?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.