Skip to content

A Prometheus exporter similar to blackbox_exporter but for RADIUS servers.

License

Notifications You must be signed in to change notification settings

devon-mar/radius-exporter

Repository files navigation

radius-exporter

A Prometheus exporter similar to blackbox_exporter but for RADIUS servers.

Usage

Usage of ./radius-exporter:
  -config string
        Path to the config file. (default "config.yml")
  -log.level string
        The log level. (default "info")
  -web.disable-exporter-metrics
        Exclude metrics about the exporter itself
  -web.listen-address string
        Address on which to expose metrics and web interface. (default ":9881")
  -web.tlemetry-path string
        Path under which to expose metrics (default "/metrics")

Configuration

---
modules:
  module_name:
    # Required
    username: radius-test
    # Required
    password: radius-test
    # RADIUS shared secret. Required.
    secret: radius-test
    # At least one of nas_id or nas_ip should be configured to comply with RFC2865 (4.1)
    nas_id: prometheus
    nas_ip: 192.0.2.1
    # Interval in seconds on which to resend packets.
    # Default: 0 (no retries)
    retry: 0
    # Maximum number of packet parsing and validation errors before
    # returning an error.
    max_packet_errors: 10