root/src/noit.conf.in

Revision 28b073c9b8925b6b5bab4ecdf6b76690e8adf946, 7.0 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

ship a default CA list for eventer consumers, refs #13

  • Property mode set to 100644
Line 
1 <?xml version="1.0" encoding="utf8" standalone="yes"?>
2 <noit>
3   <eventer>
4     <config>
5       <default_queue_threads>10</default_queue_threads>
6       <default_ca_chain>%sysconfdir%/default-ca-chain.crt</default_ca_chain>
7     </config>
8   </eventer>
9   <logs>
10     <console_output>
11       <outlet name="stderr"/>
12       <log name="error"/>
13       <log name="debug" disabled="true"/>
14     </console_output>
15     <feeds>
16       <log name="feed" type="jlog" path="/var/log/noitd.feed(stratcon)"/>
17     </feeds>
18     <components>
19       <error>
20         <outlet name="error"/>
21         <log name="error/eventer"/>
22         <log name="error/ping_icmp"/>
23         <log name="error/serf"/>
24         <log name="error/snmp"/>
25       </error>
26       <debug>
27         <log name="debug/eventer" disabled="true"/>
28         <log name="debug/ping_icmp" disabled="true"/>
29         <log name="debug/serf" disabled="false"/>
30         <log name="debug/snmp" disabled="true"/>
31       </debug>
32     </components>
33     <feeds>
34       <outlet name="feed"/>
35       <log name="check">
36         <outlet name="error"/>
37       </log>
38       <log name="status"/>
39       <log name="metrics"/>
40       <log name="config"/>
41     </feeds>
42   </logs>
43   <modules directory="%modulesdir%">
44     <loader image="lua" name="lua">
45       <config><directory>%modulesluadir%/?.lua</directory></config>
46     </loader>
47     <module image="selfcheck" name="selfcheck"/>
48     <module image="ping_icmp" name="ping_icmp"/>
49     <http image="http">
50       <module name="resmon"/>
51       <module name="resmon_part"/>
52       <module name="http"/>
53     </http>
54     <module image="snmp" name="snmp"/>
55     <module image="ssh2" name="ssh2"/>
56     <module loader="lua" name="varnish" object="noit.module.varnish"/>
57   </modules>
58   <listeners>
59     <sslconfig>
60       <optional_no_ca>false</optional_no_ca>
61       <certificate_file>%sysconfdir%/%PKIPREFIX%noit.crt</certificate_file>
62       <key_file>%sysconfdir%/%PKIPREFIX%noit.key</key_file>
63       <ca_chain>%sysconfdir%/%PKIPREFIX%ca.crt</ca_chain>
64     </sslconfig>
65     <consoles type="noit_console">
66       <listener address="/tmp/noit">
67         <config>
68           <line_protocol>telnet</line_protocol>
69         </config>
70       </listener>
71       <listener address="*" port="32322">
72         <config>
73           <line_protocol>telnet</line_protocol>
74         </config>
75       </listener>
76       <listener address="*" port="32323" ssl="on"/>
77     </consoles>
78     <listener type="control_dispatch" address="*" port="43191" ssl="on">
79       <config>
80         <log_transit_feed_name>feed</log_transit_feed_name>
81       </config>
82     </listener>
83   </listeners>
84   <checks max_initial_stutter="30000" filterset="default">
85     <check uuid="f7cea020-f19d-11dd-85a6-cb6d3a2207dc" module="selfcheck" target="10.80.117.90" period="5000" timeout="4000"/>
86     <check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp" target="10.80.116.4" period="15000" timeout="14000"/>
87     <dc1 timeout="5000" period="60000">
88       <icmp module="ping_icmp">
89         <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fb" target="66.225.209.7"/>
90       </icmp>
91       <web module="http">
92         <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fc" target="66.225.209.31">
93           <config>
94             <url>http://ngm.nationalgeographic.com/ngm/ngm.html</url>
95             <code>302</code>
96           </config>
97         </check>
98         <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3aa" target="8.8.38.5">
99           <config>
100             <url>https://labs.omniti.com/</url>
101             <code>200</code>
102           </config>
103         </check>
104         <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3ff" target="8.8.38.59">
105           <config>
106             <url>https://taskman.omniti.com/</url>
107             <code>200</code>
108           </config>
109         </check>
110       </web>
111       <resmon module="resmon" period="30000">
112         <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fd" timeout="2000" target="10.225.209.36"/>
113         <parts module="resmon_part" period="0" timeout="10" oncheck="resmon">
114           <check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fe" target="10.225.209.36">
115             <config>
116               <resmon_module>FAULTS</resmon_module>
117               <resmon_service>hardware</resmon_service>
118             </config>
119           </check>
120         </parts>
121       </resmon>
122       <switches module="snmp" period="60000">
123         <config inherit="SwitchPortX"/>
124         <switch target="10.80.116.3">
125           <check uuid="1b4e28ba-2fa1-11d2-883f-e9b761bde3fb" name="1"/>
126           <check uuid="1b4e28ba-3fa1-11d2-883f-e9b761bde3fb" name="2"/>
127           <check uuid="1b4e29ba-3fa1-11d2-883f-e9b761bde3fb" name="3"/>
128           <check uuid="4deb0724-ccee-4360-83bc-255e7b9d989d" name="4"/>
129         </switch>
130       </switches>
131     </dc1>
132     <check uuid="002d58ff-20ff-4db0-9420-782fc1748dc4" module="ssh2" target="10.80.117.2" period="60000" timeout="4000"/>
133   </checks>
134   <filtersets>
135     <filterset name="default">
136       <rule type="deny" module="^ping_icmp$" metric="^(?:minimum|maximum|count)$" />
137     </filterset>
138   </filtersets>
139   <config_templates>
140     <config id="SwitchPort">
141       <oid_description>IF-MIB::ifDescr.%[name]</oid_description>
142       <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias>
143       <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed>
144       <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus>
145       <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus>
146       <oid_inoctets>IF-MIB::ifInOctets.%[name]</oid_inoctets>
147       <oid_outoctets>IF-MIB::ifOutOctets.%[name]</oid_outoctets>
148       <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors>
149       <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors>
150       <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards>
151       <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards>
152       <oid_inucastpkts>IF-MIB::ifInUcastPkts.%[name]</oid_inucastpkts>
153       <oid_outucastpkts>IF-MIB::ifOutUcastPkts.%[name]</oid_outucastpkts>
154       <oid_inbcastpkts>IF-MIB::ifInNUcastPkts.%[name]</oid_inbcastpkts>
155       <oid_outbcastpkts>IF-MIB::ifOutNUcastPkts.%[name]</oid_outbcastpkts>
156     </config>
157     <config id="SwitchPortX">
158       <oid_description>IF-MIB::ifName.%[name]</oid_description>
159       <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias>
160       <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed>
161       <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus>
162       <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus>
163       <oid_inoctets>IF-MIB::ifHCInOctets.%[name]</oid_inoctets>
164       <oid_outoctets>IF-MIB::ifHCOutOctets.%[name]</oid_outoctets>
165       <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors>
166       <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors>
167       <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards>
168       <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards>
169       <oid_inucastpkts>IF-MIB::ifHCInUcastPkts.%[name]</oid_inucastpkts>
170       <oid_outucastpkts>IF-MIB::ifHCOutUcastPkts.%[name]</oid_outucastpkts>
171       <oid_inbcastpkts>IF-MIB::ifHCInBroadcastPkts.%[name]</oid_inbcastpkts>
172       <oid_outbcastpkts>IF-MIB::ifHCOutBroadcastPkts.%[name]</oid_outbcastpkts>
173     </config>
174   </config_templates>
175 </noit>
Note: See TracBrowser for help on using the browser.