Closed denisgolius closed 6 years ago
Both bash scripts should be called with parameters... Just check the source code or your userparameters.
Did you install the cronjob? Does it run? Please check /tmp/iostat.out
.
Can you manually try? first
zabbix_get -s server_ip -k iostat.metric[sda,await]
If this does not work, please provide your UserParameter file. Double-check path to iostat-parse.sh
listed there. Try to run manually as user zabbix. Use sda and await for $1 and $2
root@zabbix:~# zabbix_get -s server_ip -k iostat.discovery { "data":[ { "{#HARDDISK}":"sda"}, { "{#HARDDISK}":"sdb"}, { "{#HARDDISK}":"md0"}, { "{#HARDDISK}":"md1"}, { "{#HARDDISK}":"dm-0"}, { "{#HARDDISK}":"dm-1"}, { "{#HARDDISK}":"dm-2"}]}