| 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 |
<module image="snmp" name="snmp"/> |
|---|
| 50 |
<module image="ssh2" name="ssh2"/> |
|---|
| 51 |
<module loader="lua" name="varnish" object="noit.module.varnish"/> |
|---|
| 52 |
<module loader="lua" name="http" object="noit.module.http"/> |
|---|
| 53 |
<module loader="lua" name="resmon" object="noit.module.resmon"/> |
|---|
| 54 |
<module loader="lua" name="smtp" object="noit.module.smtp"/> |
|---|
| 55 |
</modules> |
|---|
| 56 |
<listeners> |
|---|
| 57 |
<sslconfig> |
|---|
| 58 |
<optional_no_ca>false</optional_no_ca> |
|---|
| 59 |
<certificate_file>%sysconfdir%/%PKIPREFIX%noit.crt</certificate_file> |
|---|
| 60 |
<key_file>%sysconfdir%/%PKIPREFIX%noit.key</key_file> |
|---|
| 61 |
<ca_chain>%sysconfdir%/%PKIPREFIX%ca.crt</ca_chain> |
|---|
| 62 |
</sslconfig> |
|---|
| 63 |
<consoles type="noit_console"> |
|---|
| 64 |
<listener address="/tmp/noit"> |
|---|
| 65 |
<config> |
|---|
| 66 |
<line_protocol>telnet</line_protocol> |
|---|
| 67 |
</config> |
|---|
| 68 |
</listener> |
|---|
| 69 |
<listener address="*" port="32322"> |
|---|
| 70 |
<config> |
|---|
| 71 |
<line_protocol>telnet</line_protocol> |
|---|
| 72 |
</config> |
|---|
| 73 |
</listener> |
|---|
| 74 |
<listener address="*" port="32323" ssl="on"/> |
|---|
| 75 |
</consoles> |
|---|
| 76 |
<listener type="control_dispatch" address="*" port="43191" ssl="on"> |
|---|
| 77 |
<config> |
|---|
| 78 |
<log_transit_feed_name>feed</log_transit_feed_name> |
|---|
| 79 |
</config> |
|---|
| 80 |
</listener> |
|---|
| 81 |
</listeners> |
|---|
| 82 |
<checks max_initial_stutter="30000" filterset="default"> |
|---|
| 83 |
<check uuid="f7cea020-f19d-11dd-85a6-cb6d3a2207dc" module="selfcheck" target="10.80.117.90" period="5000" timeout="4000"/> |
|---|
| 84 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp" target="10.80.116.4" period="15000" timeout="14000"/> |
|---|
| 85 |
<dc1 timeout="5000" period="60000"> |
|---|
| 86 |
<icmp module="ping_icmp"> |
|---|
| 87 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fb" target="66.225.209.7"/> |
|---|
| 88 |
</icmp> |
|---|
| 89 |
<web module="http"> |
|---|
| 90 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fc" target="66.225.209.31"> |
|---|
| 91 |
<config> |
|---|
| 92 |
<url>http://ngm.nationalgeographic.com/ngm/ngm.html</url> |
|---|
| 93 |
<code>302</code> |
|---|
| 94 |
</config> |
|---|
| 95 |
</check> |
|---|
| 96 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3aa" target="8.8.38.5"> |
|---|
| 97 |
<config> |
|---|
| 98 |
<url>https://labs.omniti.com/</url> |
|---|
| 99 |
<code>200</code> |
|---|
| 100 |
</config> |
|---|
| 101 |
</check> |
|---|
| 102 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3ff" target="8.8.38.59"> |
|---|
| 103 |
<config> |
|---|
| 104 |
<url>https://taskman.omniti.com/</url> |
|---|
| 105 |
<code>200</code> |
|---|
| 106 |
</config> |
|---|
| 107 |
</check> |
|---|
| 108 |
</web> |
|---|
| 109 |
<resmon module="resmon" period="30000"> |
|---|
| 110 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fd" timeout="2000" target="10.225.209.36"/> |
|---|
| 111 |
</resmon> |
|---|
| 112 |
<switches module="snmp" period="60000"> |
|---|
| 113 |
<config inherit="SwitchPortX"/> |
|---|
| 114 |
<switch target="10.80.116.3"> |
|---|
| 115 |
<check uuid="1b4e28ba-2fa1-11d2-883f-e9b761bde3fb" name="1"/> |
|---|
| 116 |
<check uuid="1b4e28ba-3fa1-11d2-883f-e9b761bde3fb" name="2"/> |
|---|
| 117 |
<check uuid="1b4e29ba-3fa1-11d2-883f-e9b761bde3fb" name="3"/> |
|---|
| 118 |
<check uuid="4deb0724-ccee-4360-83bc-255e7b9d989d" name="4"/> |
|---|
| 119 |
</switch> |
|---|
| 120 |
</switches> |
|---|
| 121 |
</dc1> |
|---|
| 122 |
<check uuid="002d58ff-20ff-4db0-9420-782fc1748dc4" module="ssh2" target="10.80.117.2" period="60000" timeout="4000"/> |
|---|
| 123 |
</checks> |
|---|
| 124 |
<filtersets> |
|---|
| 125 |
<filterset name="default"> |
|---|
| 126 |
<rule type="deny" module="^ping_icmp$" metric="^(?:minimum|maximum|count)$" /> |
|---|
| 127 |
</filterset> |
|---|
| 128 |
</filtersets> |
|---|
| 129 |
<config_templates> |
|---|
| 130 |
<config id="SwitchPort"> |
|---|
| 131 |
<oid_description>IF-MIB::ifDescr.%[name]</oid_description> |
|---|
| 132 |
<oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> |
|---|
| 133 |
<oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> |
|---|
| 134 |
<oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> |
|---|
| 135 |
<oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> |
|---|
| 136 |
<oid_inoctets>IF-MIB::ifInOctets.%[name]</oid_inoctets> |
|---|
| 137 |
<oid_outoctets>IF-MIB::ifOutOctets.%[name]</oid_outoctets> |
|---|
| 138 |
<oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> |
|---|
| 139 |
<oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> |
|---|
| 140 |
<oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> |
|---|
| 141 |
<oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> |
|---|
| 142 |
<oid_inucastpkts>IF-MIB::ifInUcastPkts.%[name]</oid_inucastpkts> |
|---|
| 143 |
<oid_outucastpkts>IF-MIB::ifOutUcastPkts.%[name]</oid_outucastpkts> |
|---|
| 144 |
<oid_inbcastpkts>IF-MIB::ifInNUcastPkts.%[name]</oid_inbcastpkts> |
|---|
| 145 |
<oid_outbcastpkts>IF-MIB::ifOutNUcastPkts.%[name]</oid_outbcastpkts> |
|---|
| 146 |
</config> |
|---|
| 147 |
<config id="SwitchPortX"> |
|---|
| 148 |
<oid_description>IF-MIB::ifName.%[name]</oid_description> |
|---|
| 149 |
<oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> |
|---|
| 150 |
<oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> |
|---|
| 151 |
<oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> |
|---|
| 152 |
<oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> |
|---|
| 153 |
<oid_inoctets>IF-MIB::ifHCInOctets.%[name]</oid_inoctets> |
|---|
| 154 |
<oid_outoctets>IF-MIB::ifHCOutOctets.%[name]</oid_outoctets> |
|---|
| 155 |
<oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> |
|---|
| 156 |
<oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> |
|---|
| 157 |
<oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> |
|---|
| 158 |
<oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> |
|---|
| 159 |
<oid_inucastpkts>IF-MIB::ifHCInUcastPkts.%[name]</oid_inucastpkts> |
|---|
| 160 |
<oid_outucastpkts>IF-MIB::ifHCOutUcastPkts.%[name]</oid_outucastpkts> |
|---|
| 161 |
<oid_inbcastpkts>IF-MIB::ifHCInBroadcastPkts.%[name]</oid_inbcastpkts> |
|---|
| 162 |
<oid_outbcastpkts>IF-MIB::ifHCOutBroadcastPkts.%[name]</oid_outbcastpkts> |
|---|
| 163 |
</config> |
|---|
| 164 |
</config_templates> |
|---|
| 165 |
</noit> |
|---|