-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Labels
area/collectorsEverything related to data collectionEverything related to data collectionbugcollectors/go.d
Description
Bug description
Chart System -> Network -> Access Point is not shown after starting hostapd and restarting netdata.
I followed Troubleshooting tutorial and see this error:
ERR module/job.go:269 check failed: parsing station statistics for &{<interface> <ssid> AP}: parsing line 'tx bitrate: (unknown)': strconv.ParseFloat: parsing "(unknown)": invalid syntax collector=ap job=local
After seconds, there are ap/collector.go errors like this:
ERR ap/collector.go:98 parsing station statistics for &{<interface> <ssid> AP}: parsing line 'tx bitrate: (unknown)': strconv.ParseFloat: parsing "(unknown)": invalid syntax collector=ap job=local
Also there are (unknown)s in iw dev <interface> station dump, for example:
wujinjun@linux:~$ iw dev <interface> station dump
Station <mac> (on <interface>)
inactive time: 42324 ms
rx bytes: 6705
rx packets: 139
tx bytes: 1014
tx packets: 13
tx retries: 0
tx failed: 0
rx drop misc: 0
signal: -87 [-87] dBm
signal avg: -84 [-84] dBm
tx bitrate: (unknown)
tx duration: 0 us
rx bitrate: 17.2 MBit/s HE-MCS 1 HE-NSS 1 HE-GI 0 HE-DCM 0
rx duration: 0 us
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short slot time:yes
connected time: 2215 seconds
associated at [boottime]: 3810.003s
associated at: <timestamp> ms
current time: <timestamp> ms
tx bitrate is (unknown) and ap module can not handle.
Expected behavior
Access Point go.d plugin handles (unknown) fields correctly so that System -> Network -> Access Point chart can be shown.
Steps to reproduce
- Install Netdata with kickstart.sh
- Plug wifi adapter and start hostapd
- Restart netdata via
sudo systemctl restart netdata - Open localhost:19999 in browser.
System -> Network -> Access Pointis not found - Troubleshoot -> Debug Mode:
cd /usr/libexec/netdata/plugins.d/
sudo -u netdata -s
./go.d.plugin -d -m apand see "invalid syntax" lines
Installation method
kickstart.sh
System info
Linux linux 6.17.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 21:44:46 UTC 2025 x86_64 GNU/Linux
/etc/lsb-release:DISTRIB_ID=Ubuntu
/etc/lsb-release:DISTRIB_RELEASE=25.10
/etc/lsb-release:DISTRIB_CODENAME=questing
/etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 25.10"
/etc/os-release:PRETTY_NAME="Ubuntu 25.10"
/etc/os-release:NAME="Ubuntu"
/etc/os-release:VERSION_ID="25.10"
/etc/os-release:VERSION="25.10 (Questing Quokka)"
/etc/os-release:VERSION_CODENAME=questing
/etc/os-release:ID=ubuntu
/etc/os-release:ID_LIKE=debian
/etc/os-release:UBUNTU_CODENAME=questing
/etc/os-release:LOGO=ubuntu-logoNetdata build info
time=2025-12-14T16:44:06.672+08:00 comm=netdata source=daemon level=notice errno="2, No such file or directory" tid=16098 msg="CONFIG: cannot load user config '/etc/netdata/stream.conf'. Will try stock config."
time=2025-12-14T16:44:08.168+08:00 comm=netdata source=daemon level=warning tid=16098 msg="SYSTEM INFO: Skipping empty name or value from system-info.sh: 'NETDATA_SYSTEM_CPU_LOGICAL_CPU_COUNT='"
time=2025-12-14T16:44:08.168+08:00 comm=netdata source=daemon level=warning tid=16098 msg="SYSTEM INFO: Skipping empty name or value from system-info.sh: 'NETDATA_SYSTEM_CPU_VENDOR='"
time=2025-12-14T16:44:08.168+08:00 comm=netdata source=daemon level=warning tid=16098 msg="SYSTEM INFO: Skipping empty name or value from system-info.sh: 'NETDATA_SYSTEM_CPU_MODEL='"
Packaging:
Netdata Version ____________________________________________ : v2.8.0-120-nightly
Installation Type __________________________________________ : binpkg-deb
Package Architecture _______________________________________ : x86_64
Package Distro _____________________________________________ : ubuntu 25.10
Configure Options __________________________________________ : cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_STANDARD=11 -DCMAKE_CXX_STANDARD=14 -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=' -fexceptions -fno-omit-frame-pointer -funwind-tables -fasynchronous-unwind-tables' -DCMAKE_CXX_FLAGS=' -fexceptions -fno-omit-frame-pointer -funwind-tables -fasynchronous-unwind-tables' -DCMAKE_COMPILE_DEFINITIONS='_GNU_SOURCE' -DCMAKE_EXE_LINKER_FLAGS=' -fexceptions -rdynamic' -DCMAKE_SHARED_LINKER_FLAGS=''
Default Directories:
User Configurations ________________________________________ : /etc/netdata
Stock Configurations _______________________________________ : /usr/lib/netdata/conf.d
Ephemeral Databases (metrics data, metadata) _______________ : /var/cache/netdata
Permanent Databases ________________________________________ : /var/lib/netdata
Plugins ____________________________________________________ : /usr/libexec/netdata/plugins.d
Static Web Files ___________________________________________ : /usr/share/netdata/web
Log Files __________________________________________________ : /var/log/netdata
Lock Files _________________________________________________ : /var/lib/netdata/lock
Home _______________________________________________________ : /var/lib/netdata
Operating System:
Kernel _____________________________________________________ : Linux
Kernel Version _____________________________________________ : 6.17.0-8-generic
Operating System ___________________________________________ : Ubuntu
Operating System ID ________________________________________ : ubuntu
Operating System ID Like ___________________________________ : debian
Operating System Version ___________________________________ : 25.10 (Questing Quokka)
Operating System Version ID ________________________________ : none
Detection __________________________________________________ : /etc/os-release
Hardware:
CPU Cores __________________________________________________ :
CPU Frequency ______________________________________________ : 1996000000
RAM Bytes __________________________________________________ : 3493175296
Disk Capacity ______________________________________________ : 34359738368
CPU Architecture ___________________________________________ : x86_64
Virtualization Technology __________________________________ : kvm
Virtualization Detection ___________________________________ : systemd-detect-virt
Container:
Container __________________________________________________ : none
Container Detection ________________________________________ : systemd-detect-virt
Container Orchestrator _____________________________________ : none
Container Operating System _________________________________ : none
Container Operating System ID ______________________________ : none
Container Operating System ID Like _________________________ : none
Container Operating System Version _________________________ : none
Container Operating System Version ID ______________________ : none
Container Operating System Detection _______________________ : none
Features:
Built For __________________________________________________ : Linux
Netdata Cloud ______________________________________________ : YES
Health (trigger alerts and send notifications) _____________ : YES
Streaming (stream metrics to parent Netdata servers) _______ : YES
Back-filling (of higher database tiers) ____________________ : YES
Replication (fill the gaps of parent Netdata servers) ______ : YES
Streaming and Replication Compression ______________________ : YES (zstd lz4 gzip brotli)
Contexts (index all active and archived metrics) ___________ : YES
Tiering (multiple dbs with different metrics resolution) ___ : YES (5)
Machine Learning ___________________________________________ : YES
Memory Allocator ___________________________________________ : system
Database Engines:
dbengine (compression) _____________________________________ : YES (zstd lz4)
alloc ______________________________________________________ : YES
ram ________________________________________________________ : YES
none _______________________________________________________ : YES
Connectivity Capabilities:
ACLK (Agent-Cloud Link: MQTT over WebSockets over TLS) _____ : YES
static (Netdata internal web server) _______________________ : YES
WebRTC (experimental) ______________________________________ : NO
Native HTTPS (TLS Support) _________________________________ : YES
TLS Host Verification ______________________________________ : YES
Libraries:
LZ4 (extremely fast lossless compression algorithm) ________ : YES
ZSTD (fast, lossless compression algorithm) ________________ : YES
zlib (lossless data-compression library) ___________________ : YES
Brotli (generic-purpose lossless compression algorithm) ____ : YES
protobuf (platform-neutral data serialization protocol) ____ : YES (system)
OpenSSL (cryptography) _____________________________________ : YES
libdatachannel (stand-alone WebRTC data channels) __________ : NO
JSON-C (lightweight JSON manipulation) _____________________ : YES
libcap (Linux capabilities system operations) ______________ : YES
libcrypto (cryptographic functions) ________________________ : YES
libyaml (library for parsing and emitting YAML) ____________ : YES
libmnl (library for working with netfilter) ________________ : YES
stacktraces (library for getting stack traces) _____________ : libbacktrace (mmap, threads, data)
Plugins:
apps (monitor processes) ___________________________________ : YES
cgroups (monitor containers and VMs) _______________________ : YES
cgroup-network (associate interfaces to CGROUPS) ___________ : YES
proc (monitor Linux systems) _______________________________ : YES
tc (monitor Linux network QoS) _____________________________ : YES
diskspace (monitor Linux mount points) _____________________ : YES
freebsd (monitor FreeBSD systems) __________________________ : NO
macos (monitor MacOS systems) ______________________________ : NO
windows (monitor Windows systems) __________________________ : NO
statsd (collect custom application metrics) ________________ : YES
timex (check system clock synchronization) _________________ : YES
idlejitter (check system latency and jitter) _______________ : YES
bash (support shell data collection jobs - charts.d) _______ : YES
debugfs (kernel debugging metrics) _________________________ : YES
cups (monitor printers and print jobs) _____________________ : YES
ebpf (monitor system calls) ________________________________ : YES
freeipmi (monitor enterprise server H/W) ___________________ : YES
network-viewer (monitor TCP/UDP IPv4/6 sockets) ____________ : YES
systemd-journal (monitor journal logs) _____________________ : YES
windows-events (monitor Windows events) ____________________ : NO
nfacct (gather netfilter accounting) _______________________ : YES
perf (collect kernel performance events) ___________________ : YES
slabinfo (monitor kernel object caching) ___________________ : YES
Xen ________________________________________________________ : YES
Xen VBD Error Tracking _____________________________________ : NO
Exporters:
AWS Kinesis ________________________________________________ : NO
GCP PubSub _________________________________________________ : NO
MongoDB ____________________________________________________ : YES
Prometheus (OpenMetrics) Exporter __________________________ : YES
Prometheus Remote Write ____________________________________ : YES
Graphite ___________________________________________________ : YES
Graphite HTTP / HTTPS ______________________________________ : YES
JSON _______________________________________________________ : YES
JSON HTTP / HTTPS __________________________________________ : YES
OpenTSDB ___________________________________________________ : YES
OpenTSDB HTTP / HTTPS ______________________________________ : YES
All Metrics API ____________________________________________ : YES
Shell (use metrics in shell scripts) _______________________ : YES
Debug/Developer Features:
Trace All Netdata Allocations (with charts) ________________ : NO
Developer Mode (more runtime checks, slower) _______________ : NO
Runtime Information:
Profile ____________________________________________________ : standalone
Stream Parent (accept data from Children) __________________ : NO
Stream Child (send data to a Parent) _______________________ : NO
Total System Memory ________________________________________ : 3493175296
Available System Memory ____________________________________ : 2178293760Additional info
No response
Metadata
Metadata
Assignees
Labels
area/collectorsEverything related to data collectionEverything related to data collectionbugcollectors/go.d