Hi,
I´m looking to find a way to connect to a external postgressql db, read values and graph it (switch port performances). The problem is we can´t use SNMP to do this, but we have a switch managament tool based on postgres that comunicate with the switches.
Anyone has an idea how to to this?
Cheers,
-Jarno
how to data query a external postgressql db
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: how to data query a external postgressql db
Create a script pulling the data out of the db and have it graph/transfer to Cacti,
http://www.php.net/manual/en/pgsql.examples-basic.php
http://www.php.net/manual/en/pgsql.examples-basic.php
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: how to data query a external postgressql db
do you have something ready to install in Cacti (host template, data query, etc)? I´m not a scripter, but can adapt it.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: how to data query a external postgressql db
Unfortunately not. I do have created a template for a customer which reads data from a mysql table and presents it within Cacti, but nothing for postgresql
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: how to data query a external postgressql db
Hi,
I think this could be a starting point for me to understand the technique to use and to adapt it to postgresql. Could you share your template?
I think this could be a starting point for me to understand the technique to use and to adapt it to postgresql. Could you share your template?
Who is online
Users browsing this forum: No registered users and 0 guests