root/src/sample.conf

Revision 1afde4ed656dbe3db947a99cd27b177f5a3f560f, 1.4 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

update logging to support faster avoidance, line numbers, filenames, etc.

  • Property mode set to 100644
Line 
1 <?xml version="1.0" standalone="yes"?>
2 <noit>
3   <eventer>
4     <implementation>kqueue</implementation>
5   </eventer>
6   <modules>
7     <directory>./modules</directory>
8     <module>
9       <image>ping_icmp</image>
10       <name>ping_icmp</name>
11       <config>
12         <key1>value2</key1>
13         <key2>value2</key2>
14       </config>
15     </module>
16     <module>
17       <image>http</image>
18       <name>http</name>
19       <config>
20         <key1>value2</key1>
21         <key2>value2</key2>
22       </config>
23     </module>
24   </modules>
25   <listeners>
26     <listener>
27       <type>noit_console</type>
28       <address>127.0.0.1</address>
29       <port>32321</port>
30     </listener>
31     <listener>
32       <type>noit_console</type>
33       <address>*</address>
34       <port>32323</port>
35     </listener>
36   </listeners>
37   <checks>
38     <checkgroup>
39       <module>ping_icmp</module>
40       <period>30000</period>
41       <timeout>20000</timeout>
42       <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fb">
43         <target>66.225.209.7</target>
44       </check>
45     </checkgroup>
46     <checkgroup>
47       <module>http</module>
48       <period>2000</period>
49       <timeout>1000</timeout>
50       <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fc">
51         <target>66.225.209.31</target>
52         <config>
53           <url>http://ngm.nationalgeographic.com/ngm/ngm.html</url>
54           <code>302</code>
55         </config>
56       </check>
57     </checkgroup>
58   </checks>
59 </noit>
Note: See TracBrowser for help on using the browser.