sensu-plugins-network-interface 0.1.7 → 0.1.8

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: c4ef0c14f5a357b54224fd23e4b8a05bbed5ef26
4
- data.tar.gz: 125d2256dc6feb94e138f2e79f61410027b2795a
3
+ metadata.gz: 0446a7dd7f1d1ebe7c99ef64461fe99d29b7e6dc
4
+ data.tar.gz: 97214fefb73a8065427e23a5902d5f19b1cf8612
5
5
  SHA512:
6
- metadata.gz: 66f80a95bed089b080f0862e21a3cc64a846eebec08603df7744034020d0d62bf384ea48578208da3335648d9a0704adecf9d0f36778173ee6678b7a04bb9e08
7
- data.tar.gz: b986e7d020f4201fe4fcba17b4d7fac0784d4174dfc97977b56870e2c8da4db033c06168482ccb3e346c04cc5d05261e6423e9b084820cb5d5bb6d1889b03ba0
6
+ metadata.gz: e816415a4439578058b85404bcf4b354aff2b84cb2f7cebba417a56ee65099a7aac8577c34567bad33a1299a6e5b487e995e95bf2e84d23e236a84bb0a2abce3
7
+ data.tar.gz: c7c4b32e8557f88054315b6dd97d01eb2ed152470e68afa82580db9d08417b0c51a1b787400b2dccd14c3aa7355e83c3960f4525b8ed7984c5cdef9443f63e00
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## [0.1.8] - 2015-12-29
9
+ ### Added
10
+ - Adding long options
11
+
8
12
  ## [0.1.7] - 2015-12-29
9
13
  ### Added
10
14
  - Fixed wrong logic when populating interface_config from ifcfg files
@@ -13,24 +13,28 @@ class CheckNetworkInterface < Sensu::Plugin::Check::CLI
13
13
  option :interface,
14
14
  :description => "Comma separated list of interfaces to check (default: ALL)",
15
15
  :short => "-i <INTERFACES>",
16
+ :long => "--interface <INTERFACES>",
16
17
  :proc => proc { |a| a.split(',') },
17
18
  :default => []
18
19
 
19
20
  option :interface_regex,
20
21
  :description => "Comma separated list of interfaces to check (regex)",
21
22
  :short => "-I <INTERFACES>",
23
+ :long => "--interface-regex <INTERFACES>",
22
24
  :proc => proc { |a| a.split(',') },
23
25
  :default => []
24
26
 
25
27
  option :ignore_interface,
26
28
  :description => "Comma separated list of interfaces to ignore",
27
29
  :short => "-x <INTERFACES>",
30
+ :long => "--ignore-interface <INTERFACES>",
28
31
  :proc => proc { |a| a.split(',') },
29
32
  :default => []
30
33
 
31
34
  option :ignore_interface_regex,
32
35
  :description => "Comma separated list of Interfaces to ignore (regex)",
33
36
  :short => "-X <INTERFACES>",
37
+ :long => "--ignore-interface-regex <INTERFACES>",
34
38
  :proc => proc { |a| a.split(',') },
35
39
  :default => []
36
40
 
@@ -2,7 +2,7 @@ module SensuPluginsNetworkInterface
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 7
5
+ PATCH = 8
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-network-interface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti