one2influx 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -5
  3. data/bin/one2influx.log +0 -92
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2538b53b0ce8cac2ffbb31b297dfe015f3d49e42
4
- data.tar.gz: f8bae0a57a94d99818f79f529d7ddd38b421dee5
3
+ metadata.gz: de061eb5b3f384bc94806b890ebbffbe56a8e9aa
4
+ data.tar.gz: 48b8af535409c35f0125a2d210ec1d72bd1fa38e
5
5
  SHA512:
6
- metadata.gz: 492ab445d56b866b7bd99df28c22afc5e4f8a1ee4288f794b0d8bd89dc9ddad7951c2fed6607a3c19c590b9bdab548ae589874e65d44269a3389049041c5aaf8
7
- data.tar.gz: bc944a9a54efb341f871a071da6fc0ce965fdf5f521efbcf8a0c12d2702202277637611b1a41522cc64943bedf055315adbe35a14889aee26bbe66c03376345f
6
+ metadata.gz: 2197a320a2cf5c36f9817e3223c81d07977c2cd243653aabb52eae6f1d0799f56c744abbc2dfe9855b80111fe239921ca903e2a092798935ffcc3aac7deefa95
7
+ data.tar.gz: 8088190af25852639289226a1d6e2ccc11896dcc73428afef171b4ed0816a9f0a64e5b366d8d0def4410aa5b24ee6d80e448e39656d15bdf6f309e4edc5aca51
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: one2influx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matej Zidek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -85,12 +85,10 @@ description: One2influx is small ruby daemon for getting monitoring data from Op
85
85
  email: zidek.matej@gmail.com
86
86
  executables:
87
87
  - one2influx
88
- - one2influx.log
89
88
  extensions: []
90
89
  extra_rdoc_files: []
91
90
  files:
92
91
  - bin/one2influx
93
- - bin/one2influx.log
94
92
  - lib/one2influx.rb
95
93
  - lib/one2influx/config.rb
96
94
  - lib/one2influx/data.rb
@@ -100,7 +98,7 @@ files:
100
98
  - lib/one2influx/one_object/host.rb
101
99
  - lib/one2influx/one_object/one_object.rb
102
100
  - lib/one2influx/one_object/virtual_machine.rb
103
- homepage: http://rubygems.org/gems/hola
101
+ homepage: https://rubygems.org/gems/one2influx
104
102
  licenses:
105
103
  - Apache License 2.0
106
104
  metadata: {}
