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):
7171 size = - 1
7272 elif pg_total_relation_size == - 1 or pg_total_relation_size_part == - 1 :
7373 self .log .error (
74- "The relation: {full_name_relation} is lock . "
74+ "The relation: {full_name_relation} is locked . "
7575 "You can find this lock in query: "
7676 "SELECT relation::regclass AS lock_relation, mode FROM pg_locks WHERE relation::regclass = 'pg_locks'::regclass;" .format (full_name_relation = full_name_relation ))
7777 size = - 1
Original file line number Diff line number Diff line change @@ -167,12 +167,12 @@ interval = 2
167167[agentapi]
168168interval = 60
169169
170- # Metrics with sizes of relations.
170+ # Get size of relations defined in this section
171171# Relations - comma separated list of objects - tables and endexes (schema.relation) to calculate relations size.
172172# 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 .
176176[relationssize]
177177enabled = False
178178relations=pg_catalog.pg_class,pg_catalog.pg_user
You can’t perform that action at this time.
0 commit comments