Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.