/[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.2 - (hide annotations)
Sun Aug 10 14:22:30 2003 UTC (20 years, 8 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +12 -7 lines
fixes, nicer output and lables

1 dpavlin 1.1 Target --default--
2 dpavlin 1.2 directory-desc = "PostgreSQL database size in tuples"
3     rrd-datafile = %dataDir%/%auto-target-name%.rrd
4 dpavlin 1.1 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 dpavlin 1.2 rrd-ds-type = GAUGE
13 dpavlin 1.1 rrd-min = 0
14     rrd-heartbeat = 1800
15     precision = integer
16    
17 dpavlin 1.2 datasource tuples
18 dpavlin 1.1 ds-source = "exec:0:%parse-script%"
19    
20 dpavlin 1.2 graph tuples
21     draw-as = AREA
22     y-axis = "tuples"
23     units = "tuples"
24    
25     targetType pg_size
26     ds = "tuples"
27     view = "Size: tuples"
28 dpavlin 1.1
29     # which host to connect to? (it will use template1 database)
30     #target hostname.domain
31     # user pg_username
32     # pass pg_password

  ViewVC Help
Powered by ViewVC 1.1.26