File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def run(self, zbx):
71
71
size = - 1
72
72
elif pg_total_relation_size == - 1 or pg_total_relation_size_part == - 1 :
73
73
self .log .error (
74
- "The relation: {full_name_relation} is lock . "
74
+ "The relation: {full_name_relation} is locked . "
75
75
"You can find this lock in query: "
76
76
"SELECT relation::regclass AS lock_relation, mode FROM pg_locks WHERE relation::regclass = 'pg_locks'::regclass;" .format (full_name_relation = full_name_relation ))
77
77
size = - 1
Original file line number Diff line number Diff line change @@ -167,12 +167,12 @@ interval = 2
167
167
[agentapi]
168
168
interval = 60
169
169
170
- # Metrics with sizes of relations.
170
+ # Get size of relations defined in this section
171
171
# Relations - comma separated list of objects - tables and endexes (schema.relation) to calculate relations size.
172
172
# Example:
173
- # relations=" pg_catalog.pg_class,pg_catalog.pg_user"
174
- # If the ralation is block some operation lile vacuum full or create index, the result will be -1
175
- # by default this plagin disabled. To enable this plagin - write bellow enabled = False and define list or relation for count size .
173
+ # relations=pg_catalog.pg_class,pg_catalog.pg_user
174
+ # If the relation is blocked by some process such as vacuum full or create index, the result will be -1
175
+ # by default this plugin disabled. To enable this plugin - set bellow " enabled = False" and define a list of relations .
176
176
[relationssize]
177
177
enabled = False
178
178
relations=pg_catalog.pg_class,pg_catalog.pg_user
You can’t perform that action at this time.
0 commit comments