Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


This asset has compilation errors
  • Version 3.1.2: cannot parse the Bonsai configuration file: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1

csoleimani/csoleimani-sensu-plugins-graphite (3) Versions 3.1.2 Community Tier

This plugin provides native Graphite instrumentation for monitoring, including: replication status, various Graphite data queries, mutators, and handlers

Downloads in last month
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Commits in last year
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
README
Release Notes

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

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github