fluent-plugin-ping-message 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,29 +1,38 @@
1
- # Fluent::Plugin::Ping::Message
1
+ # fluent-plugin-ping-message
2
2
 
3
- TODO: Write a gem description
3
+ Fluentd plugin to generate ping messages for monitoring of heatbeats.
4
4
 
5
- ## Installation
5
+ ## Configuration
6
6
 
7
- Add this line to your application's Gemfile:
7
+ ### PingMessageInput
8
8
 
9
- gem 'fluent-plugin-ping-message'
9
+ To generate 1 ping message per 60seconds(default):
10
10
 
11
- And then execute:
11
+ <source>
12
+ type ping_message
13
+ </source>
14
+ #=> tag: 'ping'
15
+ # message: {'data' => 'your.hostname.local'}
12
16
 
13
- $ bundle
17
+ Change ping message interval into 30 seconds, and fix tag and 'data':
14
18
 
15
- Or install it yourself as:
19
+ <source>
20
+ type ping_message
21
+ tag ping.webserver
22
+ interval 30
23
+ data ping message from ${hostname}
24
+ </source>
25
+ #=> tag: 'ping.webserver'
26
+ # message: {'data' => 'ping message from your.hostname.local'}
16
27
 
17
- $ gem install fluent-plugin-ping-message
28
+ ## TODO
18
29
 
19
- ## Usage
30
+ * 'PingMessageWatchdogOutput'
31
+ * accepts ping messages and notify hosts ping messages cannot be found
20
32
 
21
- TODO: Write usage instructions here
33
+ ## Copyright
22
34
 
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Added some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
35
+ * Copyright
36
+ * Copyright (c) 2012- TAGOMORI Satoshi (tagomoris)
37
+ * License
38
+ * Apache License, Version 2.0
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-ping-message"
4
- gem.version = "0.0.1"
4
+ gem.version = "0.0.2"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.description = %q{for heartbeat monitoring of Fluentd processes}
@@ -15,4 +15,6 @@ Gem::Specification.new do |gem|
15
15
 
16
16
  gem.add_development_dependency "fluentd"
17
17
  gem.add_runtime_dependency "fluentd"
18
+ gem.add_development_dependency "fluent-mixin-config-placeholders"
19
+ gem.add_runtime_dependency "fluent-mixin-config-placeholders"
18
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-ping-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2012-08-23 00:00:00.000000000 Z
12
+ date: 2012-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -43,6 +43,38 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: fluent-mixin-config-placeholders
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: fluent-mixin-config-placeholders
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
46
78
  description: for heartbeat monitoring of Fluentd processes
47
79
  email:
48
80
  - tagomoris@gmail.com