Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fluentd snmp input plugin
Ruby
Tag: v0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/fluent/plugin
test
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
fluent-plugin-snmp.gemspec
snmp.conf.sample

README.md

Fluent::Plugin::Snmp

Fluent plugin from snmp

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-snmp'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-snmp

Usage

<source>                                                          
  type snmp                                                         
  tag snmp.server1                                                  
  nodes name, value                                                 
  host server1                                                    
  community private                                                 
  version 2c                                                        
  mib hrStorageIndex, hrStorageDescr, hrStorageSize, hrStorageUsed  
  mib_modules HOST-RESOURCES-MIB                                    
  retries 0                                                         
  timeout 3s                                                        
  polling_time 0,10,20,30,40,50                                     
</source>                                                         

<source>                                                          
  type snmp                                                         
  tag snmp.server2                                                  
  host server2                                                    
  community private                                                 
  version 2c                                                        
  mib hrStorageIndex, hrStorageDescr,
  hrStorageSize, hrStorageUsed  
  mib_modules HOST-RESOURCES-MIB                                    
  retries 0                                                         
  timeout 3s                                                        
  polling_time 5,15,25,35,45,55                                     
</source>                                                         


 2012-11-08 16:07:40 +0900 snmp.server1: {"name":"HOST-RESOURCES-MIB::hrStorageUsed.31","value":"2352425"}         
 2012-11-08 16:07:40 +0900 snmp.server2: {"value":"[name=HOST-RESOURCES-MIB::hrStorageIndex.7, value=7 (INTEGER)]"}  

Copyright

Copyright (c) 2012 Internet Initiative Inc. Apache Licence, Version 2.0

Something went wrong with that request. Please try again.