Netgear Switch Discovery Protocol 输入插件
此插件通过 Netgear Switch Discovery Protocol 从所有可用交换机和端口收集指标。
引入于: Telegraf v1.34.0 标签: network 操作系统支持: all
全局配置选项
插件支持其他全局和插件配置设置,用于修改指标、标签和字段,创建别名以及配置插件顺序等任务。更多详情请参阅 CONFIGURATION.md。
配置
# Gather Netgear Switch Discovery Protocol status
[[inputs.nsdp]]
## The target address to use for status gathering. Either Broadcast (default)
## or the address of a single well-known device.
# address = "255.255.255.255:63322"
## The maximum number of device responses to wait for. 0 means no limit.
## NSDP works asynchronously. Without a limit (0) the plugin always waits
## the amount given in timeout for possible responses. By setting this
## option to the known number of devices, the plugin completes
## processing as soon as the last device has answered.
# device_limit = 0
## The maximum duration to wait for device responses.
# timeout = "2s"Metrics
nsdp_device_port- 标签 (tags)
device- 设备标识符 (MAC/硬件地址)device_ip- 设备的 IP 地址device_name- 设备的名称device_model- 设备的型号device_port- 字段所指的端口 ID
- 字段 (fields)
bytes_sent(uint) - 通过此端口发送的字节数bytes_recv(uint) - 通过此端口接收的字节数packets_total(uint) - 在此端口处理的总数据包数broadcasts_total(uint) - 在此端口处理的总广播数multicasts_total(uint) - 在此端口处理的总多播数errors_total(uint) - 在此端口遇到的总错误数
- 标签 (tags)
示例输出
nsdp_device_port,device=12:34:56:78:9a:bc,device_ip=10.1.0.4,device_model=GS108Ev3,device_name=switch2,device_port=1 broadcasts_total=0u,bytes_recv=3879427866u,bytes_sent=506548796u,errors_total=0u,multicasts_total=0u,packets_total=0u 1737152505014578000此页面是否有帮助?
感谢您的反馈!
支持和反馈
感谢您成为我们社区的一员!我们欢迎并鼓励您对 Telegraf 和本文档提出反馈和 bug 报告。要获取支持,请使用以下资源
具有年度合同或支持合同的客户可以 联系 InfluxData 支持。