You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If required, you can add your own custom plugins to monitor specific
63
+
To ensure a stable connection to
64
+
the monitored system, <filename>mamonsu</filename> plugins use a
65
+
<productname>&productname;</productname> connection pooler. If required, you can add your own custom plugins to monitor specific
48
66
metrics critical for your system.
49
67
</para>
50
68
<refsect2 id="installation-and-setup">
51
69
<title>Installation and Setup</title>
52
70
<para>
53
-
To use <filename>mamonsu</filename>, you must have a <filename>zabbix</filename> account and a <filename>zabbix</filename> server set up, and install the
54
-
<filename>zabbix</filename> agent on the system you are going to monitor.</para>
71
+
To use <filename>mamonsu</filename>, you must have a <filename>zabbix</filename> account and a <filename>zabbix</filename> server set up.</para>
55
72
<para>A pre-built <filename>mamonsu</filename> package is provided together with
56
73
<productname>&productname;</productname>, but has a
57
74
separate installer. Once you have installed both <productname>&productname;</productname> and <filename>mamonsu</filename>, complete the following
@@ -67,7 +84,7 @@
67
84
<listitem>
68
85
<para>
69
86
Bootstrap <filename>mamonsu</filename>. You must specify the IP
70
-
address of the host you are going to monitor and the first database to connect to, as well as provide the username and password of the <productname>PostgreSQL</productname> user for <filename>mamonsu</filename> to connect as. You can omit the <literal>-W</literal> option if the password is not required.
87
+
address of the host you are going to monitor and the first database to connect to, as well as provide the username and password of the <productname>&productname;</productname> user for <filename>mamonsu</filename> to connect as. You can omit the <literal>-W</literal> option if the password is not required.
If you are going to use <filename>zabbix</filename> from the
85
-
command line, configure the following environment variables
86
-
for your <filename>zabbix</filename> server:
101
+
<filename>mamonsu</filename> enables you to control some of the <filename>zabbix</filename> server functionality from the command line. You can create and delete <filename>zabbix</filename> hosts and host groups, as well as create, delete, or import <filename>zabbix</filename> templates. If you are going run <filename>zabbix</filename>-related commands, configure the following environment variables for your <filename>zabbix</filename> server:
<listitem><para>If you do not have a <filename>zabbix</filename> host yet, create a new <filename>zabbix</filename> host group and host to use for metrics collection:</para>
Configure <filename>zabbix</filename>-related settings. You must
113
-
set <varname>address</varname> to the <filename>zabbix</filename> server address and specify the name of the <filename>zabbix</filename> host that will receive the collected metrics. You can find the hosts available for your account in the <filename>zabbix</filename> web interface under <emphasis role="srong"><guimenu>Configuration</guimenu></emphasis> > <emphasis role="srong"><guimenu>Hosts</guimenu></emphasis>.
133
+
set <varname>address</varname> to the <filename>zabbix</filename> server address and specify the name of the <filename>zabbix</filename> host that will receive the collected metrics. You can find the hosts available for your account in the <filename>zabbix</filename> web interface under <emphasis role="strong"><guimenu>Configuration</guimenu></emphasis> > <emphasis role="strong"><guimenu>Hosts</guimenu></emphasis>.
Specify the <productname>PostgreSQL</productname> user and the database to connect to. In
145
+
Specify the <productname>&productname;</productname> user and the database to connect to. In
131
146
the example below, we connect to a <literal>postgres</literal>
132
147
database as a <literal>postgres</literal> user. If the
133
148
password is not required, set the <literal>password</literal>
@@ -156,7 +171,7 @@ query_timeout = 10
156
171
<listitem>
157
172
<para>
158
173
By default, <filename>mamonsu</filename> will collect both
159
-
<productname>PostgreSQL</productname> and system metrics. If required, you can disable
174
+
<productname>&productname;</productname> and system metrics. If required, you can disable
160
175
metrics collection of either type by setting the
161
176
<literal>enabled</literal> parameter to
162
177
<literal>False</literal> in the corresponding section of the
@@ -168,7 +183,7 @@ query_timeout = 10
168
183
enabled = True
169
184
</programlisting>
170
185
</listitem></itemizedlist>
171
-
</listitem>
186
+
</listitem>
172
187
<listitem>
173
188
<para>
174
189
Export a template for <filename>zabbix</filename>:
@@ -209,6 +224,181 @@ service mamonsu start
209
224
configuration file and starts monitoring your system.
210
225
</para>
211
226
</refsect2>
227
+
</refsect1>
228
+
<refsect1><title>Options</title>
229
+
<para><filename>mamonsu</filename> enables you to manage metrics collection and control some of the <filename>zabbix</filename> options from the command line. The <command>mamonsu</command> can take the following options.</para>
230
+
231
+
<variablelist>
232
+
233
+
<varlistentry>
234
+
<term><option>report</option></term>
235
+
<listitem>
236
+
<para>Display detailed information about the used hardware and <productname>&productname;</productname> settings.
237
+
</para>
238
+
</listitem>
239
+
</varlistentry>
240
+
241
+
<varlistentry>
242
+
<term><option>tune</option></term>
243
+
<listitem>
244
+
<para>Optimize system configuration based on the collected information about the used hardware and <productname>&productname;</productname> settings.
245
+
</para>
246
+
</listitem>
247
+
</varlistentry>
248
+
249
+
<varlistentry>
250
+
<term><option>agent</option></term>
251
+
<listitem>
252
+
<para><filename>mamonsu</filename> <command>agent</command> command provides access to the available metrics from the command line. You can specify one of the following options:
<para>Using <filename>mamonsu</filename> you can control some of the <filename>zabbix</filename> server functionality from the command line. Specifically, you can create or delete <filename>zabbix</filename> hosts and host groups, as well as generate, import, and delete <filename>zabbix</filename> templates using one of the following commands. The <replaceable>object_name</replaceable> to use must correspond to the type of the <filename>zabbix</filename> object specified in the command: template, host, or hostgroup.</para>
312
+
<variablelist>
313
+
<varlistentry>
314
+
<term><option>list</option></term>
315
+
<listitem>
316
+
<para>Display the list of available templates, hosts, or host groups.
0 commit comments