Tip: Proxmox zpool status

Started by Hanfelt, August 23, 2022, 11:05:15 AM

Previous topic - Next topic

Hanfelt

In agent configuration on the node add this:

[ExternalTable/ZpoolStatus]
Command = zpool status | tr -s ' ' | sed '1,5d' | sed 's/^[ \t]*//;s/[ \t]*$//' | sed 's/ /|/g' |  sed 'N;$!P;$!D;$d'
Separator = |
InstanceColumns = Index
Description = ZpoolStatus
PollingInterval = 320

Do a restart agent and then a config poll.

After that you should be able to go to Data Collection Configuration on that node and add a new Table.

Alex Kirhenshtein