/[cricket]/pg_stat/Default
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /pg_stat/Default

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Sep 13 16:26:53 2002 UTC (21 years, 7 months ago) by dpavlin
Branch: MAIN
first version of module for PostgreSQL performance monitoring

1 Target --default--
2 rrd-datafile = %dataDir%/%auto-target-name%.rrd
3 target-type = pg_stat
4
5 # change this for your configuration
6 parse-script = "/data/cricket/parse_pg_stat.pl %auto-target-name%"
7
8 datasource --default--
9 rrd-ds-type = DERIVE
10 rrd-min = 0
11 rrd-heartbeat = 1800
12 precision = integer
13
14 datasource numbackends
15 ds-source = "exec:0:%parse-script%"
16 datasource xact_commit
17 ds-source = "exec:1:%parse-script%"
18 datasource xact_rollback
19 ds-source = "exec:2:%parse-script%"
20 datasource blks_read
21 ds-source = "exec:3:%parse-script%"
22 datasource blks_hit
23 ds-source = "exec:4:%parse-script%"
24
25 targetType pg_stat
26 ds = "numbackends, xact_commit, xact_rollback, blks_read, blks_hit"
27 view = "Transactions: numbackends xact_commit xact_rollback,
28 Disk: blks_read blks_hit"
29
30
31 # which host to connect to? (it will use template1 database)
32 #target hostname.domain

  ViewVC Help
Powered by ViewVC 1.1.26