[Reconnoiter-devel] [reconnoiter commit] Reconnoiter branch, master, updated. 7ffa89c9400d753e2d2ec6860e6fe6e3b66069fa

git at labs.omniti.com git at labs.omniti.com
Thu Apr 14 11:40:29 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Reconnoiter".

The branch, master has been updated
       via  7ffa89c9400d753e2d2ec6860e6fe6e3b66069fa (commit)
       via  39e312d78aff4672c99c81c09738c65111b75634 (commit)
      from  753d52d88827d11c0c1aa19a107d0029fdaca23b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7ffa89c9400d753e2d2ec6860e6fe6e3b66069fa
Author: Theo Schlossnagle <jesus at omniti.com>
Date:   Thu Apr 14 11:40:22 2011 -0400

    docs for the redis check

diff --git a/docs/config/modules/noit.module.redis.xml b/docs/config/modules/noit.module.redis.xml
new file mode 100644
index 0000000..f18415c
--- /dev/null
+++ b/docs/config/modules/noit.module.redis.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<section>
+  <title>redis</title>
+  <para>Redis check.</para>
+  <variablelist>
+    <varlistentry>
+      <term>loader</term>
+      <listitem>
+        <para>lua</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term>object</term>
+      <listitem>
+        <para>noit.module.redis</para>
+      </listitem>
+    </varlistentry>
+  </variablelist>
+  <section>
+    <title>Module Configuration</title>
+  </section>
+  <section>
+    <title>Check Configuration</title>
+    <variablelist>
+      <varlistentry>
+        <term>port</term>
+        <listitem>
+          <variablelist>
+            <varlistentry>
+              <term>required</term>
+              <listitem>
+                <para>required</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term>default</term>
+              <listitem>
+                <para>6379</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term>allowed</term>
+              <listitem>
+                <para>\d+</para>
+              </listitem>
+            </varlistentry>
+          </variablelist>
+          <para>
+        Specifies the port on which redis is running.
+    </para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    <variablelist>
+      <varlistentry>
+        <term>command</term>
+        <listitem>
+          <variablelist>
+            <varlistentry>
+              <term>required</term>
+              <listitem>
+                <para>required</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term>default</term>
+              <listitem>
+                <para>INFO</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term>allowed</term>
+              <listitem>
+                <para>.+</para>
+              </listitem>
+            </varlistentry>
+          </variablelist>
+          <para>
+            Command to send to redis server.
+    </para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </section>
+  <example>
+    <title>Checking Redis</title>
+    <para>This example checks Redis by issuing the INFO command</para>
+    <programlisting>
+      <noit>
+        <modules>
+          <loader image="lua" name="lua">
+            <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config>
+          </loader>
+          <module loader="lua" name="redis" object="noit.module.redis" />
+        </modules>
+        <checks>
+          <check uuid="052852f2-fd09-4751-8889-a313a70c3c9c" module="redis" target="127.0.0.1" />
+        </checks>
+      </noit>
+    </programlisting>
+  </example>
+</section>

commit 39e312d78aff4672c99c81c09738c65111b75634
Author: Theo Schlossnagle <jesus at omniti.com>
Date:   Thu Apr 14 11:15:00 2011 -0400

    remove old resmon (C implementation) xml bits

