No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
This plugin provides native Graphite instrumentation for monitoring, including: replication status, various Graphite data queries, mutators, and handlers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10
~> 10.0
~> 3.2
~> 3.1
= 0.32.1
~> 0.8

Runtime

 Project Readme

Sensu-Plugins-graphite

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/check-graphite-data
  • bin/check-graphite-replication
  • bin/check-graphite-stats
  • bin/check-graphite
  • bin/extension-graphite
  • bin/handler-graphite-event
  • bin/handler-graphite-notify
  • bin/handler-graphite-status
  • bin/handler-graphite-occurrences
  • bin/mutator-graphite

Usage

handler-graphite-event

{
  "graphite_event": {
    "server_uri": "https://graphite.example.com:443/events/",
    "tags": [
      "custom_tag_a",
      "custom_tag_b"
    ]
  }
}

handler-graphite-occurrences

{
 "graphite": {
    "server":"graphite.example.com",
    "port":"2003"
 }
}

handler-graphite-notify

{
 "graphite_notify": {
    "host":"graphite.example.com",
    "port":"2003",
    "prefix":"sensu.events"
 }
}

handler-graphite-status

{
 "graphite_status": {
    "host":"graphite.example.com",
    "port":"2003",
    "prefix":"sensu.events"
 }
}

Full Configuration Example

+Note that TCP Handler is preferred

{
  "graphite_event": {
    "server_uri": "https://graphite.example.com:443/events/",
    "tags": [
      "custom_tag_a",
      "custom_tag_b"
    ]
  },
  "handlers":
  {
    "default": {
      "type": "set",
      "handlers": [
        "graphite_event"
      ]
    },
    "graphite_tcp": {
      "type": "tcp",
      "socket": {
        "host":"graphite.example.com",
        "port":2003
      },
      "mutator": "only_check_output"
    },
    "graphite_event": {
      "type": "pipe",
      "filters": [
        "custom_filter_a",
        "custom_filter_b"
      ],
      "command": "handler-graphite-event.rb"
    }
  },
  "checks": {
    "metrics_uptime": {
      "standalone": true,
      "type": "metric",
      "handlers": [
        "graphite_tcp"
      ],
      "interval": 60,
      "command": "metrics-uptime.rb --scheme sensu.host.$(hostname).uptime",
      "subscribers": [
        "core"
      ]
    }
  }
}

Installation

Installation and Setup

Notes