ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5661

keys "vfs.dev.read|write" with ops, sps parameters do not work

    Details

      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

        Activity

        Hide
        Oleksiy Zagorskyi added a comment - - edited

        I will check now under freebsd, just in case

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

        Show
        Oleksiy Zagorskyi added a comment - - edited I will check now under freebsd, just in case <zalex> as expected under freebsd is the same - ZBX_NOTSUPPORTED
        Hide
        Roman added a comment -

        The same problem also under Linux. Voted

        Show
        Roman added a comment - The same problem also under Linux. Voted
        Hide
        Andris Mednis added a comment - - edited

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

        Oleksiy Zagorskyi tested, I confirm the fix.

        Show
        Andris Mednis added a comment - - edited Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5661 Oleksiy Zagorskyi tested, I confirm the fix.
        Hide
        Alexander Vladishev added a comment - - edited

        Successfully tested! Please review my changes in r30814.

        <Andris> Changes reviewed.

        Show
        Alexander Vladishev added a comment - - edited Successfully tested! Please review my changes in r30814. <Andris> Changes reviewed.
        Hide
        Andris Mednis added a comment -

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

        Show
        Andris Mednis added a comment - Fixed in versions pre-2.0.4 rev. 30825 and pre-2.1.0 rev. 30826.
        Hide
        Sergei Shmanko added a comment -

        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.

        Show
        Sergei Shmanko added a comment - 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.
        Hide
        Oleksiy Zagorskyi added a comment -

        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

        Show
        Oleksiy Zagorskyi added a comment - 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
        Hide
        Sergei Krasnov added a comment -

        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]

        Show
        Sergei Krasnov added a comment - 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]
        Hide
        Łukasz Jernaś added a comment -

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

        Show
        Łukasz Jernaś added a comment - Hmm, AFAIR this should work only with zabbix_get, at least according to the commit: http://git.zabbixzone.com/zabbix2.0/.git/commitdiff/725b85b77c3f2a92fb6fe8c0fe9f646a952f047b
        Hide
        Łukasz Jernaś added a comment -

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

        so the zabbix server should get those items properly

        Show
        Łukasz Jernaś added a comment - zabbix-server$ zabbix_get -s hosts -k vfs.dev.read [,sps] 125.428571 so the zabbix server should get those items properly
        Hide
        Oleksiy Zagorskyi added a comment -

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

        Show
        Oleksiy Zagorskyi added a comment - Sergei Krasnov, key parameters ops, sps can be calculated only when agent is running ! Start agent, and use zabbix_get to test these keys.
        Hide
        Sergei Krasnov added a comment -

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

        Show
        Sergei Krasnov added a comment - thanks, everything works fine with zabbix_get. Sorry for false alarm

          People

          • Assignee:
            Unassigned
            Reporter:
            Oleksiy Zagorskyi
          • Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: