Skip to content

Commit 6207b46

Browse files
committed
docs: edit doc file and add new links
1 parent 26efc27 commit 6207b46

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

README.rst

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@ Pre-Build packages for:
2424

2525
`Windows installers <https://oc.postgrespro.ru/index.php/s/qu7YsFvOE55LdXo>`_
2626

27+
NOTE: pre-build packages on packagecloud only for mamonsu 2.3.4
28+
2729
Install via pip:
2830

2931
.. code-block:: bash
3032
3133
$ pip install mamonsu
3234
35+
NOTE: only for mamonsu 2.3.4
36+
3337
Install from git:
3438

3539
.. code-block:: bash
@@ -52,6 +56,7 @@ Build rpm:
5256
5357
Build win32 exe: (worked with python v3.{4,5}: py2exe v0.9.2.2 and pywin32 v220 or python v2.7: py2exe v0.6.9 and pywin32 v220):
5458
NOTE: windows installer only for mamonsu 2.3.4 version
59+
5560
.. code-block:: bash
5661
5762
$ git clone ... && cd mamonsu && python setup_win32.py py2exe
@@ -77,9 +82,8 @@ Export template for zabbix:
7782
7883
$ mamonsu export template template.xml --add-plugins /etc/mamonsu/plugins
7984
or
80-
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/template.xml
81-
or
8285
$ cp /usr/share/mamonsu/template.xml .
86+
or get example of config with all available parameters at https://postgrespro.ru/products/extensions/mamonsu
8387
8488
Import this file in web interface of zabbix: Configuration => Templates => Import, or deploy with mamonsu:
8589

@@ -93,13 +97,12 @@ Add this template like `PostgresPro-Linux` at your monitoring host, or create ho
9397
9498
$ mamonsu zabbix host create <client name> <hostgroup id> <template id> <ip> --url=http://zabbix/ --user=Admin --password=zabbix
9599
96-
Generate config on monitring host or use preinstalled:
100+
Generate config on monitoring host or use preinstalled:
97101

98102
.. code-block:: bash
99103
100104
$ mamonsu export config /etc/mamonsu/agent.conf --add-plugins /etc/mamonsu/plugins
101-
or get example of config with all avaliable parameters
102-
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/agent.conf.example
105+
or get example of config with all available parameters at https://postgrespro.ru/products/extensions/mamonsu
103106
104107
Change previously zabbix server address and client hostname:
105108

@@ -134,7 +137,6 @@ Change previously zabbix server address and client hostname:
134137
level = INFO
135138
136139
These are the main mamonsu settings to get started. You can also fine-tune other mamonsu settings
137-
as explained in the section called “Configuration Parameters” of the instruction avaliable at https://postgrespro.com/docs/postgrespro/10/mamonsu.
138140

139141
Bootstrap DDL for monitoring (if you want to monitoring without superuser rights)
140142

@@ -160,25 +162,21 @@ Export template for zabbix-agent
160162
.. code-block:: bash
161163
162164
$ mamonsu export zabbix-template template_agent.xml
163-
or
164-
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/template_agent.xml.example
165+
166+
or get example of template at https://postgrespro.ru/products/extensions/mamonsu
165167
166168
Export or download zabbix-agent configuration file for needed PostgreSQL version
167169

168170
.. code-block:: bash
169171
170172
$ mamonsu export zabbix-parameters userparameters_pgsql_v*.conf --pg-version=version_number (by default pg-version=10)
171-
or
172-
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/userparameters_pgsql_v*.conf.example
173+
174+
or get example of configuration file at https://postgrespro.ru/products/extensions/mamonsu
173175
174176
NOTE: zabbix-agent configuration file for PostgreSQL 10 and 11 are equal
175177

176178
Bash scripts for OS parameters monitoring are exported with configuration file in directory /scripts
177-
Or you can download them separately:
178-
179-
.. code-block:: bash
180-
181-
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/scripts
179+
Or you can download them at https://postgrespro.ru/products/extensions/mamonsu
182180

183181
Add configuration file to zabbix-agent directory as /etc/zabbix/zabbix_agentd.d/userparameters_pgsql.conf
184182

0 commit comments

Comments
 (0)