{"id":21470058,"url":"https://github.com/sensu-plugins/sensu-plugins-graphite","last_synced_at":"2025-06-10T14:35:27.243Z","repository":{"id":27162749,"uuid":"30632178","full_name":"sensu-plugins/sensu-plugins-graphite","owner":"sensu-plugins","description":"This plugin provides native Graphite instrumentation                               for monitoring, including: replication status,                               various Graphite data queries, mutators, and handlers","archived":false,"fork":false,"pushed_at":"2021-04-29T19:17:36.000Z","size":128,"stargazers_count":22,"open_issues_count":15,"forks_count":42,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-25T01:17:51.132Z","etag":null,"topics":["graphite","metrics","sensu-handler","sensu-mutator","sensu-plugins"],"latest_commit_sha":null,"homepage":"http://sensu-plugins.io","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sensu-plugins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-11T05:27:19.000Z","updated_at":"2023-12-19T17:37:30.000Z","dependencies_parsed_at":"2022-08-17T17:35:26.889Z","dependency_job_id":null,"html_url":"https://github.com/sensu-plugins/sensu-plugins-graphite","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-graphite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-graphite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-graphite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-graphite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensu-plugins","download_url":"https://codeload.github.com/sensu-plugins/sensu-plugins-graphite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-graphite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259093364,"owners_count":22804164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphite","metrics","sensu-handler","sensu-mutator","sensu-plugins"],"created_at":"2024-11-23T09:21:54.586Z","updated_at":"2025-06-10T14:35:27.200Z","avatar_url":"https://github.com/sensu-plugins.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sensu-Plugins-graphite\n\n[ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-graphite.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-graphite)\n[![Gem Version](https://badge.fury.io/rb/sensu-plugins-graphite.svg)](http://badge.fury.io/rb/sensu-plugins-graphite)\n[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite)\n[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite)\n[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-graphite.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-graphite)\n\n## Functionality\n\n## Files\n * bin/check-graphite-data\n * bin/check-graphite-replication\n * bin/check-graphite-stats\n * bin/check-graphite\n * bin/extension-graphite\n * bin/handler-graphite-event\n * bin/handler-graphite-notify\n * bin/handler-graphite-status\n * bin/handler-graphite-occurrences\n * bin/mutator-graphite\n\n## Usage\n\n### handler-graphite-event\n```\n{\n  \"graphite_event\": {\n    \"server_uri\": \"https://graphite.example.com:443/events/\",\n    \"tags\": [\n      \"custom_tag_a\",\n      \"custom_tag_b\"\n    ]\n  }\n}\n```\n\n### handler-graphite-occurrences\n```\n{\n \"graphite\": {\n    \"server\":\"graphite.example.com\",\n    \"port\":\"2003\"\n }\n}\n```\n\n### handler-graphite-notify\n```\n{\n \"graphite_notify\": {\n    \"host\":\"graphite.example.com\",\n    \"port\":\"2003\",\n    \"prefix\":\"sensu.events\"\n }\n}\n```\n\n### handler-graphite-status\n```\n{\n \"graphite_status\": {\n    \"host\":\"graphite.example.com\",\n    \"port\":\"2003\",\n    \"prefix\":\"sensu.events\"\n }\n}\n```\n\n## Full Configuration Example\n+**Note that TCP Handler is preferred**\n```\n{\n  \"graphite_event\": {\n    \"server_uri\": \"https://graphite.example.com:443/events/\",\n    \"tags\": [\n      \"custom_tag_a\",\n      \"custom_tag_b\"\n    ]\n  },\n  \"handlers\":\n  {\n    \"default\": {\n      \"type\": \"set\",\n      \"handlers\": [\n        \"graphite_event\"\n      ]\n    },\n    \"graphite_tcp\": {\n      \"type\": \"tcp\",\n      \"socket\": {\n        \"host\":\"graphite.example.com\",\n        \"port\":2003\n      },\n      \"mutator\": \"only_check_output\"\n    },\n    \"graphite_event\": {\n      \"type\": \"pipe\",\n      \"filters\": [\n        \"custom_filter_a\",\n        \"custom_filter_b\"\n      ],\n      \"command\": \"handler-graphite-event.rb\"\n    }\n  },\n  \"checks\": {\n    \"metrics_uptime\": {\n      \"standalone\": true,\n      \"type\": \"metric\",\n      \"handlers\": [\n        \"graphite_tcp\"\n      ],\n      \"interval\": 60,\n      \"command\": \"metrics-uptime.rb --scheme sensu.host.$(hostname).uptime\",\n      \"subscribers\": [\n        \"core\"\n      ]\n    }\n  }\n}\n```\n\n## Installation\n\n[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)\n\n## Notes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-graphite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-graphite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-graphite/lists"}