prometheus-community/prometheus-snmp-exporter

Chart version: 0.0.6
Api version: v1
App version: 0.14.0
Prometheus SNMP Exporter
application
Chart Type
Active
Status
Unknown
License
155
Downloads
https://prometheus-community.github.io/helm-charts
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install prometheus-snmp-exporter center/prometheus-community/prometheus-snmp-exporter
Versions (0)

Prometheus SNMP Exporter

An Prometheus exporter that exposes information gathered from SNMP.

This chart creates a SNMP Exporter deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Get Repo Info

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

_See helm repo for command documentation._

Install Chart

# Helm 3
$ helm install [RELEASE_NAME] prometheus-community/prometheus-snmp-exporter

# Helm 2
$ helm install --name [RELEASE_NAME] prometheus-community/prometheus-snmp-exporter

See configuration below.

_See helm install for command documentation._

Uninstall Chart

# Helm 3
$ helm uninstall [RELEASE_NAME]

# Helm 2
# helm delete --purge [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

_See helm uninstall for command documentation._

Upgrading Chart

# Helm 3 or 2
$ helm upgrade [RELEASE_NAME] [CHART] --install

_See helm upgrade for command documentation._

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart’s values.yaml, or run these configuration commands:

# Helm 2
$ helm inspect values prometheus-community/prometheus-snmp-exporter

# Helm 3
$ helm show values prometheus-community/prometheus-snmp-exporter

See prometheus/snmp_exporter/README.md for further information.

Prometheus Configuration

The snmp exporter needs to be passed the address as a parameter, this can be done with relabelling.

Example config:

scrape_configs:
  - job_name: 'snmp'
    static_configs:
      - targets:
        - 192.168.1.2  # SNMP device.
    metrics_path: /snmp
    params:
      module: [if_mib]
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: my-service-name:9116  # The SNMP exporter's Service name and port.