diff --git a/src/modules/resmon.xml b/src/modules/resmon.xml
deleted file mode 100644
index d3f225e..0000000
--- a/src/modules/resmon.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<module>
-  <name>resmon</name>
-  <description><para>The resmon module performs services checks against a Resmon service.</para>
-  <para><ulink url="https://labs.omniti.com/trac/resmon"><citetitle>Resmon</citetitle></ulink> is a light-weight resource monitor that exposes health of services over HTTP in XML.</para>
-  <para>This module rides on the http module and provides a secondary phase of XML parsing on the contents that extracts Resmon status messages into metrics that can be trended.</para>
-  </description>
-  <loader>C</loader>
-  <image>http.so</image>
-  <moduleconfig>
-    <parameter name="url"
-               required="optional"
-               allowed="http://target:81/">The default URL to be used by checks that do not specify an explicit URL.</parameter>
-    <parameter name="ca_chain"
-               required="optional"
-               allowed=".+">A path to a file containing all the certificate authorities that should be loaded to validate the remote certificate (for SSL checks).  This is used for SSL checks if this paramter is not set explicitly in the check config.</parameter>
-    <parameter name="certificate_file"
-               required="optional"
-               allowed=".+">A path to a file containing all the client certificate that will be presented to the remote server (for SSL checks).  This is used for SSL checks if this paramter is not set explicitly in the check config.</parameter>
-  </moduleconfig>
-  <checkconfig>
-    <parameter name="url"
-               required="required"
-               allowed=".+">The URL including schema and hostname (as you would type into a browser's location bar).</parameter>
-    <parameter name="ca_chain"
-               required="optional"
-               allowed=".+">A path to a file containing all the certificate authorities that should be loaded to validate the remote certificate (for SSL checks).</parameter>
-    <parameter name="certificate_file"
-               required="optional"
-               allowed=".+">A path to a file containing all the client certificate that will be presented to the remote server (for SSL checks).</parameter>
-  </checkconfig>
-  <examples>
-    <example>
-      <title>Checking resmon services on OmniTI Labs.</title>
-      <para>This example checks the Resmon service on OmniTI Labs.</para>
-      <programlisting><![CDATA[
-      <noit>
-        <modules>
-          <module image="http" name="resmon" />
-        </modules>
-        <checks>
-          <labs target="8.8.38.5" module="resmon">
-            <check uuid="36b8ba72-7968-11dd-a67f-d39a2cc3f9de"/>
-          </labs>
-        </checks>
-      </noit>
-    ]]></programlisting>
-    </example>
-  </examples>
-</module>
diff --git a/src/modules/resmon_part.xml b/src/modules/resmon_part.xml
deleted file mode 100644
index d87ef01..0000000
--- a/src/modules/resmon_part.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<module>
-  <name>resmon_part</name>
-  <description><para>The resmon_part module performs services checks against a specific Resmon module/service check.</para>
-  <para><ulink url="https://labs.omniti.com/trac/resmon"><citetitle>Resmon</citetitle></ulink> is a light-weight resource monitor that exposes health of services over HTTP in XML.</para>
-  <para>This module rides on the http module and provides a secondary phase of XML parsing on the contents that extracts a specific module and service from the Resmon XML report.</para>
-  </description>
-  <loader>C</loader>
-  <image>http.so</image>
-  <moduleconfig>
-    <parameter name="url"
-               required="optional"
-               allowed="http://target:81/">The default URL to be used by checks that do not specify an explicit URL.</parameter>
-    <parameter name="ca_chain"
-               required="optional"
-               allowed=".+">A path to a file containing all the certificate authorities that should be loaded to validate the remote certificate (for SSL checks).  This is used for SSL checks if this paramter is not set explicitly in the check config.</parameter>
-    <parameter name="certificate_file"
-               required="optional"
-               allowed=".+">A path to a file containing all the client certificate that will be presented to the remote server (for SSL checks).  This is used for SSL checks if this paramter is not set explicitly in the check config.</parameter>
-  </moduleconfig>
-  <checkconfig>
-    <parameter name="url"
-               required="required"
-               allowed=".+">The URL including schema and hostname (as you would type into a browser's location bar).</parameter>
-    <parameter name="ca_chain"
-               required="optional"
-               allowed=".+">A path to a file containing all the certificate authorities that should be loaded to validate the remote certificate (for SSL checks).</parameter>
-    <parameter name="certificate_file"
-               required="optional"
-               allowed=".+">A path to a file containing all the client certificate that will be presented to the remote server (for SSL checks).</parameter>
-    <parameter name="resmon_module"
-               required="required"
-               allowed=".+">The resmon module to check.</parameter>
-    <parameter name="resmon_service"
-               required="required"
-               allowed=".+">The resmon service to check.</parameter>
-  </checkconfig>
-  <examples>
-    <example>
-      <title>Checking for two specific resmon services on OmniTI Labs.</title>
-      <para>This example checks for hardware faults and the utilization of the root filesystem via the Resmon service on OmniTI Labs.</para>
-      <programlisting><![CDATA[
-      <noit>
-        <modules>
-          <module image="http" name="resmon_part" />
-        </modules>
-        <checks>
-          <labs target="8.8.38.5" module="resmon_part">
-            <check uuid="413a488c-796b-11dd-b98a-53f0f4b89ac3">
-              <config>
-                <resmon_module>FAULTS</resmon_module>
-                <resmon_service>hardware</resmon_service>
-              </config>
-            </check>
-            <check uuid="4c33303c-796b-11dd-bfa1-6f55841e1fca">
-              <config>
-                <resmon_module>DISK</resmon_module>
-                <resmon_service>/</resmon_service>
-              </config>
-            </check>
-          </labs>
-        </checks>
-      </noit>
-    ]]></programlisting>
-    </example>
-  </examples>
-</module>

-----------------------------------------------------------------------

Summary of changes:
 ...noit.module.munin.xml => noit.module.redis.xml} |   41 +++++++-----
 src/modules/resmon.xml                             |   49 ---------------
 src/modules/resmon_part.xml                        |   66 --------------------
 3 files changed, 24 insertions(+), 132 deletions(-)
 copy docs/config/modules/{noit.module.munin.xml => noit.module.redis.xml} (64%)
 delete mode 100644 src/modules/resmon.xml
 delete mode 100644 src/modules/resmon_part.xml


hooks/post-receive
-- 
Reconnoiter


More information about the Reconnoiter-devel mailing list