---
title: Telegraf Documentation
description: Telegraf plugin for collecting metrics from Radius
url: https://docs.influxdata.com/telegraf/v1/input-plugins/radius/
estimated_tokens: 984
product: Telegraf
version: v1
---

-   Telegraf v1.26.0+

# Radius Input Plugin

This plugin collects response times for [Radius](https://datatracker.ietf.org/doc/html/rfc2865) authentication requests.

**Introduced in:** Telegraf v1.26.0 **Tags:** server **OS support:** all

## Global configuration options

Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See [CONFIGURATION.md](/telegraf/v1/configuration/#plugins) for more details.

## Secret-store support

This plugin supports secrets from secret-stores for the `username`, `password` and `secret` option. See the [secret-store documentation](/telegraf/v1/configuration/#secret-store-secrets) for more details on how to use them.

## Configuration

```toml
[[inputs.radius]]
  ## An array of Server IPs and ports to gather from. If none specified, defaults to localhost.
  servers = ["127.0.0.1:1812","hostname.domain.com:1812"]

  ## Credentials for radius authentication.
  username = "myuser"
  password = "mypassword"
  secret = "mysecret"

  ## Request source server IP, normally the server running telegraf.
  ## This corresponds to Radius' NAS-IP-Address.
  # request_ip = "127.0.0.1"

  ## Maximum time to receive response.
  # response_timeout = "5s"
```

## Metrics

-   radius
    -   tags:
        -   response\_code
        -   source
        -   source\_port
    -   fields:
        -   responsetime\_ms (int64)

## Example Output

```text
radius,response_code=Access-Accept,source=hostname.com,source_port=1812 responsetime_ms=311i 1677526200000000000
```

#### Related

-   [Configure plugins](/telegraf/v1/configure_plugins/)
-   [Radius Plugin Source](https://github.com/influxdata/telegraf/tree/v1.38.4/plugins/inputs/radius/README.md)
