Changeset 72e62f78f28e05bb81e934d01101f777d85e2cd2

Show
Ignore:
Timestamp:
09/18/09 23:58:47 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1253318327 +0000
git-parent:

[bfa16cdd10be15a88619405881c441889ca08189]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1253318327 +0000
Message:

first whack, please test the crap out of this. refs #181

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/Makefile.in

    r66c613e r72e62f7  
    2929 
    3030LUA=noit/timeval.lua \ 
     31        noit/HttpClient.lua \ 
    3132        noit/module/varnish.lua \ 
    32         noit/module/smtp.lua 
     33        noit/module/smtp.lua \ 
     34        noit/module/http.lua \ 
     35        noit/module/resmon.lua 
    3336 
    3437all: 
  • src/noit.conf.in

    r28b073c r72e62f7  
    4747    <module image="selfcheck" name="selfcheck"/> 
    4848    <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> 
    5449    <module image="snmp" name="snmp"/> 
    5550    <module image="ssh2" name="ssh2"/> 
    5651    <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"/> 
    5755  </modules> 
    5856  <listeners> 
     
    111109      <resmon module="resmon" period="30000"> 
    112110        <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> 
    121111      </resmon> 
    122112      <switches module="snmp" period="60000">