From a59fc5fbf7ac5ad890a1d84dab582d68dc9dac53 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Wed, 9 Jan 2019 13:56:04 +0100 Subject: [PATCH] Icinga snmp queries --- Doc/Sdi/icinga.xml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Doc/Sdi/icinga.xml b/Doc/Sdi/icinga.xml index 4922d0f6c..e5b64cfc0 100644 --- a/Doc/Sdi/icinga.xml +++ b/Doc/Sdi/icinga.xml @@ -131,13 +131,38 @@ <command>aptitude</command> <option>install</option> <option>nagios-plugins</option>.</para> </listitem> + + <listitem> + <para>Configure a http(s) check of your web server. After successful + configuration shut down the apache2 service and wait for error + messeges to emerge.</para> + </listitem> + + <listitem> + <para>Check your local <productname>Ldap</productname> server.</para> + </listitem> </orderedlist> </section> <section xml:id="sdi_icinga_sect_snmp"> <title><xref linkend="glo_SNMP"/> based checks</title> - <para/> + <para>Use the <link + xlink:href="http://nagios.manubulon.com/snmp_storage.html">Snmp storage + check</link> plugin to check your root (/) file system allocation. + Configure lower thresholds to achieve a warning message.</para> + + <para>This requires <command + xlink:href="https://linux.die.net/man/8/snmpd">snmpd</command> + configuration on your monitored server side:</para> + + <screen>apt-get install snmpd</screen> + + <para>File /etc/snmp/snmpd.conf might contain:</para> + + <programlisting language="none">rocommunity mi-snmp + +includeAllDisks</programlisting> </section> <section xml:id="sdi_icinga2_checkBySsh"> @@ -283,7 +308,7 @@ sdi10b> cp id_rsa.pub authorized_keys</screen> <filename>/home/nagioscheck/.ssh/id_rsa</filename> private key to <filename>/etc/icinga2/nagioscheck_id_rsa</filename>. Since the <productname>Icinga</productname> process running with the nagios user - is requires read access we change the ownnership accordingly: </para> + is requires read access we change the ownnership accordingly:</para> <screen>chown nagios.nagios nagioscheck_id_rsa</screen> </listitem> -- GitLab