| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="utf8" standalone="yes"?> |
|---|
| 2 |
<noit> |
|---|
| 3 |
<eventer> |
|---|
| 4 |
<implementation>kqueue</implementation> |
|---|
| 5 |
<config> |
|---|
| 6 |
<default_queue_threads>10</default_queue_threads> |
|---|
| 7 |
</config> |
|---|
| 8 |
</eventer> |
|---|
| 9 |
<logs> |
|---|
| 10 |
<log name="error"> |
|---|
| 11 |
<outlet name="stderr" /> |
|---|
| 12 |
</log> |
|---|
| 13 |
<log name="debug" disabled="true"> |
|---|
| 14 |
<outlet name="stderr" /> |
|---|
| 15 |
</log> |
|---|
| 16 |
</logs> |
|---|
| 17 |
<modules> |
|---|
| 18 |
<directory>./modules</directory> |
|---|
| 19 |
<module> |
|---|
| 20 |
<image>ping_icmp</image> |
|---|
| 21 |
<name>ping_icmp</name> |
|---|
| 22 |
<config> |
|---|
| 23 |
<key1>value2</key1> |
|---|
| 24 |
<key2>value2</key2> |
|---|
| 25 |
</config> |
|---|
| 26 |
</module> |
|---|
| 27 |
<module> |
|---|
| 28 |
<image>http</image> |
|---|
| 29 |
<name>resmon</name> |
|---|
| 30 |
</module> |
|---|
| 31 |
<module> |
|---|
| 32 |
<image>http</image> |
|---|
| 33 |
<name>resmon_part</name> |
|---|
| 34 |
</module> |
|---|
| 35 |
<module> |
|---|
| 36 |
<image>http</image> |
|---|
| 37 |
<name>http</name> |
|---|
| 38 |
</module> |
|---|
| 39 |
</modules> |
|---|
| 40 |
<listeners> |
|---|
| 41 |
<listener> |
|---|
| 42 |
<type>noit_console</type> |
|---|
| 43 |
<address>/tmp/noit</address> |
|---|
| 44 |
</listener> |
|---|
| 45 |
<listener> |
|---|
| 46 |
<type>noit_console</type> |
|---|
| 47 |
<address>*</address> |
|---|
| 48 |
<port>32323</port> |
|---|
| 49 |
</listener> |
|---|
| 50 |
</listeners> |
|---|
| 51 |
<checks> |
|---|
| 52 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp" target="10.80.116.4" period="15000" timeout="14000"/> |
|---|
| 53 |
<dc1 timeout="30000" period="60000"> |
|---|
| 54 |
<icmp module="ping_icmp" timeout="12000"> |
|---|
| 55 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fb" target="66.225.209.7"/> |
|---|
| 56 |
</icmp> |
|---|
| 57 |
<web module="http" timeout="8000"> |
|---|
| 58 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fc" target="66.225.209.31"> |
|---|
| 59 |
<config> |
|---|
| 60 |
<url>http://ngm.nationalgeographic.com/ngm/ngm.html</url> |
|---|
| 61 |
<code>302</code> |
|---|
| 62 |
</config> |
|---|
| 63 |
</check> |
|---|
| 64 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3ff" target="8.8.38.59"> |
|---|
| 65 |
<config> |
|---|
| 66 |
<url>https://taskman.omniti.com/</url> |
|---|
| 67 |
<code>200</code> |
|---|
| 68 |
</config> |
|---|
| 69 |
</check> |
|---|
| 70 |
</web> |
|---|
| 71 |
<resmon module="resmon" period="30000" timeout="5000"> |
|---|
| 72 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fd" timeout="2000" target="10.225.209.36"/> |
|---|
| 73 |
<parts module="resmon_part" period="0" timeout="1000" oncheck="resmon"> |
|---|
| 74 |
<check uuid="1b4e28ba-2fa1-11d2-883f-b9a761bde3fe" target="10.225.209.36"> |
|---|
| 75 |
<config> |
|---|
| 76 |
<resmon_module>FAULTS</resmon_module> |
|---|
| 77 |
<resmon_service>hardware</resmon_service> |
|---|
| 78 |
</config> |
|---|
| 79 |
</check> |
|---|
| 80 |
</parts> |
|---|
| 81 |
</resmon> |
|---|
| 82 |
</dc1> |
|---|
| 83 |
</checks> |
|---|
| 84 |
</noit> |
|---|