Zabbix web interface, error when updating host configuration.

Bug #1621479 reported by Erik Pihl Østlyngen on 2016-09-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zabbix (Ubuntu)
Undecided
Unassigned

Bug Description

This bug appears in zabbix version 2.4.7 which is currently included in Ubuntu16.04. The problem occurs if I try to update a host, e.g adding an ip address to it. With debug trace activated, I get the following error message:

Incorrect arguments passed to function. [hosts.php:518 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHost->update() → CHost->massUpdate() → CHostInterface->replaceHostInterfaces() → CHostInterface->checkInput() → CApiService::exception() in /usr/share/zabbix/include/classes/api/services/CHostInterface.php:259]

The problem seems to have been corrected upstream in version 2.4.8 and is recorded as a major bug:
https://support.zabbix.com/browse/ZBX-9784

After I applied the patch mentioned in ZBX-9784 (r58205), the problem seems to be gone.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: zabbix-frontend-php 1:2.4.7+dfsg-2ubuntu2 [modified: usr/share/zabbix/include/classes/setup/CFrontendSetup.php]
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu Sep 8 15:09:18 2016
InstallationDate: Installed on 2016-03-17 (174 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307)
PackageArchitecture: all
SourcePackage: zabbix
UpgradeStatus: No upgrade log present (probably fresh install)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers