/[cricket]/pg_size/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

Annotation of /pg_size/Default

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Aug 10 11:55:08 2003 UTC (20 years, 8 months ago) by dpavlin
Branch: MAIN
new monitor for number of tupels in PostgreSQL database

1 dpavlin 1.1 Target --default--
2     directory-desc = "PostgreSQL"
3     rrd-datafile = %dataDir%/%auto-target-name%-size.rrd
4     target-type = pg_size
5     pg_user = postgresql
6     pg_pass = ""
7    
8     # change this for your configuration
9     parse-script = "/data/cricket/parse_pg_size.pl %auto-target-name% %pg_user% %pg_pass%"
10    
11     datasource --default--
12     rrd-ds-type = DERIVE
13     rrd-min = 0
14     rrd-heartbeat = 1800
15     precision = integer
16    
17     datasource tup"
18     ds-source = "exec:0:%parse-script%"
19    
20     targetType pg_stat
21     ds = "tup"
22     view = "Size: tup"
23    
24     # which host to connect to? (it will use template1 database)
25     #target hostname.domain
26     # user pg_username
27     # pass pg_password

  ViewVC Help
Powered by ViewVC 1.1.26