newrelic_f5_plugin 1.0.18 → 1.0.19

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.
data/CHANGES CHANGED
@@ -1,3 +1,16 @@
1
+ * 1.0.19
2
+ - Adapt to CPU reporting changes in versions after 11.4.1
3
+
4
+ * 1.0.18
5
+ - Added global SSL statistics
6
+ - Requests/second
7
+ - Transactions per Protocol (SSLv3, TLSv1, TLSv2)
8
+ - Transactions per Digest
9
+ - Transactions per Key Exchange
10
+
11
+ * 1.0.17
12
+ - Adapt to CPU reporting changes in 11.4.1
13
+
1
14
  * 1.0.16
2
15
  - Added Interface statistics
3
16
  - State
data/README.rdoc CHANGED
@@ -51,13 +51,13 @@ Global SSL Statistics
51
51
  === Proxy host
52
52
 
53
53
  You need a host to install the plugin on that is able to poll the desired F5s via SNMP. That
54
- host also needs Ruby (tested with 1.8.7 and 1.9.3), and support for rubygems.
54
+ host also needs Ruby (tested with 1.8.7, 1.9.3, and 2.0.0), and support for rubygems.
55
55
 
56
56
 
57
57
  === F5
58
58
 
59
- This plugin has been tested with F5 LTM versions 11.2.x and 11.3.x. Some metrics are reported on
60
- 10.2.x, but the data is incomplete due to SNMP changes made by F5 between 10 and 11.
59
+ This plugin has been tested with F5 LTM versions 11.2.x, 11.3.x, and 11.5.1. Some metrics are
60
+ reported on 10.2.x, but the data is incomplete due to SNMP changes made by F5 between 10 and 11.
61
61
 
62
62
  A *read-only* SNMP community is required for each device to be monitored. Currently, only
63
63
  SNMP version 2c is supported.
@@ -4,7 +4,7 @@ require 'newrelic_plugin'
4
4
  require 'snmp'
5
5
 
6
6
  module NewRelic::F5Plugin
7
- VERSION = '1.0.18'
7
+ VERSION = '1.0.19'
8
8
 
9
9
  # Register and run the agent
10
10
  def self.run
@@ -119,11 +119,11 @@ module NewRelic
119
119
 
120
120
  # In order to show the CPU usage as a total percentage, we divide by the number of cpus for older versions
121
121
  case @version
122
- when /^11\.4\.1/
122
+ when /^11\.[0-4]\.0/
123
+ cpu_count = res[0].to_i
124
+ else
123
125
  # 11.4.1 HF3 reports average CPU not total, so don't divide by CPU count
124
126
  cpu_count = 1
125
- else
126
- cpu_count = res[0].to_i
127
127
  end
128
128
 
129
129
  vals = res[1..6].map { |i| i.to_f / cpu_count }
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'newrelic_f5_plugin'
16
- s.version = '1.0.18'
17
- s.date = '2014-10-14'
16
+ s.version = '1.0.19'
17
+ s.date = '2016-03-15'
18
18
  s.rubyforge_project = 'newrelic_f5_plugin'
19
19
  s.licenses = ['MIT']
20
20
 
metadata CHANGED
@@ -1,57 +1,64 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_f5_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Jonathan Thurman
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
12
+ date: 2016-03-15 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: newrelic_plugin
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.3'
20
- - - ">="
22
+ - - ! '>='
21
23
  - !ruby/object:Gem::Version
22
24
  version: 1.3.0
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
- - - "~>"
30
+ - - ~>
28
31
  - !ruby/object:Gem::Version
29
32
  version: '1.3'
30
- - - ">="
33
+ - - ! '>='
31
34
  - !ruby/object:Gem::Version
32
35
  version: 1.3.0
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: snmp
35
38
  requirement: !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
- - - "~>"
41
+ - - ~>
38
42
  - !ruby/object:Gem::Version
39
43
  version: '1.1'
40
- - - ">="
44
+ - - ! '>='
41
45
  - !ruby/object:Gem::Version
42
46
  version: 1.1.0
43
47
  type: :runtime
44
48
  prerelease: false
45
49
  version_requirements: !ruby/object:Gem::Requirement
50
+ none: false
46
51
  requirements:
47
- - - "~>"
52
+ - - ~>
48
53
  - !ruby/object:Gem::Version
49
54
  version: '1.1'
50
- - - ">="
55
+ - - ! '>='
51
56
  - !ruby/object:Gem::Version
52
57
  version: 1.1.0
53
- description: |
54
- This is the New Relic plugin for monitoring F5 devices developed by New Relic, Inc.
58
+ description: ! 'This is the New Relic plugin for monitoring F5 devices developed by
59
+ New Relic, Inc.
60
+
61
+ '
55
62
  email: support@newrelic.com
56
63
  executables:
57
64
  - f5_monitor
@@ -90,28 +97,29 @@ files:
90
97
  homepage: http://newrelic.com
91
98
  licenses:
92
99
  - MIT
93
- metadata: {}
94
- post_install_message: "To get started with this plugin, create a working directory
100
+ post_install_message: ! "To get started with this plugin, create a working directory
95
101
  and do \n f5_monitor -h\nto find out how to install and run the plugin agent.\n"
96
102
  rdoc_options:
97
- - "--charset=UTF-8"
98
- - "--main"
103
+ - --charset=UTF-8
104
+ - --main
99
105
  - README.rdoc
100
106
  require_paths:
101
107
  - lib
102
108
  required_ruby_version: !ruby/object:Gem::Requirement
109
+ none: false
103
110
  requirements:
104
- - - ">="
111
+ - - ! '>='
105
112
  - !ruby/object:Gem::Version
106
113
  version: '0'
107
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
+ none: false
108
116
  requirements:
109
- - - ">="
117
+ - - ! '>='
110
118
  - !ruby/object:Gem::Version
111
119
  version: '0'
112
120
  requirements: []
113
121
  rubyforge_project: newrelic_f5_plugin
114
- rubygems_version: 2.2.2
122
+ rubygems_version: 1.8.23
115
123
  signing_key:
116
124
  specification_version: 2
117
125
  summary: New Relic F5 plugin
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 648f7f011c587d8cfa13ce4c329804acdbbc6892
4
- data.tar.gz: ffceb3d6f017b737c13349c671c044dbb4d79ba4
5
- SHA512:
6
- metadata.gz: 22d37b9b929e8d6c767e6cbe871d53ec2e536a0bbb2a37586253cc2ee3c98883a33ae0b1f144303b1b937a37bce39b0e6c305a006af47229328fef83c5e80158
7
- data.tar.gz: ef2b5a0c86d550a32f5690e9eedcb11fabbe57acfb7b4177b6a51db26e0cb2c78d418d07b46341d597a50ef92e65315814ab197a2a0727406e5f259d4b903608