sensu 0.16.0-java → 0.17.0.beta.1-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +21 -0
 - data/bin/sensu-api +4 -4
 - data/bin/sensu-client +4 -4
 - data/bin/sensu-server +4 -4
 - data/lib/sensu/api/process.rb +704 -0
 - data/lib/sensu/cli.rb +21 -15
 - data/lib/sensu/client/process.rb +414 -0
 - data/lib/sensu/client/socket.rb +226 -0
 - data/lib/sensu/constants.rb +4 -1
 - data/lib/sensu/daemon.rb +125 -73
 - data/lib/sensu/redis.rb +10 -5
 - data/lib/sensu/server/filter.rb +309 -0
 - data/lib/sensu/server/handle.rb +168 -0
 - data/lib/sensu/server/mutate.rb +92 -0
 - data/lib/sensu/server/process.rb +811 -0
 - data/lib/sensu/server/sandbox.rb +21 -0
 - data/lib/sensu/server/socket.rb +42 -0
 - data/lib/sensu/utilities.rb +29 -3
 - data/sensu.gemspec +29 -28
 - metadata +34 -16
 - data/lib/sensu/api.rb +0 -704
 - data/lib/sensu/client.rb +0 -292
 - data/lib/sensu/sandbox.rb +0 -11
 - data/lib/sensu/server.rb +0 -767
 - data/lib/sensu/socket.rb +0 -246
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 527ae4bad6db09b92d1bcdf168319b8de1e219d5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8907b3f93f547df6a0181534c66b4a6f5549ad4f
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9ec6b9aa193780c2a4e3019c1b7c811c6af167e93f44bb7c8cf61af7a4c19fa7af5cc4b9d95605d485e065c4f2fc15ac21811842ef92d1fd3cdcd3baeb7dee17
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cf39bb13d3018b360a5032a59364f8225157c2119765cc00cfc725ba9b6f8ed2fd5a032c65655fb813ca792f54f09a92aa7cd7c2b09dc8fcbf3cae439bd291e6
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,3 +1,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ## 0.17.0 - TBD
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ### Features
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Improved Sensu client keepalive event check output.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            Hashed initial check request/execution scheduling splay, consistent over
         
     | 
| 
      
 8 
     | 
    
         
            +
            process restarts/reloads.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            Handler output with multiple lines is now logged as a single log event.
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            Support for Sensu filter extensions.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ### Other
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            Fixed TLS/SSL on Windows.
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            Fixed event filtering with event action, eg. `"action": "create"`.
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            Restructured and documented Sensu core with YARD.
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
       1 
22 
     | 
    
         
             
            ## 0.16.0 - 2014-10-31
         
     | 
| 
       2 
23 
     | 
    
         | 
| 
       3 
24 
     | 
    
         
             
            ### Other
         
     | 
    
        data/bin/sensu-api
    CHANGED
    
    | 
         @@ -1,10 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            unless $:.include?(File.dirname(__FILE__) +  
     | 
| 
       4 
     | 
    
         
            -
              $: << File.dirname(__FILE__) +  
     | 
| 
      
 3 
     | 
    
         
            +
            unless $:.include?(File.dirname(__FILE__) + "/../lib/")
         
     | 
| 
      
 4 
     | 
    
         
            +
              $: << File.dirname(__FILE__) + "/../lib"
         
     | 
| 
       5 
5 
     | 
    
         
             
            end
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
            require  
     | 
| 
      
 7 
     | 
    
         
            +
            require "sensu/api/process"
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
            options = Sensu::CLI.read
         
     | 
| 
       10 
     | 
    
         
            -
            Sensu::API.run(options)
         
     | 
| 
      
 10 
     | 
    
         
            +
            Sensu::API::Process.run(options)
         
     | 
    
        data/bin/sensu-client
    CHANGED
    
    | 
         @@ -1,10 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            unless $:.include?(File.dirname(__FILE__) +  
     | 
| 
       4 
     | 
    
         
            -
              $: << File.dirname(__FILE__) +  
     | 
| 
      
 3 
     | 
    
         
            +
            unless $:.include?(File.dirname(__FILE__) + "/../lib/")
         
     | 
| 
      
 4 
     | 
    
         
            +
              $: << File.dirname(__FILE__) + "/../lib"
         
     | 
| 
       5 
5 
     | 
    
         
             
            end
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
            require  
     | 
| 
      
 7 
     | 
    
         
            +
            require "sensu/client/process"
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
            options = Sensu::CLI.read
         
     | 
| 
       10 
     | 
    
         
            -
            Sensu::Client.run(options)
         
     | 
| 
      
 10 
     | 
    
         
            +
            Sensu::Client::Process.run(options)
         
     | 
    
        data/bin/sensu-server
    CHANGED
    
    | 
         @@ -1,10 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            unless $:.include?(File.dirname(__FILE__) +  
     | 
| 
       4 
     | 
    
         
            -
              $: << File.dirname(__FILE__) +  
     | 
| 
      
 3 
     | 
    
         
            +
            unless $:.include?(File.dirname(__FILE__) + "/../lib/")
         
     | 
| 
      
 4 
     | 
    
         
            +
              $: << File.dirname(__FILE__) + "/../lib"
         
     | 
| 
       5 
5 
     | 
    
         
             
            end
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
            require  
     | 
| 
      
 7 
     | 
    
         
            +
            require "sensu/server/process"
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
            options = Sensu::CLI.read
         
     | 
| 
       10 
     | 
    
         
            -
            Sensu::Server.run(options)
         
     | 
| 
      
 10 
     | 
    
         
            +
            Sensu::Server::Process.run(options)
         
     |