data/bin/one2influx.log DELETED
@@ -1,92 +0,0 @@
1
- # Logfile created on 2015-04-29 17:25:53 +0200 by logger.rb/47272
2
- E, [2015-05-06T13:21:09.497567 #22731] ERROR -- : Unable to find out ONE version with message: Connection refused - connect(2) for "localhost" port 2633
3
- I, [2015-05-06T13:22:04.402884 #22917] INFO -- : Connection with ONE verified.
4
- I, [2015-05-06T13:22:04.421713 #22917] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
5
- I, [2015-05-06T13:22:04.574628 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
6
- I, [2015-05-06T13:22:04.574757 #22917] INFO -- : Successfully fetched data from ONE.
7
- E, [2015-05-06T13:22:04.574870 #22917] ERROR -- : exit
8
- I, [2015-05-06T13:22:34.766527 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
9
- I, [2015-05-06T13:22:34.766696 #22917] INFO -- : Successfully fetched data from ONE.
10
- E, [2015-05-06T13:22:34.766805 #22917] ERROR -- : exit
11
- I, [2015-05-06T13:23:04.887303 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
12
- I, [2015-05-06T13:23:04.887481 #22917] INFO -- : Successfully fetched data from ONE.
13
- E, [2015-05-06T13:23:04.887583 #22917] ERROR -- : exit
14
- I, [2015-05-06T13:23:35.004802 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
15
- I, [2015-05-06T13:23:35.004945 #22917] INFO -- : Successfully fetched data from ONE.
16
- E, [2015-05-06T13:23:35.005052 #22917] ERROR -- : exit
17
- I, [2015-05-06T13:24:05.143408 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
18
- I, [2015-05-06T13:24:05.143577 #22917] INFO -- : Successfully fetched data from ONE.
19
- E, [2015-05-06T13:24:05.143682 #22917] ERROR -- : exit
20
- I, [2015-05-06T13:24:35.314966 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
21
- I, [2015-05-06T13:24:35.315100 #22917] INFO -- : Successfully fetched data from ONE.
22
- E, [2015-05-06T13:24:35.315197 #22917] ERROR -- : exit
23
- I, [2015-05-06T13:24:52.210693 #23035] INFO -- : Connection with ONE verified.
24
- I, [2015-05-06T13:24:52.226595 #23035] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
25
- I, [2015-05-06T13:24:52.340054 #23035] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
26
- I, [2015-05-06T13:24:52.340200 #23035] INFO -- : Successfully fetched data from ONE.
27
- E, [2015-05-06T13:24:52.340320 #23035] ERROR -- : exit
28
- I, [2015-05-06T13:25:05.424588 #22917] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
29
- I, [2015-05-06T13:25:05.424739 #22917] INFO -- : Successfully fetched data from ONE.
30
- E, [2015-05-06T13:25:05.424834 #22917] ERROR -- : exit
31
- I, [2015-05-06T13:25:22.460081 #23035] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
32
- I, [2015-05-06T13:25:22.460184 #23035] INFO -- : Successfully fetched data from ONE.
33
- E, [2015-05-06T13:25:22.460258 #23035] ERROR -- : exit
34
- I, [2015-05-06T13:37:58.353992 #23321] INFO -- : Connection with ONE verified.
35
- I, [2015-05-06T13:37:58.367204 #23321] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
36
- I, [2015-05-06T13:37:58.524869 #23321] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
37
- I, [2015-05-06T13:37:58.525008 #23321] INFO -- : Successfully fetched data from ONE.
38
- E, [2015-05-06T13:37:58.525149 #23321] ERROR -- : exit
39
- I, [2015-05-06T13:38:44.753960 #23354] INFO -- : Connection with ONE verified.
40
- I, [2015-05-06T13:38:44.769092 #23354] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
41
- I, [2015-05-06T13:38:44.924625 #23354] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
42
- I, [2015-05-06T13:38:44.924757 #23354] INFO -- : Successfully fetched data from ONE.
43
- E, [2015-05-06T13:38:44.924866 #23354] ERROR -- : exit
44
- I, [2015-05-06T13:41:42.382117 #23434] INFO -- : Connection with ONE verified.
45
- I, [2015-05-06T13:41:42.398424 #23434] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
46
- I, [2015-05-06T13:41:42.948566 #23434] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
47
- I, [2015-05-06T13:41:42.948689 #23434] INFO -- : Successfully fetched data from ONE.
48
- E, [2015-05-06T13:41:42.948786 #23434] ERROR -- : exit
49
- I, [2015-05-06T13:42:00.006974 #23454] INFO -- : Connection with ONE verified.
50
- I, [2015-05-06T13:42:00.133223 #23454] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
51
- I, [2015-05-06T13:42:00.239825 #23454] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
52
- I, [2015-05-06T13:42:00.239937 #23454] INFO -- : Successfully fetched data from ONE.
53
- E, [2015-05-06T13:42:00.240007 #23454] ERROR -- : exit
54
- I, [2015-05-06T13:42:13.784101 #23470] INFO -- : Connection with ONE verified.
55
- I, [2015-05-06T13:42:13.798026 #23470] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
56
- W, [2015-05-06T13:42:13.845268 #23470] WARN -- : Unable to fetch ONE data. Trying 5 more times. Error: no implicit conversion of nil into String
57
- W, [2015-05-06T13:42:13.915400 #23470] WARN -- : Unable to fetch ONE data. Trying 4 more times. Error: no implicit conversion of nil into String
58
- W, [2015-05-06T13:42:13.984934 #23470] WARN -- : Unable to fetch ONE data. Trying 3 more times. Error: no implicit conversion of nil into String
59
- W, [2015-05-06T13:42:14.035001 #23470] WARN -- : Unable to fetch ONE data. Trying 2 more times. Error: no implicit conversion of nil into String
60
- W, [2015-05-06T13:42:14.085218 #23470] WARN -- : Unable to fetch ONE data. Trying 1 more times. Error: no implicit conversion of nil into String
61
- E, [2015-05-06T13:42:14.130828 #23470] ERROR -- : Unable to fetch ONE data for the 5th time. Error:no implicit conversion of nil into String. Stacktrace: ["/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:39:in `+'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:39:in `get_MEMORY_PERC'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:72:in `block in init_custom_metrics'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:71:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:71:in `init_custom_metrics'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:20:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:18:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:30:in `new'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:30:in `block (2 levels) in initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:25:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:25:in `block in initialize'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:35:in `call'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:35:in `block in each_element'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `each'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:34:in `each_element'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/pool.rb:152:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:22:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:62:in `new'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:62:in `block in <top (required)>'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:57:in `loop'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:57:in `<top (required)>'", "-e:1:in `load'", "-e:1:in `<main>'"]
62
- I, [2015-05-06T13:42:22.673995 #23494] INFO -- : Connection with ONE verified.
63
- I, [2015-05-06T13:42:22.688081 #23494] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
64
- W, [2015-05-06T13:42:22.735880 #23494] WARN -- : Unable to fetch ONE data. Trying 5 more times. Error: no implicit conversion of nil into String
65
- W, [2015-05-06T13:42:22.794775 #23494] WARN -- : Unable to fetch ONE data. Trying 4 more times. Error: no implicit conversion of nil into String
66
- W, [2015-05-06T13:42:22.837748 #23494] WARN -- : Unable to fetch ONE data. Trying 3 more times. Error: no implicit conversion of nil into String
67
- W, [2015-05-06T13:42:22.894808 #23494] WARN -- : Unable to fetch ONE data. Trying 2 more times. Error: no implicit conversion of nil into String
68
- W, [2015-05-06T13:42:22.954857 #23494] WARN -- : Unable to fetch ONE data. Trying 1 more times. Error: no implicit conversion of nil into String
69
- E, [2015-05-06T13:42:22.994985 #23494] ERROR -- : Unable to fetch ONE data for the 5th time. Error:no implicit conversion of nil into String. Stacktrace: ["/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:39:in `+'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:39:in `get_MEMORY_PERC'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:72:in `block in init_custom_metrics'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:71:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:71:in `init_custom_metrics'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/one_object.rb:20:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/one_object/virtual_machine.rb:18:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:30:in `new'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:30:in `block (2 levels) in initialize'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:25:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:25:in `block in initialize'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:35:in `call'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:35:in `block in each_element'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `each'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/xml_pool.rb:34:in `each_element'", "/home/ldoku/RubymineProjects/one2influx/vendor/bundle/ruby/2.2.0/gems/opennebula-4.12.0/lib/opennebula/pool.rb:152:in `each'", "/home/ldoku/RubymineProjects/one2influx/lib/one2influx/data.rb:22:in `initialize'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:62:in `new'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:62:in `block in <top (required)>'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:57:in `loop'", "/home/ldoku/RubymineProjects/one2influx/bin/one2influx:57:in `<top (required)>'", "-e:1:in `load'", "-e:1:in `<main>'"]
70
- I, [2015-05-06T13:42:58.004202 #23537] INFO -- : Connection with ONE verified.
71
- I, [2015-05-06T13:42:58.017566 #23537] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
72
- E, [2015-05-06T13:42:58.054988 #23537] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
73
- E, [2015-05-06T13:42:58.074978 #23537] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
74
- E, [2015-05-06T13:42:58.090473 #23537] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
75
- I, [2015-05-06T13:42:58.130001 #23537] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
76
- I, [2015-05-06T13:42:58.130099 #23537] INFO -- : Successfully fetched data from ONE.
77
- E, [2015-05-06T13:42:58.130189 #23537] ERROR -- : exit
78
- I, [2015-05-06T13:43:47.863069 #23562] INFO -- : Connection with ONE verified.
79
- I, [2015-05-06T13:43:47.909290 #23562] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
80
- E, [2015-05-06T13:43:47.955788 #23562] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
81
- E, [2015-05-06T13:43:47.975642 #23562] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
82
- E, [2015-05-06T13:43:48.007135 #23562] ERROR -- : Unable to get metric 'MEMORY_PERC' in One2Influx::VirtualMachine.
83
- I, [2015-05-06T13:43:48.034434 #23562] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
84
- I, [2015-05-06T13:43:48.034562 #23562] INFO -- : Successfully fetched data from ONE.
85
- E, [2015-05-06T13:43:48.034658 #23562] ERROR -- : exit
86
- I, [2015-05-06T13:44:10.064663 #23582] INFO -- : Connection with ONE verified.
87
- I, [2015-05-06T13:44:10.599592 #23582] INFO -- : Connection to InfluxDB database 'test' with retention policy 'ten_hours' verified.
88
- I, [2015-05-06T13:44:10.750799 #23582] INFO -- : Stored data for 3 VMs, 2 hosts, 4 datastores and 1 clusters.
89
- I, [2015-05-06T13:44:10.750902 #23582] INFO -- : Successfully fetched data from ONE.
90
- E, [2015-05-06T13:44:10.751059 #23582] ERROR -- : exit
91
- E, [2015-05-10T13:21:23.324353 #26300] ERROR -- : Unable to find out ONE version with message: Connection refused - connect(2) for "localhost" port 2633
92
- E, [2015-05-11T00:16:42.153808 #12763] ERROR -- : Unable to find out ONE version with message: Connection refused - connect(2) for "localhost" port 2633