Skip to content

Commit 9c06539

Browse files
committed
build: upgraded to 3.3.0
1 parent a808d3b commit 9c06539

File tree

7 files changed

+24
-6
lines changed

7 files changed

+24
-6
lines changed

.github/workflows/mamonsu-tests-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
5858
id: zabbix_address
5959
- name: Edit Zabbix address in agent.conf
60-
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.2.1.conf
60+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.3.0.conf
6161

6262
- name: Copy test scripts to container
6363
run: docker exec $( echo "${{ matrix.docker_os }}" | sed 's/://' | sed 's/\.//' ) mkdir -p -m 755 /mamonsu/

.github/workflows/mamonsu-tests-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
6262
id: zabbix_address
6363
- name: Edit Zabbix address in agent.conf
64-
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.2.1.conf
64+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.3.0.conf
6565

6666
- name: Copy test scripts to container
6767
run: docker exec $( echo "${{ matrix.docker_os }}" | sed 's/://' | sed 's/\.//' ) mkdir -p -m 755 /mamonsu/

github-actions-tests/mamonsu_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ "${OS%:*}" = "centos" ]; then
4545
chmod -R 777 /var/log/mamonsu/
4646
sudo mkdir -p /etc/mamonsu
4747
sudo touch /etc/mamonsu/agent.conf
48-
cat /mamonsu/github-actions-tests/sources/agent_3.2.1.conf > /etc/mamonsu/agent.conf
48+
cat /mamonsu/github-actions-tests/sources/agent_3.3.0.conf > /etc/mamonsu/agent.conf
4949
chmod -R 777 /etc/mamonsu/
5050
sudo yum -y install ./mamonsu*.rpm
5151
systemctl daemon-reload
@@ -74,7 +74,7 @@ elif [ "${OS%:*}" = "ubuntu" ]; then
7474
chmod -R 777 /var/log/mamonsu/
7575
sudo mkdir -p /etc/mamonsu
7676
sudo touch /etc/mamonsu/agent.conf
77-
cat /mamonsu/github-actions-tests/sources/agent_3.2.1.conf > /etc/mamonsu/agent.conf
77+
cat /mamonsu/github-actions-tests/sources/agent_3.3.0.conf > /etc/mamonsu/agent.conf
7878
chmod -R 777 /etc/mamonsu/
7979
sudo apt-get -y install ./mamonsu*.deb
8080
service mamonsu restart

packaging/debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
mamonsu (3.3.0-1) stable; urgency=low
2+
* fixed auxiliary extension schema search;
3+
* fixed WAL metrics definition for native Zabbix agent;
4+
* upgraded Autovacuum and Connection metrics for PG 10+: now it is evaluating using pg_stat_activity.backend_type which makes the calculation more accurate;
5+
* added new Other Connections metric for PG 10+ to count metrics like auxiliary extension backends;
6+
* added new configuration parameter to the [zabbix] section: timeout (in seconds);
7+
* fixed Plugin Errors metric time interval to fit default '60 seconds' value;
8+
* fixed Slave Replication Lag metric to exclude master server from calculation;
9+
110
mamonsu (3.2.1-1) stable; urgency=low
211
* fixed Non-active Replication Slots trigger syntax;
312
* upgraded Archive Queue Size and Archive Queue Length metrics to ignore non-standard WAL files (e.g. XXX.history);

packaging/rpm/SPECS/mamonsu.spec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: mamonsu
2-
Version: 3.2.1
2+
Version: 3.3.0
33
Release: 1%{?dist}
44
Summary: Monitoring agent for PostgreSQL
55
Group: Applications/Internet
@@ -70,6 +70,15 @@ chown mamonsu.mamonsu /var/log/mamonsu
7070
/sbin/chkconfig --del mamonsu
7171

7272
%changelog
73+
* Mon Jan 17 2022 Alexandra Kuznetsova <a.kuznetsova@postgrespro.ru> - 3.3.0-1
74+
- fixed auxiliary extension schema search;
75+
- fixed WAL metrics definition for native Zabbix agent;
76+
- upgraded Autovacuum and Connection metrics for PG 10+: now it is evaluating using pg_stat_activity.backend_type which makes the calculation more accurate;
77+
- added new Other Connections metric for PG 10+ to count metrics like auxiliary extension backends;
78+
- added new configuration parameter to the [zabbix] section: timeout (in seconds);
79+
- fixed Plugin Errors metric time interval to fit default '60 seconds' value;
80+
- fixed Slave Replication Lag metric to exclude master server from calculation;
81+
7382
* Mon Dec 13 2021 Alexandra Kuznetsova <a.kuznetsova@postgrespro.ru> - 3.2.1-1
7483
- fixed Non-active Replication Slots trigger syntax;
7584
- upgraded Archive Queue Size and Archive Queue Length metrics to ignore non-standard WAL files (e.g. XXX.history);

packaging/win/mamonsu.def.nsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
!define NAME Mamonsu
2-
!define VERSION 3.2.1
2+
!define VERSION 3.3.0
33
!define MAMONSU_REG_PATH "Software\PostgresPro\Mamonsu"
44
!define MAMONSU_REG_UNINSTALLER_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall"
55
!define EDB_REG "SOFTWARE\Postgresql"

0 commit comments

Comments
 (0)