lesovsky / zabbix-extensions

Zabbix additional monitoring modules
BSD 3-Clause "New" or "Revised" License
315 stars 230 forks source link

IOstats do not parse data into zabbix server #38

Closed denisgolius closed 6 years ago

denisgolius commented 6 years ago

default

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"}]}

denisgolius commented 6 years ago

default

justabaka commented 6 years ago

Both bash scripts should be called with parameters... Just check the source code or your userparameters.

stephankn commented 6 years ago

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