zabbix-disk-performance icon indicating copy to clipboard operation
zabbix-disk-performance copied to clipboard

Issue with devices like: cciss!c0d0p6]

Open happyalexkg opened this issue 8 years ago • 3 comments

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 ?

happyalexkg avatar Sep 21 '16 06:09 happyalexkg

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

nobody43 avatar Oct 11 '16 18:10 nobody43

Yep, I think single quotes should do the trick. There is more broad discussion of the topic.

grundic avatar Oct 13 '16 14:10 grundic

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.

ffrediani avatar Jun 27 '17 17:06 ffrediani