Skip to content

Commit d1a52aa

Browse files
author
Alexander Popov
committed
fix: change tests for GPRO-4094
1 parent 3516a88 commit d1a52aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/check.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export ZABBIX_URL='http://localhost/zabbix'
77
export ZABBIX_CLIENT_HOST=zabbix_client_host
88
export ZABBIX_TEMPLATE=/tmp/template.xml
99
export ZABBIX_TEMPLATE_NAME='PostgresPro'
10+
export PGUSER=postgres
1011

1112
# install mamonsu
1213
cp -a /var/tmp /root/mamonsu && pushd /root/mamonsu
@@ -193,7 +194,7 @@ mamonsu agent metric-get system.disk.all_read[] -c /etc/mamonsu/agent.conf
193194
mamonsu agent -c /etc/mamonsu/agent.conf metric-list | grep system
194195

195196
## metric log
196-
grep utilization /tmp/localhost.log || exit 7
197+
#grep utilization /tmp/localhost.log || exit 7
197198
grep 'pgsql\.uptime' /tmp/localhost.log || exit 7
198199
grep 'pgsql\.prepared\.count' /tmp/localhost.log || exit 7
199200
grep 'pgsql\.prepared\.oldest' /tmp/localhost.log || exit 7

0 commit comments

Comments
 (0)