A Prometheus exporter similar to blackbox_exporter but for RADIUS servers.
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")
---
modules:
module_name:
# username or username_file is required.
# Can also be specified through the environment variable
# RADIUS_EXPORTER_<module name>_USERNAME
username: radius-test
username_file: /path/to/username
# password or password_file is required.
#
# Can also be specified through the environment variable
# RADIUS_EXPORTER_<module name>_PASSWORD
password: radius-test
password_file: /path/to/password
# RADIUS shared secret.
# secret or secret_file is required.
#
# Can also be specified through the environment variable
# RADIUS_EXPORTER_<module name>_SECRET
secret: radius-test
secret_file: /path/to/secret
# 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