Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


sensu/sensu-enterprise-metrics

v0.0.1 · public · Published 6 months ago

README
Asset Definition
Release Notes
Release Assets

Sensu Enterprise Metrics Collector

TravisCI: TravisCI Build Status

The Sensu Go check plugin for collecting Sensu Enterprise (Classic) metrics.

Installation

Download the latest version of the sensu-enterprise-metrics from releases,
or create an executable script from this source.

From the local path of the sensu-enterprise-metrics repository:

go build -o /usr/local/bin/sensu-enterprise-metrics main.go

Configuration

Example Sensu Go check definition:

{
    "api_version": "core/v2",
    "type": "CheckConfig",
    "metadata": {
        "namespace": "default",
        "name": "sensu-enterprise-metrics"
    },
    "spec": {
        "command": "sensu-enterprise-metrics -user username -password secret -latest",
        "subscriptions":[
            "sensu-enterprise"
        ],
        "publish": true,
        "interval": 10,
        "output_metric_format": "graphite_plaintext",
        "output_metric_handlers": [
            "influxdb"
        ]
    }
}

Usage Examples

Help:

$ sensu-enterprise-metrics -h
Usage of sensu-enterprise-metrics:
  -host string
        Sensu Enterprise API host. (default "localhost")
  -latest
        Only return the latest point per Enterprise metric.
  -password string
        Sensu Enterprise API password.
  -port int
        Sensu Enterprise API port. (default 4567)
  -timeout int
        Sensu Enterprise API request timeout (in seconds). (default 15)
  -user string
        Sensu Enterprise API user.

Contributing

See https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md

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

Download

×

Either download the source code:

Download Source

Or download the asset definition: