File tree 9 files changed +22
-10
lines changed
9 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 61
61
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
62
62
id : zabbix_address
63
63
- 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
65
65
66
66
- name : Copy test scripts to container
67
67
run : docker exec $( echo "${{ matrix.docker_os }}" | sed 's/://' | sed 's/\.//' ) mkdir -p -m 755 /mamonsu/
Original file line number Diff line number Diff line change 65
65
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
66
66
id : zabbix_address
67
67
- 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
69
69
70
70
- name : Copy test scripts to container
71
71
run : docker exec $( echo "${{ matrix.docker_os }}" | sed 's/://' | sed 's/\.//' ) mkdir -p -m 755 /mamonsu/
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ if [ "${OS%:*}" = "centos" ]; then
41
41
python3 setup.py build && python3 setup.py install
42
42
make rpm
43
43
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
45
45
systemctl daemon-reload
46
46
systemctl restart mamonsu
47
47
sleep 5
@@ -64,7 +64,7 @@ elif [ "${OS%:*}" = "ubuntu" ]; then
64
64
python3 setup.py build && python3 setup.py install
65
65
make deb
66
66
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
68
68
service mamonsu restart
69
69
sleep 5
70
70
echo && echo && echo " mamonsu version:"
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
__author__ = 'Dmitry Vasilyev'
2
2
__author_email__ = '[email protected] '
3
3
__description__ = 'Monitoring agent for PostgreSQL'
4
- __version__ = '3.5.2 '
4
+ __version__ = '3.5.3 '
5
5
__licence__ = 'BSD'
6
6
7
7
__url__ = 'https://github.com/postgrespro/mamonsu'
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ max_size_mb = 1024
66
66
# specify logging settings for mamonsu
67
67
68
68
[log]
69
- file = None
70
- level = INFO
69
+ file = /var/log/mamonsu/mamonsu.log
70
+ level = DEBUG
71
71
format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
72
72
73
73
######### Individual Plugin Sections ############
@@ -207,4 +207,4 @@ interval = 60
207
207
interval = 2
208
208
209
209
[zbxsender]
210
- interval = 10
210
+ interval = 10
Original file line number Diff line number Diff line change
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
+
1
7
mamonsu (3.5.2-1) stable; urgency=low
2
8
* fixed Statements plugin list of metrics creation;
3
9
* fixed Zabbix API requests to fit new Dashboard Template section rules;
Original file line number Diff line number Diff line change 1
1
Name: mamonsu
2
- Version: 3.5.2
2
+ Version: 3.5.3
3
3
Release: 1%{?dist }
4
4
Summary: Monitoring agent for PostgreSQL
5
5
Group: Applications/Internet
@@ -73,6 +73,12 @@ chown -R mamonsu.mamonsu /var/log/mamonsu
73
73
chown -R mamonsu.mamonsu /etc/mamonsu
74
74
75
75
%changelog
76
+ *
Thu Mar 16 2023 Alexandra Kuznetsova <[email protected] > - 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
+
76
82
*
Tue Aug 16 2022 Alexandra Kuznetsova <[email protected] > - 3.5.2-1
77
83
- fixed Statements plugin list of metrics creation;
78
84
- fixed Zabbix API requests to fit new Dashboard Template section rules;
Original file line number Diff line number Diff line change 1
1
!define NAME Mamonsu
2
- !define VERSION 3.5 .2
2
+ !define VERSION 3.5 .3
3
3
!define MAMONSU_REG_PATH " Software\PostgresPro\Mamonsu"
4
4
!define MAMONSU_REG_UNINSTALLER_PATH " Software\Microsoft\Windows\CurrentVersion\Uninstall"
5
5
!define EDB_REG " SOFTWARE\Postgresql"
You can’t perform that action at this time.
0 commit comments