sensu-plugins-zfs 1.2.3 → 1.2.4
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/lib/sensu-plugins-zfs/version.rb +1 -1
- data/lib/sensu-plugins-zfs/zpool.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b582e3c3307fe6a7efb705b25e0d7a0281541db1
         | 
| 4 | 
            +
              data.tar.gz: 1f9571ce395fdb2f80afe338e1a9a02e64e717c8
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 450af5e3322705e90c4fb69c1f4bb2c89a6400c27f3093c7d949c0dc1ba28a2a56fa3997331eec0eac8e5fd2873f77970dcbb9d52a2174397b0011b87b8b3fed
         | 
| 7 | 
            +
              data.tar.gz: 3379ecb09197bf7fef3092d6adb1583ebba7221c60df9cdf799351c6f05f9b0de8fd7481826e4f3d16f646e260fde9877c18ceffede83cf27e03f3ce4aa8f4be
         | 
| @@ -29,7 +29,7 @@ module SensuPluginsZFS | |
| 29 29 | 
             
                  elsif scrub_in_progress?
         | 
| 30 30 | 
             
                    return Time.now
         | 
| 31 31 | 
             
                  end
         | 
| 32 | 
            -
                  Time.parse %x[sudo zpool status  | 
| 32 | 
            +
                  Time.parse %x[sudo zpool status #{@name} | grep '^  scan: scrub' | awk '{print $11" "$12" "$13" "$14" "$15}'].strip
         | 
| 33 33 | 
             
                end
         | 
| 34 34 |  | 
| 35 35 | 
             
                private
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: sensu-plugins-zfs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.2. | 
| 4 | 
            +
              version: 1.2.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Benjamin Nørgaard
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017- | 
| 11 | 
            +
            date: 2017-08-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: sensu-plugin
         | 
| @@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 72 72 | 
             
                  version: '0'
         | 
| 73 73 | 
             
            requirements: []
         | 
| 74 74 | 
             
            rubyforge_project: 
         | 
| 75 | 
            -
            rubygems_version: 2. | 
| 75 | 
            +
            rubygems_version: 2.6.12
         | 
| 76 76 | 
             
            signing_key: 
         | 
| 77 77 | 
             
            specification_version: 4
         | 
| 78 78 | 
             
            summary: Sensu plugin for zfs
         |