@@ -24,12 +24,16 @@ Pre-Build packages for:
24
24
25
25
`Windows installers <https://oc.postgrespro.ru/index.php/s/qu7YsFvOE55LdXo >`_
26
26
27
+ NOTE: pre-build packages on packagecloud only for mamonsu 2.3.4
28
+
27
29
Install via pip:
28
30
29
31
.. code-block :: bash
30
32
31
33
$ pip install mamonsu
32
34
35
+ NOTE: only for mamonsu 2.3.4
36
+
33
37
Install from git:
34
38
35
39
.. code-block :: bash
@@ -52,6 +56,7 @@ Build rpm:
52
56
53
57
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):
54
58
NOTE: windows installer only for mamonsu 2.3.4 version
59
+
55
60
.. code-block :: bash
56
61
57
62
$ git clone ... && cd mamonsu && python setup_win32.py py2exe
@@ -77,9 +82,8 @@ Export template for zabbix:
77
82
78
83
$ mamonsu export template template.xml --add-plugins /etc/mamonsu/plugins
79
84
or
80
- $ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/template.xml
81
- or
82
85
$ cp /usr/share/mamonsu/template.xml .
86
+ or get example of config with all available parameters at https://postgrespro.ru/products/extensions/mamonsu
83
87
84
88
Import this file in web interface of zabbix: Configuration => Templates => Import, or deploy with mamonsu:
85
89
@@ -93,13 +97,12 @@ Add this template like `PostgresPro-Linux` at your monitoring host, or create ho
93
97
94
98
$ mamonsu zabbix host create < client name> < hostgroup id> < template id> < ip> --url=http://zabbix/ --user=Admin --password=zabbix
95
99
96
- Generate config on monitring host or use preinstalled:
100
+ Generate config on monitoring host or use preinstalled:
97
101
98
102
.. code-block :: bash
99
103
100
104
$ 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
103
106
104
107
Change previously zabbix server address and client hostname:
105
108
@@ -134,7 +137,6 @@ Change previously zabbix server address and client hostname:
134
137
level = INFO
135
138
136
139
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.
138
140
139
141
Bootstrap DDL for monitoring (if you want to monitoring without superuser rights)
140
142
@@ -160,25 +162,21 @@ Export template for zabbix-agent
160
162
.. code-block :: bash
161
163
162
164
$ 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
165
167
166
168
Export or download zabbix-agent configuration file for needed PostgreSQL version
167
169
168
170
.. code-block :: bash
169
171
170
172
$ 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
173
175
174
176
NOTE: zabbix-agent configuration file for PostgreSQL 10 and 11 are equal
175
177
176
178
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
182
180
183
181
Add configuration file to zabbix-agent directory as /etc/zabbix/zabbix_agentd.d/userparameters_pgsql.conf
184
182
0 commit comments