An open API service indexing awesome lists of open source software.

https://github.com/devon-mar/radius-exporter

A Prometheus exporter similar to blackbox_exporter but for RADIUS servers.
https://github.com/devon-mar/radius-exporter

Last synced: 5 months ago
JSON representation

A Prometheus exporter similar to blackbox_exporter but for RADIUS servers.

Awesome Lists containing this project

README

          

# 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

```yaml
---
modules:
module_name:
# username or username_file is required.
# Can also be specified through the environment variable
# RADIUS_EXPORTER__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__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__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
```