PostgreSQL template for Cacti?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
cnuchris
Posts: 6
Joined: Wed Feb 07, 2007 6:51 pm

PostgreSQL template for Cacti?

Post by cnuchris »

After doing some searching here and elsewhere online, I haven't been able to find any templates for monitoring statistics generated from postgreSQL. Before going an writing my own, I just wanted to ask if anyone else has or has found any templates for monitoring a postgreSQL server?

I would have assumed someone had written some by now, but perhaps not.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hmm,

Google works better:

http://www.google.ca/search?hl=en&q=pos ... arch&meta=

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
cnuchris
Posts: 6
Joined: Wed Feb 07, 2007 6:51 pm

Post by cnuchris »

I've looked through google, through forums.cacti.net, through google searching forums.cacti.net, and have not found any templates for cacti to monitor a postgreSQL server. Is there something in the link you provided that has something related to this? In your link, the only results that come up are other requests for postgreSQL templates and requests for postgreSQL to be implemented as a backend to cacti (which is not what I'm looking for).

I just wanted to post to make sure no one had created any templates recently that I hadn't seen yet before I make the time investment to write them myself.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hmm, since I don't run it, I am not entirely qualified to speak to it. Once thing for sure is that I'm shocked no one has written one.

So the question becomes, how do you get status from postG? What are the commands and what format do they return as?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
dagonet
Cacti User
Posts: 90
Joined: Sat Oct 29, 2005 4:05 pm
Location: Wuerzburg

Post by dagonet »

Hi
this little peace of software should do it:
http://pgfoundry.org/projects/pgsnmpd/

a snmp agent for postgresql.

Dagonet
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

To build the templates, you wiould first need to post the MIB's for this. If you can find them, post them. If you have the energy, I will assist you in developing the templates.

You need to identify "what" is important, and then I will instruct you as to what to do.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
eggyknap
Posts: 2
Joined: Tue Jul 24, 2007 9:28 am

Post by eggyknap »

Right now pgsnmpd only supports RDBMS-MIB (defined in RFC 1697 and attached to this message). That MIB has some useful information, but not a lot, to be honest. Future versions of pgsnmpd should include a new PGSQL-MIB which will have loads of useful stuff, though exactly *what* useful stuff remains to be defined. Suggestions are welcome on pgsnmpd-devel AT pgfoundry DOT org.
Attachments
RDBMS-MIB.txt
RDBMS-MIB, RFC 1697
(56.36 KiB) Downloaded 350 times
eggyknap
Posts: 2
Joined: Tue Jul 24, 2007 9:28 am

Post by eggyknap »

I should also point out that pgsnmpd v 1.0 doesn't support some aspects of RDBMS-MIB, for such reasons as that bit just hasn't been written yet or that measurement doesn't make sense for PostgreSQL.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest