root/src/stratcon.conf

Revision 7de429d08625671e3471252391c6ef0bc9c5cf82, 2.4 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

loading schema

  • Property mode set to 100644
Line 
1 <stratcon>
2   <eventer implementation="kqueue" />
3
4   <logs>
5     <console_output>
6       <outlet name="stderr"/>
7       <log name="error"/>
8       <log name="debug" disabled="true"/>
9     </console_output>
10   </logs>
11
12   <noits>
13     <config>
14       <!--
15         If we have a connection failure, attempt to reconnect
16         immediately.  Upon failure wait 1000ms (1s) and
17         exponentially backoff up to 900000ms (900s or 15m)
18       -->
19       <reconnect_initial_interval>1000</reconnect_initial_interval>
20       <reconnect_maximum_interval>900000</reconnect_maximum_interval>
21     </config>
22     <sslconfig>
23       <key_file>test-strat.key</key_file>
24       <certificate_file>test-strat.crt</certificate_file>
25       <ca_chain>test-ca.crt</ca_chain>
26     </sslconfig>
27     <noit address="127.0.0.1" port="34332" />
28   </noits>
29
30   <database>
31     <dbconfig>
32       <host>localhost</host>
33       <dbname>reconnoiter</dbname>
34       <user>stratcon</user>
35       <password>stratcon</password>
36     </dbconfig>
37     <statements>
38       <check><![CDATA[
39         INSERT INTO stratcon.loading_dock_check
40                     (remote_address, whence, id, target, module, name)
41              VALUES ($1, 'epoch'::timestamptz + ($2 || ' seconds')::interval,
42                      $3, $4, $5, $6)
43       ]]></check>
44       <status><![CDATA[
45         INSERT INTO stratcon.loading_dock_status
46                     (remote_address, whence, id, state, availability,
47                      duration, status)
48              VALUES ($1, 'epoch'::timestamptz + ($2 || ' seconds')::interval,
49                      $3, $4, $5, $6, $7)
50       ]]></status>
51       <metric_numeric><![CDATA[
52         INSERT INTO stratcon.loading_dock_metric_numeric
53                     (remote_address, whence, id, name, type, value)
54              VALUES ($1, 'epoch'::timestamptz + ($2 || ' seconds')::interval,
55                      $3, $4, $5, $6)
56       ]]></metric_numeric>
57       <metric_text><![CDATA[
58         INSERT INTO stratcon.loading_dock_metric_text
59                     (remote_address, whence, id, name, type, value)
60              VALUES ($1, 'epoch'::timestamptz + ($2 || ' seconds')::interval,
61                      $3, $4, $5, $6)
62       ]]></metric_text>
63     </statements>
64   </database>
65
66   <listeners>
67   <consoles type="noit_console">
68     <listener address="/tmp/stratcon">
69       <config><line_protocol>telnet</line_protocol></config>
70     </listener>
71   </consoles>
72   </listeners>
73
74 </stratcon>
Note: See TracBrowser for help on using the browser.