No commit activity in last 3 years
No release in over 3 years
FLuentd plugin for ironio alerts... WIP
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.9.6, ~> 0.9

Runtime

>= 0.10.51, ~> 0.10
>= 5.0.1, ~> 5.0
>= 1.8.2, ~> 1.1
 Project Readme

Fluent::Plugin::NewRelic

fluent-plugin-ironio is an input plug-in for Fluentd

Installation

These instructions assume you already have fluentd installed. If you don't, please run through [quick start for fluentd] (https://github.com/fluent/fluentd#quick-start)

Now after you have fluentd installed you can follow either of the steps below:

Add this line to your application's Gemfile:

gem 'fluent-plugin-ironio'

Or install it yourself as:

$ gem install fluent-plugin-ironio

Usage

Add the following into your fluentd config.

<source>
  type ironio       # required, chossing the input plugin.
  endpoint       # Optional. 
  projectId # Needed for Ironio
  token # Needed for Ironio
  endpointQueue # Needed for Ironio
  endpointType # Example ironio, kinesis
  oauthId            # authorization key
  interval            # frequency to pull data
  readOnly # True or false to control deletion of message after it is read
</source>

<match alert.ironio>
  type stdout
</match>

Now startup fluentd

$ sudo fluentd -c fluent.conf &

Send a test trap using net-snmp tools

$ cd test; rvmsudo ./ironmq.rb 

To Do

1. Change the logic to do a get all call so we process a bunch of alerts at a time.
2. Make delete configurable