Cosium / zabbix_zfs-on-linux

zabbix template and user parameters to monitor zfs on linux
MIT License
76 stars 50 forks source link

arcstat parameters are not populated with data #36

Open rugubara opened 2 years ago

rugubara commented 2 years ago

Latest data in Zabbix show the red flag on arcstat metrics with the following error Value "c_max 4 16636397568" of type "string" is not suitable for value type "Numeric (unsigned)" I tried to change the userparameter zfs.arcstats[*] command to awk '/^$1/ {printf $3;}' /proc/spl/kstat/zfs/arcstats because it produces a nice number when run from shell - but the problem did go away

hlovdal commented 2 years ago

This issue should be closed since it is a duplicate of #37.