Skip to content

Commit e5a68fb

Browse files
committed
Merge branch 'dev'
2 parents 29c5de2 + 20b3a28 commit e5a68fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

github-actions-tests/tools/zabbix_cli.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ echo && echo "------> mamonsu zabbix hostgroup delete"
111111
HOSTGROUP_ID=$( mamonsu zabbix $OPTIONS hostgroup id "Test servers" )
112112
mamonsu zabbix $OPTIONS hostgroup delete ${HOSTGROUP_ID} | grep "groupids.*${HOSTGROUP_ID}" || exit 11
113113

114+
# test 'mamonsu dashboard'
115+
echo && echo "------> mamonsu zabbix dashboard upload"
116+
mamonsu zabbix $OPTIONS dashboard upload "Mamonsu PostgreSQL" | grep "True\|Mamonsu dashboard" || exit 11
117+
114118
# test 'mamonsu template'
115119
echo && echo "------> mamonsu zabbix template list"
116120
mamonsu zabbix $OPTIONS template list | grep "Mamonsu PostgreSQL" || exit 11
@@ -128,8 +132,4 @@ TEMPLATE_ID=$( mamonsu zabbix $OPTIONS template id "mamonsu-zabbix" )
128132
mamonsu zabbix $OPTIONS template delete ${TEMPLATE_ID} | grep "templateids.*${TEMPLATE_ID}" || exit 11
129133
rm -rf template.xml
130134

131-
# test 'mamonsu dashboard'
132-
echo && echo "------> mamonsu zabbix dashboard upload"
133-
mamonsu zabbix $OPTIONS dashboard upload "Mamonsu PostgreSQL" | grep "True\|Mamonsu dashboard" || exit 11
134-
135135
exit 0

0 commit comments

Comments
 (0)