ovi
February 23, 2024, 2:38pm
1
Problem/Question
on app.netdata.cloud the section “ZFS pools” only shows a single pool out of the three present on the system where netdata is installed
Relevant docs you followed/actions you took to solve the issue
I tried googling for help but the only doc I found didn’t help me in any way as it doesn’t state any configuration files I could adapt: ZFS Pools | Learn Netdata
What I expected to happen
I expected to see all three ZFS pools listed here.
ovi
February 23, 2024, 7:41pm
3
Thanks for the great answer.
Yes, all pools were present.
Yes, I can see all other pools in that drop-down you mentioned.
It appears if I select all of them in the mentioned drop-down it will overlay all pools data on this one chart. That is mildly helpful.
Any tips on how to add them in the section on the right too?
@ovi You’re most welcome!
I can’t see a way to configure the module/collector and so I’ve raised this as a bug:
opened 11:01PM - 23 Feb 24 UTC
bug
needs triage
### Bug description
1. If you have ZFS zpools then the "ZFS Pools" node under "… Sections and Charts" will list only a single zpool name.
2. Also, the chart itself will be named after a single zpool.
3. The chart lists all zpools but they are easily missed because the default is to sort by Dimension and the expected state is that they are all present/true (bool) and so we get a single line.
See this Netdata forum link for a visual:
https://community.netdata.cloud/t/how-to-show-multiple-zfs-pools/5170/2?u=luis_johnstone
### Expected behavior
a. The zpools should either _all_ be listed under the ZFS Pools nodes or _none_ of them should be and just shown in the chart.
b. Suggest that perhaps changing the default chart type being 'Stacked' might make it a little more intuitive?
c. Strongly suggest taking the opportunity of merging the "ZFS Pools" and "ZFS Cache" under a parent node (i.e. "ZFS")
### Steps to reproduce
Should be easy to repro as it occurs whether selecting the metrics of a single node with multiple zpools and or multiple hosts with single/multiple zpools.
Let me know if you need to see a live system with the behaviour.
### Installation method
kickstart.sh
### System info
```shell
Linux stor1 6.5.11-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8 (2024-01-30T12:27Z) x86_64 GNU/Linux
/etc/os-release:PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
/etc/os-release:NAME="Debian GNU/Linux"
/etc/os-release:VERSION_ID="12"
/etc/os-release:VERSION="12 (bookworm)"
/etc/os-release:VERSION_CODENAME=bookworm
/etc/os-release:ID=debian
```
### Netdata build info
```shell
Packaging:
Netdata Version ____________________________________________ : v1.44.0-406-nightly
Installation Type __________________________________________ : binpkg-deb
Package Architecture _______________________________________ : x86_64
Package Distro _____________________________________________ :
Configure Options __________________________________________ : dummy-configure-command
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 ___________________________________________ : /var/lib/netdata/www
Log Files __________________________________________________ : /var/log/netdata
Lock Files _________________________________________________ : /var/lib/netdata/lock
Home _______________________________________________________ : /var/lib/netdata
Operating System:
Kernel _____________________________________________________ : Linux
Kernel Version _____________________________________________ : 6.5.11-8-pve
Operating System ___________________________________________ : Debian GNU/Linux
Operating System ID ________________________________________ : debian
Operating System ID Like ___________________________________ : unknown
Operating System Version ___________________________________ : 12 (bookworm)
Operating System Version ID ________________________________ : none
Detection __________________________________________________ : /etc/os-release
Hardware:
CPU Cores __________________________________________________ : 24
CPU Frequency ______________________________________________ : 3100000000
RAM Bytes __________________________________________________ : 135099572224
Disk Capacity ______________________________________________ : 52503538327552
CPU Architecture ___________________________________________ : x86_64
Virtualization Technology __________________________________ : none
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)
Contexts (index all active and archived metrics) ___________ : YES
Tiering (multiple dbs with different metrics resolution) ___ : YES (5)
Machine Learning ___________________________________________ : YES
Database Engines:
dbengine ___________________________________________________ : YES
alloc ______________________________________________________ : YES
ram ________________________________________________________ : YES
none _______________________________________________________ : YES
Connectivity Capabilities:
ACLK (Agent-Cloud Link: MQTT over WebSockets over TLS) _____ : YES
static (Netdata internal web server) _______________________ : YES
h2o (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) ____ : NO
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) ______________ : NO
libcrypto (cryptographic functions) ________________________ : YES
libyaml (library for parsing and emitting YAML) ____________ : YES
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
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
nfacct (gather netfilter accounting) _______________________ : YES
perf (collect kernel performance events) ___________________ : YES
slabinfo (monitor kernel object caching) ___________________ : YES
Xen ________________________________________________________ : YES
Xen VBD Error Tracking _____________________________________ : NO
Logs Management ____________________________________________ : YES
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
```
### Additional info
_No response_
ilyam8
February 24, 2024, 7:31am
5
Hi.
Any tips on how to add them in the section on the right too?
Not possible. The right section should be just “state”. There is a wrong sub-section name now (one of zpools name), we will fix it.
The default grouping of the chart shows the number of zpools in every state. if you find it not helpful, what do you want to see on this chart?
ovi
February 25, 2024, 2:06pm
6
Well, if the subsection is simply wrongly named, that kinda makes sense. It just looked weird when it had the name of one of my pools.