Cacti and PostgreSQL

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hahnn
Posts: 34
Joined: Tue Feb 03, 2009 5:46 am
Location: Luxembourg
Contact:

Cacti and PostgreSQL

Post by hahnn »

Hi,

Please find my first attempt to provide a SQL schema of the cacti database for PostgreSQL (v 9.4.x).

If you want to create a PostgreSQL DB with this schema, you have to create a cacti user and a cacti database before to make PSQL read this file to init the DB (because all tables in the file have cacti user as owner).

My next step now would be to investigate cacti source code to update it (if I can...) for use with PostgreSQL instead of MySQL :p

if some of you guys are interested...

Cheers
Attachments
cacti.pgsql.tar.gz
Cacti SQL schema for PostgreSQL v 9.4.x
(35.25 KiB) Downloaded 119 times
Last edited by hahnn on Mon Feb 22, 2016 3:24 pm, edited 1 time in total.
hahnn
Posts: 34
Joined: Tue Feb 03, 2009 5:46 am
Location: Luxembourg
Contact:

Re: Cacti and PostgreSQL

Post by hahnn »

OK. I see Cacti is using ADODB for database interface. But it's a very old version from 2004 :-/

I've updated it with latest prod version of ADODB (v5.20.3), and I'm currently in the process of reviewing every SQL request to adapt them to PostgreSQL...

I've already a PostgreSQL "Cacti" running at home :)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests