Difference between revisions of "Plugin:Write Sensu"

From collectd Wiki
Jump to: navigation, search
(Create initial page.)
 
(Synopsis)
 
Line 18: Line 18:
 
   Tag "appserver"
 
   Tag "appserver"
 
   <Node "example">
 
   <Node "example">
     Host "sensu.example.com"
+
     Host "localhost"
 
     Port "3030"
 
     Port "3030"
 
     EventServicePrefix "collectd/"
 
     EventServicePrefix "collectd/"
Line 32: Line 32:
 
  </Plugin>
 
  </Plugin>
  
This will register a write callback with the name <code>write_sensu/example</code>.  
+
This will register a write callback with the name <code>write_sensu/example</code>.
  
 
== Dependencies ==
 
== Dependencies ==

Latest revision as of 21:48, 3 February 2016

Write Sensu plugin
Type: write
Callbacks: config, notification, write
Status: supported
First version: 5.5
Copyright: 2015 Fabrice A. Marie
License: MIT license
Manpage: collectd.conf(5)
List of Plugins

The Write Sensu plugin sends metrics to Sensu Core, an open-source monitoring project.

Synopsis

LoadPlugin "write_sensu"
<Plugin write_sensu>
  Attribute "production" "true"
  Tag "appserver"
  <Node "example">
    Host "localhost"
    Port "3030"
    EventServicePrefix "collectd/"
    Separator "/"
    StoreRates true
    AlwaysAppendDS false
    # Optionally specify Sensu handlers
    Metrics false
    #MetricHandler "example_metric_handler"
    Notifications false
    #NotificationHandler "example_notification_handler"
  </Node>
</Plugin>

This will register a write callback with the name write_sensu/example.

Dependencies

  • none

See also