[ZBX-5940] agent doesn't show default key parameters used when agent executed with option -p Created: 2012 Dec 04  Updated: 2017 May 30  Resolved: 2012 Dec 12

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

Type: Incident report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: items, keys, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This is a regression !

Initially mentioned in https://support.zabbix.com/browse/ZBX-4635#comment-56147 but unfortunately was ignored.
Recently Rich poked me that the issue is still not created, so I'm creating it finally.

This regression appeared after ZBXNEXT-485 and visible starting from 2.0.0 stable release.

Some testing:

  1. ./zabbix_agentd18 -p | grep vfs.dev
    vfs.dev.read[sda,operations] [u|1224452]
    vfs.dev.write[sda,sectors] [u|1563159382]
  1. ./zabbix_agentd18 -V
    Zabbix Agent (daemon) v1.8.16rc1 (revision 31798) (20 August 2012)
    Compilation time: Dec 4 2012 21:15:15
  1. ./zabbix_agentd20 -p | grep vfs.dev
    vfs.dev.read [u|1213712]
    vfs.dev.write [u|34578915]
  1. ./zabbix_agentd20 -V
    Zabbix Agent (daemon) v2.0.4rc1 (revision 31099) (03 October 2012)
    Compilation time: Oct 26 2012 16:25:02

Testing two trunk revisions, see binary name:

  1. ./zabbix_agentd22245 -p | grep vfs.dev
    vfs.dev.read[sda,operations] [u|1220934]
    vfs.dev.write[sda,sectors] [u|1562171832]
  1. ./zabbix_agentd22246 -p | grep vfs.dev
    vfs.dev.read [u|1220934]
    vfs.dev.write [u|1562174268]

This has to be fixed, default values is very important.



 Comments   
Comment by Andris Mednis [ 2012 Dec 12 ]

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

Comment by dimir [ 2012 Dec 27 ]

Successfully tested. This fixes the regression.

Comment by Andris Mednis [ 2012 Dec 27 ]

Fixed in versions pre-2.0.5 rev. 32334 and pre-2.1.0 rev. 32335.

Comment by richlv [ 2013 Jun 20 ]

this resulted in an interesting regression - with -t params are now printed twice
ZBX-6730

Generated at Wed Apr 24 15:59:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.