Skip to content

Commit

Permalink
fixed p_ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ik_zelf committed Apr 1, 2019
1 parent cf3bbd3 commit e2420dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/zbxdb_checks/postgres/slave.9.cfg
Expand Up @@ -96,8 +96,10 @@ p_ts: with dbsizes as (
select * from dbsizes
union all
select 'db[filesize]', sum(ssize) from dbsizes where kkey like '%,filesize]'
and kkey not like 'p_ts[,pg_default,%'
union all
select 'db[usedbytes]', sum(ssize) from dbsizes where kkey like '%,usedbytes]'
and kkey not like 'p_ts[,pg_default,%'
instname: select 'zbxdb[connect,instance_name]', inet_server_addr()||':'||p.setting||':'|| d.setting
from pg_settings p, pg_settings d
where p.name = 'port'
Expand Down

0 comments on commit e2420dc

Please sign in to comment.