-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
ombi.py fails when attempting to update influxdb #9
Comments
This was actually the first script of yours that I had tried. Upon further inspection, it appears that the same thing happens with sonarr, radarr and tautulli. It makes me thing there is something wrong with my configuration.py, or maybe I've missed something silly in the fundamentals. It looks like the py scripts gather information from the respective app and then push that to grafana where it is supposed to end up in influxdb. Is that how it's supposed to work? I don't have much experience with grafana or influxdb. I was expecting the post to go directly towards the influxdb interface, but there is no way for your scripts to know this information since it is not in configuration.py. |
And that was it. All of the settings in configuration.py that refer to the grafana instance are actually supposed to be representative of the influxdb instance. I changed the username to the influxdb username I configured, the url to the IP address of my influxdb server and the port to the influxdb port. It was also a requirement to make sure that the name of the influxdb datasource in grafana was actually called "plex." I like answering my own questions sometimes, thanks for your time :) |
Been in hawaii for 2 weeks. Glad you figured it out haha. |
Here is the relevant traceback:
When the HTML doc from the traceback is rendered, this is all that is there... but the rest of the json is in the source of the page:
I've walked through this but I'm stuck. I get to line 271 in client.py which is complaining about a response code of 404 from a request ( response = self._session.request ) where url = {str} 'http://192.168.1.70:3000/write' This is the correct IP and port for my Grafana intance.
I think it's trying to tell me that it cannot find anything at that URL, however I have the DB configured in grafana and testing the connection works. I can also connect to the influxdb database plex via the influxdb studio windows application.
The text was updated successfully, but these errors were encountered: