[ZBX-11494] Not supported item after Zabbix agent restart on AIX Created: 2016 Nov 16  Updated: 2017 May 30  Resolved: 2016 Dec 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.0.5, 3.2.1
Fix Version/s: 2.2.17rc1, 3.0.7rc1, 3.2.3rc1, 3.4.0alpha1

Type: Incident report Priority: Critical
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: aix
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

AIX


Issue Links:
Duplicate

 Description   

Zabbix agent does not enable vmstat statistic collecting by default only if vmstat items are enabled. It waits 2 seconds till new data, but it could be not enough to calculate and gather data during these 2 seconds (2 iterations of collector):

3473522:20161115:125158.799 using configuration file: /opt/zabbix/etc/zabbix_agentd.conf
3473522:20161115:125158.799 agent #0 started [main process]
17498270:20161115:125158.800 agent #1 started [collector]
15859782:20161115:125158.803 agent #2 started [listener #1]
11862088:20161115:125158.804 agent #3 started [active checks #1]
11862088:20161115:125200.830 active check "system.stat[cpu,id]" is not supported: No data available in collector.


 Comments   
Comment by Viktors Tjarve [ 2016 Nov 30 ]

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

Comment by Alexander Vladishev [ 2016 Dec 02 ]

(1) Zabbix agent v2.2 does not support error reporting. Therefore changes in r64137 are useless.

viktors.tjarve RESOLVED in r64164.

<dimir> CLOSED

Comment by dimir [ 2016 Dec 09 ]

Tested. Please review the suggestion to improve the comment in r64321.

viktors.tjarve Looks good.

Comment by dimir [ 2016 Dec 09 ]

I don't like the name of the file src/zabbix_agent/stats.c, I think it should be called src/zabbix_agent/collector.c. I wonder if we could rename it in the scope of this task.

viktors.tjarve I agree that file name should be changed as suggested above but that should not be done for version 2.2. My suggestion would be to leave the file name as it is for this bug fix and change it together with a different agent related issue for later version only.

<dimir> Yes, also sasha agreed on renaming it in trunk as soon as we touch collector.

Comment by Viktors Tjarve [ 2016 Dec 12 ]

Released in:

  • 2.2.17rc1 r64367.
  • 3.0.7rc1 r64368.
  • 3.2.3rc1 r64370.
  • 3.3.0 r64371.
Generated at Thu Apr 25 03:11:47 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.