sensu-plugins-filesize 0.1.0 → 0.2.0
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/README.md +6 -2
- data/bin/check-filesize.rb +1 -1
- data/lib/sensu/plugins/filesize/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12c0163a0b0dcd81b5c759d42e048de526743a2b
|
|
4
|
+
data.tar.gz: 5c48edc969097ee25308690a9c69591cffa1a998
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 458592b469593c8ae34708aefe7cc0ded4046339c161880b343194d2861e203855d92441a3587c2748cffce88fff2a440433102fba6b3f51c296c6838ecb210f
|
|
7
|
+
data.tar.gz: 2ce08a5e7fb93bc40be78274c14e7eac59120e2a1baeeaed0e12368acb67d2e609744a9085e5e6c44559bbd9655716413cb9091e0313e7388fb6ed16b1a36786
|
data/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
[](https://badge.fury.io/rb/sensu-plugins-filesize)
|
|
2
|
+
[](https://gemnasium.com/github.com/thomis/sensu-plugins-filesize)
|
|
3
|
+
[](https://travis-ci.org/thomis/sensu-plugins-filesize)
|
|
4
|
+
|
|
1
5
|
# sensu-plugins-filesize
|
|
2
6
|
|
|
3
7
|
Sensu plugin to search files based on size.
|
|
@@ -15,10 +19,10 @@ Sensu plugin to search files based on size.
|
|
|
15
19
|
check-filesize.rb -f ~ -s -100M
|
|
16
20
|
|
|
17
21
|
-- check for files exactly of size 50 kb in /apps folder including subfolders
|
|
18
|
-
check-filesize.rb -f /apps -s
|
|
22
|
+
check-filesize.rb -f /apps -s 50k
|
|
19
23
|
```
|
|
20
24
|
|
|
21
|
-
## About the -s or
|
|
25
|
+
## About the -s or --size option
|
|
22
26
|
|
|
23
27
|
The size option is transparently passed to the find command. More details can be found in the man pages of the find command (> man find).
|
|
24
28
|
|
data/bin/check-filesize.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-filesize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 2.3.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 2.3.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -44,28 +44,28 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version:
|
|
47
|
+
version: 12.1.0
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
54
|
+
version: 12.1.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rspec
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 3.6.0
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: 3.6.0
|
|
69
69
|
description: Sensu plugin to search files based on size
|
|
70
70
|
email:
|
|
71
71
|
- thomas.steiner@ikey.ch
|
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
106
106
|
version: '0'
|
|
107
107
|
requirements: []
|
|
108
108
|
rubyforge_project:
|
|
109
|
-
rubygems_version: 2.
|
|
109
|
+
rubygems_version: 2.6.12
|
|
110
110
|
signing_key:
|
|
111
111
|
specification_version: 4
|
|
112
112
|
summary: Sensu plugin to search files based on size
|