telegraf/plugins/inputs/wireless
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136)
2022-05-24 08:49:47 -05:00
..
README.md chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
sample.conf chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
wireless.go chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
wireless_linux.go fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00
wireless_notlinux.go fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
wireless_test.go fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00

README.md

Wireless Input Plugin

The wireless plugin gathers metrics about wireless link quality by reading the /proc/net/wireless file. This plugin currently supports linux only.

Configuration

# Monitor wifi signal strength and quality
[[inputs.wireless]]
  ## Sets 'proc' directory path
  ## If not specified, then default is /proc
  # host_proc = "/proc"

Metrics

  • metric
    • tags:
      • interface (wireless interface)
    • fields:
      • status (int64, gauge) - Its current state. This is a device dependent information
      • link (int64, percentage, gauge) - general quality of the reception
      • level (int64, dBm, gauge) - signal strength at the receiver
      • noise (int64, dBm, gauge) - silence level (no packet) at the receiver
      • nwid (int64, packets, counter) - number of discarded packets due to invalid network id
      • crypt (int64, packets, counter) - number of packet unable to decrypt
      • frag (int64, packets, counter) - fragmented packets
      • retry (int64, packets, counter) - cumulative retry counts
      • misc (int64, packets, counter) - dropped for un-specified reason
      • missed_beacon (int64, packets, counter) - missed beacon packets

Example Output

This section shows example output in Line Protocol format.

wireless,host=example.localdomain,interface=wlan0 misc=0i,frag=0i,link=60i,level=-50i,noise=-256i,nwid=0i,crypt=0i,retry=1525i,missed_beacon=0i,status=0i 1519843022000000000