https://github.com/sensu-plugins/sensu-plugins-graphite
This plugin provides native Graphite instrumentation for monitoring, including: replication status, various Graphite data queries, mutators, and handlers
https://github.com/sensu-plugins/sensu-plugins-graphite
graphite metrics sensu-handler sensu-mutator sensu-plugins
Last synced: 20 days ago
JSON representation
This plugin provides native Graphite instrumentation for monitoring, including: replication status, various Graphite data queries, mutators, and handlers
- Host: GitHub
- URL: https://github.com/sensu-plugins/sensu-plugins-graphite
- Owner: sensu-plugins
- License: mit
- Created: 2015-02-11T05:27:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T19:17:36.000Z (about 4 years ago)
- Last Synced: 2025-05-25T01:17:51.132Z (about 1 month ago)
- Topics: graphite, metrics, sensu-handler, sensu-mutator, sensu-plugins
- Language: Ruby
- Homepage: http://sensu-plugins.io
- Size: 125 KB
- Stars: 22
- Watchers: 10
- Forks: 42
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Sensu-Plugins-graphite
[ ](https://travis-ci.org/sensu-plugins/sensu-plugins-graphite)
[](http://badge.fury.io/rb/sensu-plugins-graphite)
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite)
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graphite)
[](https://gemnasium.com/sensu-plugins/sensu-plugins-graphite)## 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](http://sensu-plugins.io/docs/installation_instructions.html)
## Notes