[ZBX-6565] system.stat[memory,avm] not supported on AIX 6.1 with 64bit agent Created: 2013 May 04  Updated: 2024 Apr 10  Resolved: 2018 Sep 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.0.6
Fix Version/s: 3.0.22rc1, 3.4.14rc1, 4.0.0beta2, 4.0 (plan)

Type: Problem report Priority: Critical
Reporter: Carlos Rodrigues Assignee: Andris Mednis
Resolution: Fixed Votes: 0
Labels: AIX
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

AIX 6.1 with 64bit zabbix_agentd


Issue Links:
Duplicate
is duplicated by ZBX-11085 system.stat key doesn't work on AIX 7.1 Closed
Team: Team A
Sprint: Sprint 40, Sprint 41
Story Points: 2

 Description   

After rebuilding my zabbix_agentd for 64bit on AIX (see ZBX-6564), I've now unearthed another issue:

In AIX 6.1, the key "system.stat[memory,avm]" (active virtual pages) only works if zabbix_agentd is compiled as 32bit. If the agent is compiled as 64bit, this key becomes "not supported".

On AIX 5.3 this problem doesn't happen.

As an additional note, is there a reason why I can't test "system.stat" keys on the command line? This command returns
ZBX_NOTSUPPORTED:

   /usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf -t 'system.stat[memory,avm]'

But this one also returns ZBX_NOTSUPPORTED although the agent seems to be reporting values to the server just fine:

  /usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf -t 'system.stat[memory,fre]'

Perhaps I'm doing something wrong here, or this is reason for another bug report...



 Comments   
Comment by Andris Mednis [ 2018 Aug 13 ]

As an additional note, is there a reason why I can't test "system.stat" keys on the command line?

With 3.0.15 on AIX 7.1:

$ sbin/zabbix_agentd -t 'system.stat[memory,avm]'
system.stat[memory,avm]                       [m|ZBX_NOTSUPPORTED] [Collector is not started.]
$ sbin/zabbix_agentd -t 'system.stat[memory,fre]'
system.stat[memory,fre]                       [m|ZBX_NOTSUPPORTED] [Collector is not started.]

So, yes, these items require a working agent, not just one started with '-t'.

Comment by Andris Mednis [ 2018 Aug 29 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6565-13645-14559-30 (based  on 3.0.22rc1) which contains proposed fixes for:

Tested on AIX 6.1 TL0, 7.1 TL0, 7.1 TL4.

Comment by Andris Mednis [ 2018 Aug 31 ]

Fixed in versions:

  • pre-3.0.22rc1 r84412
  • pre-3.4.14rc1 r84415
  • pre-4.0.0beta2 (trunk) r84416
Comment by Andris Mednis [ 2018 Aug 31 ]

No documentation update required.

Generated at Fri Apr 26 23:51:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.