Skip to content

Commit c5570b1

Browse files
committed
docs: edit zabbix-agent installation section
1 parent a12a37c commit c5570b1

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Build rpm:
5151
$ git clone ... && cd mamonsu && make rpm && rpm -i mamonsu*.rpm
5252
5353
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
5555
.. code-block:: bash
5656
5757
$ git clone ... && cd mamonsu && python setup_win32.py py2exe
@@ -134,7 +134,7 @@ Change previously zabbix server address and client hostname:
134134
level = INFO
135135
136136
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.
138138

139139
Bootstrap DDL for monitoring (if you want to monitoring without superuser rights)
140140

@@ -150,40 +150,41 @@ Implement bootstrap from non-privileged user
150150
151151
$ mamonsu bootstrap -M mamonsu
152152
153-
=======================
154-
Work with zabbix-agent
155-
=======================
153+
==========================================================================
154+
Work with zabbix-agent using template and configuration file from mamonsu
155+
==========================================================================
156156
NOTE: Mamonsu zabbix agent option does not work for Windows
157157

158-
Export template for zabbix-agent:
158+
Export template for zabbix-agent
159159

160160
.. code-block:: bash
161161
162162
$ mamonsu export zabbix-template template_agent.xml
163163
or
164164
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/template_agent.xml.example
165165
166-
Export configuration file for zabbix-agent:
166+
Export or download zabbix-agent configuration file for needed PostgreSQL version
167167

168168
.. code-block:: bash
169169
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)
171171
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
173173
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
175175

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:
177178

178179
.. code-block:: bash
179180
180181
$ wget https://raw.githubusercontent.com/postgrespro/mamonsu/master/packaging/conf/scripts
181182
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
183184

184185
NOTE: Make sure path for bash scripts in zabbix-agent configuration file is valid
185186

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)
187188

188189
==================
189190
Write your plugin

0 commit comments

Comments
 (0)