File tree Expand file tree Collapse file tree 9 files changed +22
-10
lines changed Expand file tree Collapse file tree 9 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff 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:"
File renamed without changes.
Original file line number Diff line number Diff line change 11__author__ = 'Dmitry Vasilyev'
22__author_email__ = '[email protected] ' 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'
Original file line number Diff line number Diff 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
7171format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
7272
7373######### Individual Plugin Sections ############
@@ -207,4 +207,4 @@ interval = 60
207207interval = 2
208208
209209[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+
17mamonsu (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;
Original file line number Diff line number Diff line change 11Name: mamonsu
2- Version: 3.5.2
2+ Version: 3.5.3
33Release: 1%{?dist }
44Summary: Monitoring agent for PostgreSQL
55Group: Applications/Internet
@@ -73,6 +73,12 @@ chown -R mamonsu.mamonsu /var/log/mamonsu
7373chown -R mamonsu.mamonsu /etc/mamonsu
7474
7575%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+
7682*
Tue Aug 16 2022 Alexandra Kuznetsova <[email protected] > - 3.5.2-1 7783 - fixed Statements plugin list of metrics creation;
7884 - fixed Zabbix API requests to fit new Dashboard Template section rules;
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments