zabbix-disk-performance
zabbix-disk-performance copied to clipboard
Issue with devices like: cciss!c0d0p6]
Hello Seems there is issue with getting data from devices like: cciss!c0d0p6
./zabbix_get -s 127.0.0.1 -k "custom.vfs.dev.write.sectors[cciss!c0d0p6]" -bash: !c0d0p6]": event not found
can it be resolved ?
What if you add a single quotes around $1 var in userparameters?
UserParameter=custom.vfs.dev.write.sectors[*],awk '{print $$7}' /sys/class/block/'$1'/stat
Please also provide the output so I can simulate the environment:
ls -l /sys/class/block/
cat /sys/class/block/'cciss!c0d0p6'/stat
Yep, I think single quotes should do the trick. There is more broad discussion of the topic.
Hello /usr/local/bin/lld-disks.py works fine and shows all cciss!c0d0pX partitions, but adding the single quotes between $1 doesn't seem to have worked here. zabbix_get keeps returning ZBX_NOTSUPPORTED.