@@ -51,7 +51,7 @@ Build rpm:
51
51
$ git clone ... && cd mamonsu && make rpm && rpm -i mamonsu* .rpm
52
52
53
53
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
-
54
+ NOTE: windows installer only for mamonsu 2.3.4 version
55
55
.. code-block :: bash
56
56
57
57
$ git clone ... && cd mamonsu && python setup_win32.py py2exe
@@ -134,7 +134,7 @@ Change previously zabbix server address and client hostname:
134
134
level = INFO
135
135
136
136
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 intruction avaliable at https://postgrespro.com/docs/postgrespro/10/mamonsu.
137
+ as explained in the section called “Configuration Parameters” of the instruction avaliable at https://postgrespro.com/docs/postgrespro/10/mamonsu.
138
138
139
139
Bootstrap DDL for monitoring (if you want to monitoring without superuser rights)
140
140
@@ -150,40 +150,41 @@ Implement bootstrap from non-privileged user
150
150
151
151
$ mamonsu bootstrap -M mamonsu
152
152
153
- =======================
154
- Work with zabbix-agent
155
- =======================
153
+ ==========================================================================
154
+ Work with zabbix-agent using template and configuration file from mamonsu
155
+ ==========================================================================
156
156
NOTE: Mamonsu zabbix agent option does not work for Windows
157
157
158
- Export template for zabbix-agent:
158
+ Export template for zabbix-agent
159
159
160
160
.. code-block :: bash
161
161
162
162
$ mamonsu export zabbix-template template_agent.xml
163
163
or
164
164
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/template_agent.xml.example
165
165
166
- Export configuration file for zabbix-agent:
166
+ Export or download zabbix-agent configuration file for needed PostgreSQL version
167
167
168
168
.. code-block :: bash
169
169
170
- $ mamonsu export zabbix-parameters userparameters_pgsql .conf
170
+ $ mamonsu export zabbix-parameters userparameters_pgsql_v * .conf --pg-version=version_number (by default pg-version=10)
171
171
or
172
- $ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/userparameters_pgsql .conf.example
172
+ $ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/userparameters_pgsql_v * .conf.example
173
173
174
- NOTE: Bash scripts for OS parameters monitoring are exported with configuration file in directory /scripts
174
+ NOTE: zabbix-agent configuration file for PostgreSQL 10 and 11 are equal
175
175
176
- Or you can download them separatly:
176
+ Bash scripts for OS parameters monitoring are exported with configuration file in directory /scripts
177
+ Or you can download them separately:
177
178
178
179
.. code-block :: bash
179
180
180
181
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/scripts
181
182
182
- Add configuration file to /etc/zabbix/zabbix_agentd.d/userparameters_pgsql.conf
183
+ Add configuration file to zabbix-agent directory as /etc/zabbix/zabbix_agentd.d/userparameters_pgsql.conf
183
184
184
185
NOTE: Make sure path for bash scripts in zabbix-agent configuration file is valid
185
186
186
- Follow standart instructions for zabbix-agent installation (https://www.zabbix.com/documentation/3.4/manual/concepts/agent)
187
+ Edit connections options of zabbix-agent /etc/zabbix/zabbix_agentd.conf, following standard instructions for zabbix-agent installation (https://www.zabbix.com/documentation/3.4/manual/concepts/agent)
187
188
188
189
==================
189
190
Write your plugin
0 commit comments