Sha256: 48e102c4c5f6ff3b6617ef21db76cc5757f46a07b8969ae6ab84ff764b1609e6
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# fluent-plugin-ping-message [Fluentd](http://fluentd.org) plugins: * to generate ping messages for monitoring of heatbeats * to check ping messages not arrived, and emits notifications ## Configuration ### PingMessageInput To generate 1 ping message per 60seconds(default): <source> @type ping_message </source> #=> tag: 'ping' # message: {'data' => 'your.hostname.local'} Change ping message interval into 30 seconds, and fix `tag` and `data`: <source> @type ping_message tag ping.webserver interval 30 data ping message from ${hostname} </source> #=> tag: 'ping.webserver' # message: {'data' => 'ping message from your.hostname.local'} ### PingMessageCheckerOutput To receive ping messages and checks ping message in-arrival, use `@type ping_message_checker`: <match ping.**> @type ping_message_checker tag missing.ping check_interval 3600 # 1hour by default notification_times 3 # 3 times by default </match> With this configuration, this plugin save the list of ping messages' `data` field values. And then, at the time of ping message missing, notification message emitted with the specified `tag` and record like `{"data": "failing.hostname.local"}`. ## TODO * patches welcome! ## Copyright * Copyright * Copyright (c) 2012- TAGOMORI Satoshi (tagomoris) * License * Apache License, Version 2.0
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-ping-message-0.2.1 | README.md |
fluent-plugin-ping-message-0.2.0 | README.md |