Skip to content

Commit cffe44c

Browse files
committed
build: updated to 3.1.0
1 parent e27ac96 commit cffe44c

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
@@ -51,7 +51,7 @@ jobs:
5151
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
5252
id: zabbix_address
5353
- name: Edit Zabbix address in agent.conf
54-
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.0.2.conf
54+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.1.0.conf
5555

5656
- name: Copy test scripts to container
5757
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
@@ -51,7 +51,7 @@ jobs:
5151
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
5252
id: zabbix_address
5353
- name: Edit Zabbix address in agent.conf
54-
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.0.2.conf
54+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.1.0.conf
5555

5656
- name: Copy test scripts to container
5757
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.0.2.conf > /etc/mamonsu/agent.conf
48+
cat /mamonsu/github-actions-tests/sources/agent_3.1.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.0.2.conf > /etc/mamonsu/agent.conf
77+
cat /mamonsu/github-actions-tests/sources/agent_3.1.0.conf > /etc/mamonsu/agent.conf
7878
chmod -R 777 /etc/mamonsu/
7979
sudo apt-get -y install ./mamonsu*.deb
8080
service mamonsu restart

mamonsu/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__author__ = 'Dmitry Vasilyev'
22
__author_email__ = '[email protected]'
33
__description__ = 'Monitoring agent for PostgreSQL'
4-
__version__ = '3.0.2'
4+
__version__ = '3.1.0'
55
__licence__ = 'BSD'
66

77
__url__ = 'https://github.com/postgrespro/mamonsu'

packaging/debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
mamonsu (3.1.0-1) stable; urgency=low
2+
* fixed unknown options check in mamonsu tools;
3+
* fixed item units with Speed Per Second delta;
4+
* fixed item Total Replication Lag delta evaluation;
5+
* fixed slave replication lag evaluation;
6+
* fixed Walreceiver Lag items name generation;
7+
* set 'dbname' bootstrap parameter required;
8+
* refactoring;
9+
110
mamonsu (3.0.2-1) stable; urgency=low
211
* fixed Archive Command bootstrap functions;
312
* fixed Archive Command plugin compability with PostgreSQL 9.6 and lower;

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.0.2
2+
Version: 3.1.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 Oct 18 2021 Alexandra Kuznetsova <[email protected]> - 3.1.0-1
74+
- fixed unknown options check in mamonsu tools;
75+
- fixed item units with Speed Per Second delta;
76+
- fixed item Total Replication Lag delta evaluation;
77+
- fixed slave replication lag evaluation;
78+
- fixed Walreceiver Lag items name generation;
79+
- set 'dbname' bootstrap parameter required;
80+
- refactoring;
81+
7382
* Mon Oct 11 2021 Alexandra Kuznetsova <[email protected]> - 3.0.2-1
7483
- fixed Archive Command bootstrap functions;
7584
- fixed Archive Command plugin compability with PostgreSQL 9.6 and lower;

0 commit comments

Comments
 (0)