[ZBX-5661] keys "vfs.dev.read|write" with ops, sps parameters do not work Created: 2012 Oct 05  Updated: 2017 May 30  Resolved: 2012 Oct 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.0.3
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 4
Labels: discs, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Tested under Linux, agent compiled from trunk branch:

  1. ./zabbix_agentd-r30117 -V
    Zabbix Agent (daemon) v2.1.0 (revision 30113) (21 May 2012)
    Compilation time: Oct 5 2012 15:14:43

the keys work

  1. ./zabbix_agentd-r30118 -V
    Zabbix Agent (daemon) v2.1.0 (revision 30118) (21 May 2012)
    Compilation time: Oct 5 2012 15:16:47

the keys do not work

Debuglog:
17991:20121005:152304.961 Processing request.
17991:20121005:152304.961 Requested [vfs.dev.write[sda,ops]]
17991:20121005:152304.961 Sending back [ZBX_NOTSUPPORTED]

Broken in rev 30118 (for trunk), 30117 (2.0 branch) in ZBX-5473

Reported in a forum thread (in Russian): http://www.zabbix.com/forum/showthread.php?p=114707



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Oct 05 ]

I will check now under freebsd, just in case

<zalex> as expected under freebsd is the same - ZBX_NOTSUPPORTED

Comment by Roman [ 2012 Oct 05 ]

The same problem also under Linux. Voted

Comment by Andris Mednis [ 2012 Oct 10 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5661

zalex_ua tested, I confirm the fix.

Comment by Alexander Vladishev [ 2012 Oct 12 ]

Successfully tested! Please review my changes in r30814.

<Andris> Changes reviewed.

Comment by Andris Mednis [ 2012 Oct 15 ]

Fixed in versions pre-2.0.4 rev. 30825 and pre-2.1.0 rev. 30826.

Comment by Sergei Shmanko [ 2012 Nov 08 ]

In pre-2.0.4rc1 (31310) vfs.dev.write[/dev/mapper/VolGroup00-LogVol00,bps] still doesn't work.
bytes and bps return ZBX_NOTSUPPORTED
Types - operations and sectors are working.

Comment by Oleksii Zagorskyi [ 2012 Nov 08 ]

Sergei, this is correct because bps and bytes modes are not supported under Linux !
http://www.zabbix.com/documentation/2.0/manual/appendix/items/supported_by_platform

Comment by Sergei Krasnov [ 2012 Dec 09 ]

it is still reproducible with 2.0.4

#zabbix_agent -V
Zabbix agent v2.0.4 (revision 31984) (08 December 2012)
Compilation time: Dec 9 2012 22:02:52

#sudo zabbix_agent -t vfs.dev.read[,operations]
vfs.dev.read[,operations] [u|788854]

#sudo zabbix_agent -t vfs.dev.read[,ops]
vfs.dev.read[,ops] [m|ZBX_NOTSUPPORTED]

#sudo zabbix_agent -t vfs.dev.read[,sps]
vfs.dev.read[,sps] [m|ZBX_NOTSUPPORTED]

Comment by Łukasz Jernaś [ 2012 Dec 09 ]

Hmm, AFAIR this should work only with zabbix_get, at least according to the commit:
http://git.zabbixzone.com/zabbix2.0/.git/commitdiff/725b85b77c3f2a92fb6fe8c0fe9f646a952f047b

Comment by Łukasz Jernaś [ 2012 Dec 09 ]

zabbix-server$ zabbix_get -s hosts -k vfs.dev.read[,sps]
125.428571

so the zabbix server should get those items properly

Comment by Oleksii Zagorskyi [ 2012 Dec 09 ]

Sergei Krasnov,
key parameters ops, sps can be calculated only when agent is running !
Start agent, and use zabbix_get to test these keys.

Comment by Sergei Krasnov [ 2012 Dec 10 ]

thanks, everything works fine with zabbix_get. Sorry for false alarm

Generated at Wed Apr 24 23:24:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.