Permalink
Fetching contributors…
Cannot retrieve contributors at this time
189 lines (188 sloc) 7.04 KB
<?xml version="1.0" encoding="utf8" standalone="yes"?>
<noit lockfile="/var/run/noitd.lock">
<!-- <watchdog glider="/opt/gimli/bin/glider" tracedir="/var/log/noitd.crash"/> -->
<eventer>
<config>
<default_queue_threads>10</default_queue_threads>
<default_ca_chain>%sysconfdir%/default-ca-chain.crt</default_ca_chain>
</config>
</eventer>
<logs>
<console_output>
<outlet name="stderr"/>
<log name="error"/>
<log name="debug" disabled="true"/>
</console_output>
<feeds>
<log name="feed" type="jlog" path="/var/log/noitd.feed(stratcon)"/>
</feeds>
<components>
<error>
<outlet name="error"/>
<log name="error/collectd"/>
<log name="error/dns"/>
<log name="error/eventer"/>
<log name="error/external"/>
<log name="error/lua"/>
<log name="error/mysql"/>
<log name="error/ping_icmp"/>
<log name="error/postgres"/>
<log name="error/selfcheck"/>
<log name="error/snmp"/>
<log name="error/ssh2"/>
</error>
<debug>
<outlet name="debug"/>
<log name="debug/collectd" disabled="true"/>
<log name="debug/dns" disabled="true"/>
<log name="debug/eventer" disabled="true"/>
<log name="debug/external" disabled="true"/>
<log name="debug/lua" disabled="true"/>
<log name="debug/mysql" disabled="true"/>
<log name="debug/ping_icmp" disabled="true"/>
<log name="debug/postgres" disabled="true"/>
<log name="debug/selfcheck" disabled="true"/>
<log name="debug/snmp" disabled="true"/>
<log name="debug/ssh2" disabled="true"/>
</debug>
</components>
<feeds>
<config><extended_id>off</extended_id></config>
<outlet name="feed"/>
<log name="check"/>
<log name="delete"/>
<log name="status"/>
<log name="metrics"/>
<log name="bundle"/>
<log name="config"/>
</feeds>
</logs>
<modules directory="%modulesdir%">
<loader image="lua" name="lua">
<config><directory>%modulesluadir%/?.lua</directory></config>
</loader>
<module image="selfcheck" name="selfcheck"/>
<module image="ping_icmp" name="ping_icmp"/>
<module image="dns" name="dns"/>
<module image="snmp" name="snmp"/>
<module image="ssh2" name="ssh2"/>
<module image="httptrap" name="httptrap"/>
<module image="statsd" name="statsd"/>
<module loader="lua" name="varnish" object="noit.module.varnish"/>
<module loader="lua" name="http" object="noit.module.http"/>
<module loader="lua" name="resmon" object="noit.module.resmon"/>
<module loader="lua" name="smtp" object="noit.module.smtp"/>
<module loader="lua" name="ntp" object="noit.module.ntp"/>
<module loader="lua" name="dhcp" object="noit.module.dhcp"/>
<module loader="lua" name="pop3" object="noit.module.pop3"/>
<jezebel>
<config><url>http://127.0.0.1:8083/dispatch</url></config>
<module loader="lua" name="jmx" object="noit.module.jezebel"/>
</jezebel>
<generic image="check_test" name="check_test"/>
<generic image="ip_acl" name="ip_acl"/>
</modules>
<listeners>
<sslconfig>
<optional_no_ca>false</optional_no_ca>
<certificate_file>%sysconfdir%/%PKIPREFIX%noit.crt</certificate_file>
<key_file>%sysconfdir%/%PKIPREFIX%noit.key</key_file>
<ca_chain>%sysconfdir%/%PKIPREFIX%ca.crt</ca_chain>
</sslconfig>
<consoles type="noit_console">
<listener address="/tmp/noit">
<config>
<line_protocol>telnet</line_protocol>
</config>
</listener>
<listener address="*" port="32322">
<config>
<line_protocol>telnet</line_protocol>
</config>
</listener>
<listener address="*" port="32323" ssl="on"/>
</consoles>
<listener type="control_dispatch" address="*" port="43191" ssl="on">
<config>
<log_transit_feed_name>feed</log_transit_feed_name>
</config>
</listener>
</listeners>
<rest>
<acl>
<rule type="allow" />
</acl>
</rest>
<checks filterset="default"
resolve_rtype="prefer-ipv4"
transient_min_period="1000" transient_period_granularity="500">
<config xmlns:ip_acl="noit://module/ip_acl">
<ip_acl:global/>
</config>
<check uuid="f7cea020-f19d-11dd-85a6-cb6d3a2207dc" module="selfcheck" target="10.80.117.90" period="5000" timeout="4000"/>
<check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp" target="10.80.116.4" period="15000" timeout="14000"/>
<dc1 timeout="30000" period="60000" transient_min_period="10000">
<icmp module="ping_icmp">
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fb" target="66.225.209.7"/>
</icmp>
<web module="http">
<config xmlns:ip_acl="noit://module/ip_acl">
<ip_acl:sample/>
</config>
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fc" target="66.225.209.31">
<config>
<url>http://ngm.nationalgeographic.com/ngm/ngm.html</url>
<code>302</code>
</config>
</check>
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3aa" target="8.8.38.5">
<config>
<url>https://labs.omniti.com/</url>
<code>200</code>
</config>
</check>
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3ff" target="8.8.38.59">
<config>
<url>https://taskman.omniti.com/</url>
<code>200</code>
</config>
</check>
</web>
<resmon module="resmon" period="30000">
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fd" timeout="2000" target="10.225.209.36"/>
</resmon>
<switches module="snmp" period="60000">
<config inherit="SwitchPortX"/>
<switch target="10.1.2.3">
<check uuid="1b4e28ba-2fa1-11d2-883f-e9b761bde3fb" name="switchport::1"/>
<check uuid="1b4e28ba-3fa1-11d2-883f-e9b761bde3fb" name="switchport::2"/>
<check uuid="1b4e29ba-3fa1-11d2-883f-e9b761bde3fb" name="switchport::3"/>
<check uuid="4deb0724-ccee-4360-83bc-255e7b9d989d" name="switchport::4"/>
</switch>
</switches>
<disk module="snmp" period="60000">
<config inherit="disk"><community>test</community></config>
<check target="127.0.0.1" uuid="16eb9194-cbf4-11de-8fba-031dd96e4057" name="disk::1" />
</disk>
</dc1>
<check uuid="002d58ff-20ff-4db0-9420-782fc1748dc4" module="ssh2" target="10.80.117.2" period="60000" timeout="4000"/>
<check uuid="ff4f1de8-a405-11e1-8770-9347de0fce85" module="statsd" target="127.0.0.1" period="60000" timeout="59999"/>
</checks>
<filtersets>
<filterset name="default">
<rule type="deny" module="^ping_icmp$" metric="^(?:minimum|maximum|count)$" />
<rule type="allow"/>
</filterset>
</filtersets>
<config_templates>
<include file="config_templates.conf"/>
</config_templates>
<acls>
<acl name="global">
<rule type="deny">8.8.38.0/24</rule>
</acl>
<acl name="sample">
<rule type="deny">66.225.209.0/24</rule>
</acl>
</acls>
</noit>