dusharu / ZBX_Disk_Stat

Send statistic from /proc/diskstats to Zabbix
GNU General Public License v3.0
7 stars 5 forks source link

issue with column --json command #1

Closed yyovkov closed 4 years ago

yyovkov commented 4 years ago

Hi Andrey,

nice plugin!

I was testing it with CentOS 7 and ubuntu 18.04. There the command column doesn't have option --json. This option is presented in CentOS 8.

Rather this is not issue, as you have provided version which is using aws in your first commit. Possibly is worthy to mention this requirements in the README file, and in the zabbix plugins page.

dusharu commented 4 years ago

Hi Yovko, Thank you for Information.

I'm start working on this problem.

dusharu commented 4 years ago

For Infromation: Column start support json on version 2.30

Last versions - 2.35

On Debian 10(buster(stable)) - 2.33 On Debian 9(stretch (oldstable)) - 2.29

On Ubuntu 18.04(bionic) - 2.31 On Ubuntu 16.04(xenial) - 2.27

On Centos-7 2.23 On Centos-8 2.32

On Gentoo - 2.34

dusharu commented 4 years ago

@yyovkov Are you agree with this decision?

README.md :

# For RHEL/CentOS-8, Debian-10(buster), Ubuntu-18.04(Xenial), Gentoo
curl -O 'https://raw.githubusercontent.com/dusharu/ZBX_Disk_Stat/master/config_zabbix-agent/Disk_Stat.conf'
# For old system
curl -o Disk_Stat.conf 'https://raw.githubusercontent.com/dusharu/ZBX_Disk_Stat/master/config_zabbix-agent/Disk_Stat_awk.conf'
dusharu commented 4 years ago

Add Install section to https://share.zabbix.com/operating-systems/linux/disk-stat