sensu-plugins-network-interface 0.1.7 → 0.1.8
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 +4 -0
- data/bin/check-network-interface.rb +4 -0
- data/lib/sensu-plugins-network-interface/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0446a7dd7f1d1ebe7c99ef64461fe99d29b7e6dc
|
|
4
|
+
data.tar.gz: 97214fefb73a8065427e23a5902d5f19b1cf8612
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|