0:21

🧩 / Prometheus / Nagios to Prometheus

KindDescriptionPricing
ReactorPush Nagios plugin perfdata to Prometheus PushGatewayFREE

Introduction

Using this integration, export the performance data produced by your Nagios Plugins to a Prometheus PushGateway.

Nagios to Prometheus schema

Usage

This integration is provided as a Docker image that can be used in a Reactor.

Environment

VariableDefaultDescription
PROMETHEUS_PUSHGATEWAYhttp://pushgateway.example.com:9091/metrics/job/myjobURL to Prometheus PushGateway

Example of Reactor

---
apiVersion: kubirds.com/v1
kind: Reactor
metadata:
  name: nagios-to-prometheus
  namespace: default
spec:
  unitSelector:
    unit-output-format: nagios
  image:
    name: linksociety/kubirds-reactor-nagios-to-prometheus:latest
    pullPolicy: Always
    command: nagios-to-prometheus
  env:
    - name: PROMETHEUS_PUSHGATEWAY
      valueFrom:
        secretKeyRef:
          name: prometheus-pushgateway
          key: URL