文档文档

Tacacs 输入插件

此插件从 Aruba ClearPassFreeRADIUSTACACS+ 等服务器收集有关 终端访问控制器访问控制系统 身份验证请求的指标,例如响应状态和响应时间。

该插件主要用于监视服务器完全处理身份验证请求(包括所有潜在的依赖调用,例如对 AD 服务器或其他信息源的调用)所需的时间。

引入于: Telegraf v1.28.0 标签: network 操作系统支持: all

全局配置选项

插件支持其他全局和插件配置设置,用于修改指标、标签和字段,创建别名以及配置插件顺序等任务。更多详情请参阅 CONFIGURATION.md

Secret-store 支持

此插件支持来自 secret-stores 的 usernamepasswordsecret 选项的密钥。有关如何使用它们的更多详细信息,请参阅 secret-store 文档

配置

# Tacacs plugin collects successful tacacs authentication response times.
[[inputs.tacacs]]
  ## An array of Server IPs (or hostnames) and ports to gather from. If none specified, defaults to localhost.
  # servers = ["127.0.0.1:49"]

  ## Request source server IP, normally the server running telegraf.
  # request_ip = "127.0.0.1"

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

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

Metrics

  • tacacs
    • 标签 (tags)
      • source
    • 字段 (fields)
      • response_status (string, 见下文
      • responsetime_ms (int64 见下文 | tacacs 服务器 | 实际值 | 超时 | 超时 | telegraf | 等于 response_timeout

字段 responsetime_ms

字段 responsetime_ms 是 tacacs 服务器在认证最远阶段的响应时间(毫秒)。如果发生超时,则由 telegraf 填充为配置的 response_timeout 值。

示例输出

tacacs,source=127.0.0.1:49 responsetime_ms=311i,response_status="AuthenStatusPass" 1677526200000000000

此页面是否有帮助?

感谢您的反馈!


InfluxDB 3.8 新特性

InfluxDB 3.8 和 InfluxDB 3 Explorer 1.6 的主要增强功能。

查看博客文章

InfluxDB 3.8 现已适用于 Core 和 Enterprise 版本,同时发布了 InfluxDB 3 Explorer UI 的 1.6 版本。本次发布着重于操作成熟度,以及如何更轻松地部署、管理和可靠地运行 InfluxDB。

更多信息,请查看

InfluxDB Docker 的 latest 标签将指向 InfluxDB 3 Core

在 **2026 年 2 月 3 日**,InfluxDB Docker 镜像的 latest 标签将指向 InfluxDB 3 Core。为避免意外升级,请在您的 Docker 部署中使用特定的版本标签。

如果使用 Docker 来安装和运行 InfluxDB,latest 标签将指向 InfluxDB 3 Core。为避免意外升级,请在您的 Docker 部署中使用特定的版本标签。例如,如果使用 Docker 运行 InfluxDB v2,请将 latest 版本标签替换为 Docker pull 命令中的特定版本标签 — 例如

docker pull influxdb:2