Re: [GENERAL] Server statistics monitoring?

2015-01-30 Thread John R Pierce

On 1/29/2015 2:12 PM, Israel Brewster wrote:
I'm working on setting up a new PostgreSQL database server, and would 
like to be able to monitor a number of statistics on it, such as:


number of connections
number of queries
query times
etc.

All these stats are easily available, either from the 
pg_stat_statements view (which I have enabled) and the like, or the 
log file (turn on log connects/disconnects), and I figured there would 
be a plethora of options available for monitoring these things. 
However, in searching around so far all I've found are a couple of 
hosted solutions. Granted, they look fairly nice, but we'd much prefer 
to keep this in-house.  Paid solutions are fine, as long as the cost 
is reasonable, but we do want full-control. Before I spend my time 
writing my own solution, is there anything out there that can make 
nice graphs of various postgresql metrics?


I would use Munin, along with the check_postgres.pl script from the 
Bucardo project.   check_postgres was developed for Nagios, but is quite 
easy to use with Munin.  you can monitor as many things as you like, the 
script has some great options like pre table bloat.




--
john r pierce  37N 122W
somewhere on the middle of the left coast



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] Server statistics monitoring?

2015-01-30 Thread Israel Brewster
On Jan 29, 2015, at 1:20 PM, Michael Heaney mhea...@jcvi.org wrote:

 On 1/29/2015 5:12 PM, Israel Brewster wrote:
 I'm working on setting up a new PostgreSQL database server, and would like 
 to be able to monitor a number of statistics on it, such as:
 
 number of connections
 number of queries
 query times
 etc.
 
 All these stats are easily available, either from the pg_stat_statements 
 view (which I have enabled) and the like, or the log file (turn on log 
 connects/disconnects), and I figured there would be a plethora of options 
 available for monitoring these things. However, in searching around so far 
 all I've found are a couple of hosted solutions. Granted, they look fairly 
 nice, but we'd much prefer to keep this in-house.  Paid solutions are fine, 
 as long as the cost is reasonable, but we do want full-control. Before I 
 spend my time writing my own solution, is there anything out there that can 
 make nice graphs of various postgresql metrics? Thanks.
 
 Take a look at PoWA:
 
   http://dalibo.github.io/powa/
 
 I've downloaded but haven't installed it yet, so can't give you any feedback 
 on its performance or usability.

Thanks. I'll give it a shot.

---
Israel Brewster
Systems Analyst II
Ravn Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7293
---

 
 --
 Michael Heaney
 JCVI
 



[GENERAL] Server statistics monitoring?

2015-01-29 Thread Israel Brewster
I'm working on setting up a new PostgreSQL database server, and would like to be able to monitor a number of statistics on it, such as:number of connectionsnumber of queriesquery timesetc.All these stats are easily available, either from the pg_stat_statements view (which I have enabled) and the like, or the log file (turn on log connects/disconnects), and I figured there would be a plethora of options available for monitoring these things. However, in searching around so far all I've found are a couple of hosted solutions. Granted, they look fairly nice, but we'd much prefer to keep this in-house. Paid solutions are fine, as long as the cost is reasonable, but we do want full-control. Before I spend my time writing my own solution, is there anything out there that can make nice graphs of various postgresql metrics? Thanks.
---Israel BrewsterSystems Analyst IIRavn Alaska5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7293---BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD




Re: [GENERAL] Server statistics monitoring?

2015-01-29 Thread Michael Heaney

On 1/29/2015 5:12 PM, Israel Brewster wrote:
I'm working on setting up a new PostgreSQL database server, and would 
like to be able to monitor a number of statistics on it, such as:


number of connections
number of queries
query times
etc.

All these stats are easily available, either from the 
pg_stat_statements view (which I have enabled) and the like, or the 
log file (turn on log connects/disconnects), and I figured there would 
be a plethora of options available for monitoring these things. 
However, in searching around so far all I've found are a couple of 
hosted solutions. Granted, they look fairly nice, but we'd much prefer 
to keep this in-house.  Paid solutions are fine, as long as the cost 
is reasonable, but we do want full-control. Before I spend my time 
writing my own solution, is there anything out there that can make 
nice graphs of various postgresql metrics? Thanks.


Take a look at PoWA:

  http://dalibo.github.io/powa/

I've downloaded but haven't installed it yet, so can't give you any 
feedback on its performance or usability.


--
Michael Heaney
JCVI