sensu-plugins-openstack 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 137dfeab64f07ff389040c465e3a148e75b8fe41
4
- data.tar.gz: 4a2d3ab84755442d516a1c39e1635207b0576726
3
+ metadata.gz: d647d31fdc290e076f32d31433da2bec8cb71be6
4
+ data.tar.gz: 06756f5177bde7e959a6b6e9ed4f0bcbc48f3de3
5
5
  SHA512:
6
- metadata.gz: 254ccc0f4b574632a83a4240db2be1d984b890eb1c6c60ca726f7fa78b1aa76f6221a6a6ba91a908461abdaabec78f65df838d81b297bc04055337036b6413ee
7
- data.tar.gz: 01b92e9b59870315a90bee2b3a062a4da1842519e721bcd3f60f661efe88dcce5ee7f879f5e26520248b7b0beffff2ad7804022ece11b7466b322922e01c98a8
6
+ metadata.gz: b6110415292ed1d9b40f4a0bf064e75d73100f584b96f67480a88a763a20d62cff4ab81284a366b6ae3397939b59c056f6de56e907ad934e7c713db47ae210f8
7
+ data.tar.gz: 2c8ff3a8a5459701c98d584fe48ca940a7ccb3c0e703bccadf3692cd193ec760b940a3c5af6a968cac136ca81b2135e90a2235af45dfcab09af3bdc50ede140b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.0.5] - 2015-12-09
9
+ ### Fixed
10
+ - no module named v3 in novaclient
11
+
8
12
  ## [0.0.4] - 2015-09-29
9
13
  ### Changed
10
14
  - nova: optionally get auth from ENV
@@ -11,8 +11,9 @@ from os import getenv
11
11
  import socket
12
12
  import time
13
13
 
14
- from novaclient.v3 import Client
14
+ from novaclient.client import Client
15
15
 
16
+ NOVA_API_VERSION = '2'
16
17
  DEFAULT_SCHEME = '{}.nova.hypervisors'.format(socket.gethostname())
17
18
 
18
19
  METRIC_KEYS = (
@@ -41,7 +42,7 @@ def main():
41
42
  parser.add_argument('-s', '--scheme', default=DEFAULT_SCHEME)
42
43
  args = parser.parse_args()
43
44
 
44
- client = Client(args.user, args.password, args.tenant, args.auth_url, service_type=args.service_type)
45
+ client = Client(NOVA_API_VERSION, args.user, args.password, args.tenant, args.auth_url, service_type=args.service_type)
45
46
 
46
47
  if args.host:
47
48
  hypervisors = client.hypervisors.search(args.host)
@@ -6,8 +6,9 @@ from os import getenv
6
6
  import socket
7
7
  import time
8
8
 
9
- from novaclient.v3 import Client
9
+ from novaclient.client import Client
10
10
 
11
+ NOVA_API_VERSION = '2'
11
12
  DEFAULT_SCHEME = '{}.nova.states'.format(socket.gethostname())
12
13
 
13
14
  def output_metric(name, value):
@@ -23,7 +24,7 @@ def main():
23
24
  parser.add_argument('-s', '--scheme', default=DEFAULT_SCHEME)
24
25
  args = parser.parse_args()
25
26
 
26
- client = Client(args.user, args.password, args.tenant, args.auth_url, service_type=args.service_type)
27
+ client = Client(NOVA_API_VERSION, args.user, args.password, args.tenant, args.auth_url, service_type=args.service_type)
27
28
 
28
29
  servers = client.servers.list()
29
30
 
@@ -2,7 +2,7 @@ module SensuPluginsOpenstack
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 4
5
+ PATCH = 5
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-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-09-29 00:00:00.000000000 Z
33
+ date: 2015-12-09 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -172,7 +172,10 @@ dependencies:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0.10'
175
- description: Sensu plugins for openstack
175
+ description: |-
176
+ This plugin provies native OpenStack instrumentation for monitoring and metrics
177
+ collection, including: service health and metrics from Ceilometer, Keystone,
178
+ Neutron, and Nova.
176
179
  email: "<sensu-users@googlegroups.com>"
177
180
  executables: []
178
181
  extensions: []
metadata.gz.sig CHANGED
Binary file