This file is indexed.

/etc/xymon/graphs.d/postgres.cfg is in hobbit-plugins 20170628.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[postgres]
	FNPATTERN postgres,(.*).rrd
	TITLE PostgreSQL connections
	YAXIS Connections
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pgtbl]
	FNPATTERN pgtbl,(.*).rrd
	TITLE PostgreSQL table activity
	YAXIS Rows
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pgtpl]
	FNPATTERN pgtpl,(.*).rrd
	TITLE PostgreSQL tuples activity
	YAXIS Tuples
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pgscn]
	FNPATTERN pgscn,(.*).rrd
	TITLE PostgreSQL scan activity
	YAXIS Scans
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pgblk]
	FNPATTERN pgblk,(.*).rrd
	TITLE PostgreSQL cache block activity
	YAXIS Blocks
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pgxlg]
	FNPATTERN pgxlg,(.*).rrd
	TITLE PostgreSQL xlog activity
	YAXIS Transactions
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[pglck]
	FNPATTERN pglck,(.*).rrd
	TITLE PostgreSQL locks
	YAXIS Locks
	DEF:p@RRDIDX@=@RRDFN@:lambda:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n