Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepabo/mackerel-plugin-cuenote-srs-status
https://github.com/pepabo/mackerel-plugin-cuenote-srs-status
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pepabo/mackerel-plugin-cuenote-srs-status
- Owner: pepabo
- Created: 2020-03-21T06:28:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T13:28:44.000Z (about 1 year ago)
- Last Synced: 2024-06-21T12:49:57.839Z (7 months ago)
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mackerel-plugin-cuenote-srs-status
===![](https://github.com/ch1aki/mackerel-plugin-cuenote-srs-status/workflows/test/badge.svg)
![](https://github.com/ch1aki/mackerel-plugin-cuenote-srs-status/workflows/Release/badge.svg)Cuenote SR-S custom metrics plugin for mackerel.io agent.
## Synopsis
```shell
mackerel-plugin-cuenote-srs --host= --user= --password= [--group-stats] [--delivery-stats] [--prefix=] [--template=]
```Options:
- `--host`: Cuenote SR-S hostname (e.g. `srsXXXX.cuenote.jp`)
- `--user`: Cuenote SR-S username
- `--password`: Cuenote SR-S password
- `--prefix`: metric key prefix (default: `cuenote-srs-stat`)
- `--group-stats`: Enable Grouped status (default: `false`)
- `--delivery-stats`: Enable Delivery status (default: `false`)
- `--tempfile=`: Override tempfile path (default: mackerel default)## Install
```shell
mkr plugin install ch1aki/[email protected]
```## Example of mackerel-agent.conf
```toml
[plugin.metrics.cuenote-srs-status]
command = "/path/to/mackerel-plugin-cuenote-srs-status -H srsXXXX.cuenote.jp -u xxxx -p xxxxxxxx"
``````toml
[plugin.metrics.cuenote-srs-status]
command = "/path/to/mackerel-plugin-cuenote-srs-status -H srsXXXX.cuenote.jp -u xxxx -p xxxxxxxx --group-stats --delivery-stats"
```## cuenote-srs-stat.queue_total
- cuenote-srs-stat.queue_total.delivering
- cuenote-srs-stat.queue_total.undelivered
- cuenote-srs-stat.queue_total.resend## cuenote-srs-stat.queue_group
- cuenote-srs-stat.queue_group.delivering.*
- cuenote-srs-stat.queue_group.undelivered.*
- cuenote-srs-stat.queue_group.resend.*## cuenote-srs-stat.delivery_group.
- cuenote-srs-stat.delivery_group.success.
- cuenote-srs-stat.delivery_group.failure.
- cuenote-srs-stat.delivery_group.deferral.
- cuenote-srs-stat.delivery_group.dnsdeferral.
- cuenote-srs-stat.delivery_group.connfail.
- cuenote-srs-stat.delivery_group.exception.
- cuenote-srs-stat.delivery_group.dnsfail.
- cuenote-srs-stat.delivery_group.expired.
- cuenote-srs-stat.delivery_group.canceled.
- cuenote-srs-stat.delivery_group.bounce.
- cuenote-srs-stat.delivery_group.exclusion.