root/src/modules/selfcheck.xml

Revision 0d31467a1c681159c9f9682ea66c08e7b2392641, 1.1 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

update example to reflect description, refs #78

  • Property mode set to 100644
Line 
1 <module>
2   <name>selfcheck</name>
3   <description><para>The selfcheck module performs a self assessment on the host noitd instance.</para>
4   </description>
5   <loader>C</loader>
6   <image>selfcheck.so</image>
7   <moduleconfig />
8   <checkconfig>
9     <parameter name="feedname"
10                required="required"
11                allowed=".+"
12                default="feed">The name of the feed that will be sized.</parameter>
13   </checkconfig>
14   <examples>
15     <example>
16       <title>Testing the local noitd instance.</title>
17       <para>We self check the noitd instance every 5 seconds.  Here, the target doesn't mean anything in particular as the check is entirely internal.  The target should match the local noitd's IP address from the perspective of stratcond.</para>
18       <programlisting><![CDATA[
19       <noit>
20         <modules>
21           <module image="selfcheck" name="selfcheck"/>
22         </modules>
23         <checks>
24           <check uuid="6e65ffdc-f174-11dd-86fe-b7da9645ce7c" target="10.225.209.90" period="5000" timeout="4000"/>
25         </checks>
26       </noit>
27     ]]></programlisting>
28     </example>
29   </examples>
30 </module>
Note: See TracBrowser for help on using the browser.