onering-report-plugins 0.0.42 → 0.0.43
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.
@@ -9,7 +9,7 @@ when 'debian' then flags += " -W"
|
|
9
9
|
when 'redhat' then flags += " -T"
|
10
10
|
end
|
11
11
|
|
12
|
-
listening = Facter::Util::Resolution.exec("nice -n 19 netstat #{flags} -l | tr -s ' '")
|
12
|
+
listening = Facter::Util::Resolution.exec("nice -n 19 netstat #{flags} -l | tr -s ' ' | sed 's/ LISTEN//g'")
|
13
13
|
#nonlistening = Facter::Util::Resolution.exec("nice -n 19 netstat #{flags} | tr -s ' '")
|
14
14
|
|
15
15
|
# netstat = {
|
@@ -27,7 +27,7 @@ def getcommandline(pid)
|
|
27
27
|
end
|
28
28
|
|
29
29
|
listening.lines.to_a[2..-1].each do |line|
|
30
|
-
protocol, recvq, sendq, local, foreign,
|
30
|
+
protocol, recvq, sendq, local, foreign, user, inode, program = line.split(' ', 8)
|
31
31
|
|
32
32
|
next unless protocols.include?(protocol)
|
33
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onering-report-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.43
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-04-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: onering-client
|
16
|
-
requirement: &
|
16
|
+
requirement: &11969420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11969420
|
25
25
|
description: Base plugins for providing system information via the Onering client
|
26
26
|
utility
|
27
27
|
email: ghetzel@outbrain.com
|