-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporter not working on UPS Firmware 2.0.5 #23
Comments
If you can, please provide the console output (the error trace) of the exporter when used on UPS Firmware 2.0.5. Ideally, it would be good to have a dump of the new HTML as well. There is no immediate need for us to upgrade our firmware, so it may take a while before we get to addressing this. If someone wants to help make this happen, I'm happy to review a PR. |
There seems to be some bigger changes to the JSON response between different firmware versions. I've made a version that works with firmware 3.1.8. I did not spend the effort to check for firmware version to differentiate the expected output from the rest api. @nhjjr cheers for putting this on Github - thanks! @Randommmm ping |
Thanks for the pings, keen to help out with this. Command Used: python3 prometheus_eaton_ups_exporter.py -c config_ups2.json -k --verbose -w 127.0.0.1:9955
Contents of config_ups2.json, used in this text example to break things with my normal muli-ups config.json file
I haven't had any luck scraping the web interface, I have a bit of experience with web scraping and wget, although even with the cookies file, the login still fails due to an unknown authentication method. Might need some assistance with that one. |
Sorry I am just reading this conversation now, originally I created this project but now I am busy with other stuff. |
Originally posted by @Randommmm in #22 (comment)
The text was updated successfully, but these errors were encountered: