Skip to content

Commit f4cc989

Browse files
committed
Merge branch 'dev'
2 parents 07e31ed + 70105c0 commit f4cc989

File tree

9 files changed

+22
-10
lines changed

9 files changed

+22
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
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.5.2.conf
64+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.3.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/workflows/mamonsu-tests-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
6666
id: zabbix_address
6767
- name: Edit Zabbix address in agent.conf
68-
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.2.conf
68+
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.3.conf
6969

7070
- name: Copy test scripts to container
7171
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
@@ -41,7 +41,7 @@ if [ "${OS%:*}" = "centos" ]; then
4141
python3 setup.py build && python3 setup.py install
4242
make rpm
4343
sudo rpm -i ./mamonsu*.rpm
44-
cat /mamonsu/github-actions-tests/sources/agent_3.5.2.conf > /etc/mamonsu/agent.conf
44+
cat /mamonsu/github-actions-tests/sources/agent_3.5.3.conf > /etc/mamonsu/agent.conf
4545
systemctl daemon-reload
4646
systemctl restart mamonsu
4747
sleep 5
@@ -64,7 +64,7 @@ elif [ "${OS%:*}" = "ubuntu" ]; then
6464
python3 setup.py build && python3 setup.py install
6565
make deb
6666
sudo dpkg -i ./mamonsu*.deb
67-
cat /mamonsu/github-actions-tests/sources/agent_3.5.2.conf > /etc/mamonsu/agent.conf
67+
cat /mamonsu/github-actions-tests/sources/agent_3.5.3.conf > /etc/mamonsu/agent.conf
6868
service mamonsu restart
6969
sleep 5
7070
echo && echo && echo "mamonsu version:"

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__ = 'info@postgrespro.ru'
33
__description__ = 'Monitoring agent for PostgreSQL'
4-
__version__ = '3.5.2'
4+
__version__ = '3.5.3'
55
__licence__ = 'BSD'
66

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

packaging/conf/example_linux.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ max_size_mb = 1024
6666
# specify logging settings for mamonsu
6767

6868
[log]
69-
file = None
70-
level = INFO
69+
file = /var/log/mamonsu/mamonsu.log
70+
level = DEBUG
7171
format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
7272

7373
######### Individual Plugin Sections ############
@@ -207,4 +207,4 @@ interval = 60
207207
interval = 2
208208

209209
[zbxsender]
210-
interval = 10
210+
interval = 10

packaging/debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
mamonsu (3.5.3-1) stable; urgency=low
2+
* removed the owner check for the mamonsu agent.conf file (previously this was not flexible and only required the user "mamonsu");
3+
* removed metrics that conflict with the native Zabbix agent metrics (only in agent mode, in regular mode it works as usual);
4+
* added pg_stat_wal queries for native Zabbix agent;
5+
* fixed native Zabbix agent queries;
6+
17
mamonsu (3.5.2-1) stable; urgency=low
28
* fixed Statements plugin list of metrics creation;
39
* fixed Zabbix API requests to fit new Dashboard Template section rules;

packaging/rpm/SPECS/mamonsu.spec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: mamonsu
2-
Version: 3.5.2
2+
Version: 3.5.3
33
Release: 1%{?dist}
44
Summary: Monitoring agent for PostgreSQL
55
Group: Applications/Internet
@@ -73,6 +73,12 @@ chown -R mamonsu.mamonsu /var/log/mamonsu
7373
chown -R mamonsu.mamonsu /etc/mamonsu
7474

7575
%changelog
76+
* Thu Mar 16 2023 Alexandra Kuznetsova <a.kuznetsova@postgrespro.ru> - 3.5.3-1
77+
- removed the owner check for the mamonsu agent.conf file (previously this was not flexible and only required the user "mamonsu");
78+
- removed metrics that conflict with the native Zabbix agent metrics (only in agent mode, in regular mode it works as usual);
79+
- added pg_stat_wal queries for native Zabbix agent;
80+
- fixed native Zabbix agent queries;
81+
7682
* Tue Aug 16 2022 Alexandra Kuznetsova <a.kuznetsova@postgrespro.ru> - 3.5.2-1
7783
- fixed Statements plugin list of metrics creation;
7884
- fixed Zabbix API requests to fit new Dashboard Template section rules;

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.5.2
2+
!define VERSION 3.5.3
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy