sensu-plugins-network-checks 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50406125ae72e5f45615dac795f6be112a94ad30
4
- data.tar.gz: 9842a7811c2c0fa9dda4d8e5a20ddde30c907e75
3
+ metadata.gz: eaa08a67f935bf8fbbbca08e55d8041ac1dd334f
4
+ data.tar.gz: 9b88d7c0bf3ed212172065af302c1ed312dc876b
5
5
  SHA512:
6
- metadata.gz: a8721853fe0c55fb87cbc24e0e7b28ae0579a0789212b11a925a74dfed15d3602e0d1e8e091abc6b89ad1601d1002429dbcce9854dbce9c6e5679e91eb1ba858
7
- data.tar.gz: d94f19d93646f85209384b1f640707eb7e5ef1eae4d9e755fdcbba93ac01fc13c4184ba63a36fa242eb6becd14ac021e23462fc3e825c30bc038bf0ae8a9ecaa
6
+ metadata.gz: 12bf5523fa57fc8fdc1a0044c3735da489718385af2a199944e38f149c2e9ea01336b8c190c904ac0fd0d15604db150ac328c5b30091fd96cfa602704e4eb5f7
7
+ data.tar.gz: 910729a20cebac240f27a2464ed3bc6cf1c19febc22b8c074b31ac60a2ac223373b7b755ece3918efb785a67b11354c3b8d6bcc53abae1a0e857e40e489e03e4
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased][unreleased]
7
7
 
8
+ ## [0.0.2] - 2015-06-03
9
+
10
+ ### Fixed
11
+ - added binstubs
12
+
13
+ ### Changed
14
+ - removed cruft from /lib
15
+
8
16
  ## 0.0.1 - 2015-05-01
9
17
 
10
18
  ### Added
data/bin/check-banner.rb CHANGED
@@ -17,7 +17,6 @@
17
17
  #
18
18
  # DEPENDENCIES:
19
19
  # gem: sensu-plugin
20
- # gem: timeout
21
20
  #
22
21
  # USAGE:
23
22
  #
@@ -19,7 +19,6 @@
19
19
  # DEPENDENCIES:
20
20
  # gem: sensu-plugin
21
21
  # gem: json
22
- # gem: set
23
22
  #
24
23
  # USAGE:
25
24
  # example commands
@@ -13,7 +13,6 @@
13
13
  #
14
14
  # DEPENDENCIES:
15
15
  # gem: sensu-plugin
16
- # gem: <?>
17
16
  #
18
17
  # USAGE:
19
18
  # $ ./check-netstat-tcp.rb --states ESTABLISHED,CLOSE_WAIT --warning 10,3 --critical 100,30
data/bin/check-ports.rb CHANGED
@@ -14,9 +14,7 @@
14
14
  #
15
15
  # DEPENDENCIES:
16
16
  # gem: sensu-plugin
17
- # gem: open3
18
- # gem: json
19
- # nmap
17
+ # nmap package
20
18
  #
21
19
  # USAGE:
22
20
  # $ ./check-ports.rb --host some_server --ports 5671,5672 --level crit
data/bin/metrics-net.rb CHANGED
@@ -27,7 +27,6 @@
27
27
  #
28
28
  # DEPENDENCIES:
29
29
  # gem: sensu-plugin
30
- # gem: <?>
31
30
  #
32
31
  # USAGE:
33
32
  # $ ./metrics-packets.rb --scheme servers.web01
@@ -15,7 +15,6 @@
15
15
  #
16
16
  # DEPENDENCIES:
17
17
  # gem: sensu-plugin
18
- # gem: <?>
19
18
  #
20
19
  # USAGE:
21
20
  # $ ./metrics-netstat-tcp.rb --scheme servers.hostname
@@ -1,14 +1 @@
1
1
  require 'sensu-plugins-network-checks/version'
2
-
3
- # Load the defaults
4
-
5
- #
6
- # Default class
7
- #
8
- module SensuPluginsNetworkChecks
9
- class << self
10
- end
11
-
12
- class << self
13
- end
14
- end
@@ -1,28 +1,9 @@
1
- require 'json'
2
-
3
- # encoding: utf-8
4
1
  module SensuPluginsNetworkChecks
5
- # This defines the version of the gem
6
2
  module Version
7
3
  MAJOR = 0
8
4
  MINOR = 0
9
- PATCH = 1
5
+ PATCH = 2
10
6
 
11
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
-
13
- NAME = 'sensu-plugins-network-checks'
14
- BANNER = "#{NAME} v%s"
15
-
16
- module_function
17
-
18
- def version
19
- format(BANNER, VER_STRING)
20
- end
21
-
22
- def json_version
23
- {
24
- 'version' => VER_STRING
25
- }.to_json
26
- end
27
8
  end
28
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-network-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-05-22 00:00:00.000000000 Z
33
+ date: 2015-06-03 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -52,56 +52,42 @@ dependencies:
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 1.0.1
55
+ version: 1.0.2
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 1.0.1
62
+ version: 1.0.2
63
63
  - !ruby/object:Gem::Dependency
64
- name: timeout
64
+ name: net-ping
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 0.0.1
69
+ version: 1.7.7
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 0.0.1
76
+ version: 1.7.7
77
77
  - !ruby/object:Gem::Dependency
78
- name: json
78
+ name: whois
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 1.8.2
83
+ version: 3.5.9
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 1.8.2
91
- - !ruby/object:Gem::Dependency
92
- name: net
93
- requirement: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - '='
96
- - !ruby/object:Gem::Version
97
- version: 0.2.1
98
- type: :runtime
99
- prerelease: false
100
- version_requirements: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - '='
103
- - !ruby/object:Gem::Version
104
- version: 0.2.1
90
+ version: 3.5.9
105
91
  - !ruby/object:Gem::Dependency
106
92
  name: codeclimate-test-reporter
107
93
  requirement: !ruby/object:Gem::Requirement
@@ -230,7 +216,20 @@ dependencies:
230
216
  version: '0.10'
231
217
  description: Sensu plugins for checking network hardware, connections, and data
232
218
  email: "<sensu-users@googlegroups.com>"
233
- executables: []
219
+ executables:
220
+ - metrics-sockstat.rb
221
+ - metrics-netstat-tcp.rb
222
+ - metrics-netif.rb
223
+ - metrics-net.rb
224
+ - metrics-interface.rb
225
+ - check-whois-domain-expiration.rb
226
+ - check-rbl.rb
227
+ - check-ports.rb
228
+ - check-ping.rb
229
+ - check-netstat-tcp.rb
230
+ - check-multicast-groups.rb
231
+ - check-mtu.rb
232
+ - check-banner.rb
234
233
  extensions: []
235
234
  extra_rdoc_files: []
236
235
  files:
metadata.gz.sig CHANGED
Binary file