On Fri, Sep 28, 2012 at 3:27 PM, Ryan Landry <
ryan....@gmail.com> wrote:
> It looks like I got it working. esdbd seems to call newdb in some manner.
Yes, newdb.py is really not so new anymore and should get renamed to
reflect that it is the current main database layer for ESxSNMP. This
is getting cleaned up in the mongodb-integration branch.
> Running newdb directly didn't work unless i changed postgres to postgresql
> in the config file, but then i had problems beyond that getting any of the
> uri structure to work properly.
Hmm, the name change from postgres to postgresql sounds like it might
be due to a newer version of sqlalchemy. I have sqlalchemy 0.7.3
installed on my production instance. What version do you have
installed?
> So, i changed it back, and ran esdbd, which successfully exposes tsdb for me. Success!
OK. Glad to hear it is working. I'm not sure I follow what you did
to make it work. You are able to get get data via the REST API now?
In my deployment I am running esdb using mod_wsgi in Apache. I have
attached an excerpt from my Apache config and the corresponding
esdb_wsgi script. You'll need to adjust paths to reflect where you
have things installed. You don't necessarily need the exact same
versions of the packages shown in esdb_wsgi script.
Let me know if that helps or leads to more questions.
I'm working on packaging up the stuff I'm using to connect ESxSNMP to
Graphite and hopefully I can send it out later tonight.
Jon