fluent-plugin-jvmwatcher 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README.md +2 -2
- data/VERSION +1 -1
- data/fluent-plugin-jvmwatcher.gemspec +1 -1
- data/lib/fluent/plugin/in_jvmwatcher.rb +17 -2
- data/lib/fluent/plugin/jvmwatcher/config/log4j.xml.template +1 -1
- data/lib/fluent/plugin/jvmwatcher_util.rb +17 -1
- metadata +4 -4
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -134,13 +134,13 @@ In the date and time which is output at the head of the log, it is generating fr
|
|
134
134
|
|
135
135
|
ログの先頭に出力されている日時は、実際にJavaVMから情報を取得した時間である"logtime"から生成しています。
|
136
136
|
|
137
|
-
log output format <https://github.com/MasayukiMiyake97/fluent-plugin-jvmwatcher/wiki/Log-
|
137
|
+
log output format <https://github.com/MasayukiMiyake97/fluent-plugin-jvmwatcher/wiki/Log-output-format>
|
138
138
|
|
139
139
|
##Requirements
|
140
140
|
JDK >= 1.6
|
141
141
|
|
142
142
|
* On the Linux ( CentOS ), it is OpenJDK In 1.6 pieces of environment, it is doing an operations check.The operations check doesn't go but probably, it works on Ubuntu.
|
143
|
-
* fluent-plugin-jvmwatcher is using tools.jar which JDK is providing.Therefore, in the JRE environment which tools.jar isn't contained in, it doesn't work.Certainly, use in the environment which JDK is installed in.
|
143
|
+
* fluent-plugin-jvmwatcher is using tools.jar which JDK is providing.Therefore, in the JRE environment which tools.jar isn't contained in, it doesn't work.Certainly, use in the environment which JDK is installed in.(yum install java-1.6.0-openjdk-devel)
|
144
144
|
|
145
145
|
##Copyright
|
146
146
|
Copyright (c) 2013 MasayukiMiyake
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v0.1.
|
1
|
+
v0.1.5
|
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "fluent-plugin-jvmwatcher"
|
6
|
-
gem.version = "0.1.
|
6
|
+
gem.version = "0.1.5"
|
7
7
|
gem.authors = ["MasayukiMiyake"]
|
8
8
|
gem.email = ["masayukimiyake97@gmail.com"]
|
9
9
|
gem.description = %q{It is the input plugin of fluentd which collects the condition of Java VM.}
|
@@ -1,3 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# A Java VM status Watcher for Fluent
|
3
|
+
#
|
4
|
+
# Copyright (C) 2013 Masayuki Miyake
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
1
18
|
module Fluent
|
2
19
|
|
3
20
|
require 'json'
|
@@ -58,9 +75,7 @@ class JvmwatcherInput < Input
|
|
58
75
|
end
|
59
76
|
end
|
60
77
|
|
61
|
-
|
62
78
|
end
|
63
79
|
|
64
|
-
|
65
80
|
end
|
66
81
|
|
@@ -1,4 +1,20 @@
|
|
1
|
-
|
1
|
+
#
|
2
|
+
# A Java VM status Watcher for Fluent
|
3
|
+
#
|
4
|
+
# Copyright (C) 2013 Masayuki Miyake
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
2
18
|
module JvmwatcherUtil
|
3
19
|
|
4
20
|
SetEnvFileName = "setEnvWatcher.sh"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-jvmwatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
segments:
|
92
92
|
- 0
|
93
|
-
hash: -
|
93
|
+
hash: -4181818761431718981
|
94
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
segments:
|
101
101
|
- 0
|
102
|
-
hash: -
|
102
|
+
hash: -4181818761431718981
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project: fluent-plugin-jvmwatcher
|
105
105
|
rubygems_version: 1.8.25
|