-
Incident report
-
Resolution: Fixed
-
Major
-
1.8.5
-
None
-
Windows Server 2003
Specyfing long argument to item with zabbix_get causes agent to crash:
./zabbix_get.exe -s 1.2.3.4 -k 'system.cpu.util[ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc]'
zabbix_get.exe [3836]: Get value error: ZBX_TCP_READ() failed [Istniej?ce po??czenie zosta?o gwa?townie zamkni?te przez zdalnego hosta.]
zabbix_get.exe -s 1.2.3.4 -k system.cpu.num[9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999]
zabbix_get.exe [9504]: Get value error: ZBX_TCP_READ() failed [Istniej?ce po??czenie zosta?o gwa?townie zamkni?te przez zdalnego hosta.]
In windows application log I get:
Faulting application zabbix_agentd.exe, version 0.0.0.0, faulting module zabbix_agentd.exe, version 0.0.0.0, fault address 0x000101a0.
Faulting application zabbix_agentd.exe, version 0.0.0.0, faulting module zabbix_agentd.exe, version 0.0.0.0, fault address 0x0000ff87.
(fault address obviously depends on function called).
zabbix_agentd on FreeBSD doesn't fail (returning proper value or ZBX_NOTSUPPORTED).