- Added support for Zabbix 7.2.
- Fixed
connectTimeout
setting the regular timeout instead of the connection timeout.
- Added custom exception class ZabbixApiException.
- Fixed exception handling issues in function
call()
if other exceptions are thrown by custom handlers.
- Tested with Zabbix 6.0.
- Added missing namespace in examples.
- Added function
loginToken()
to log in via API tokens.
- Fixed bug in getApiVersion() with invalid credentials.
- Added example and documentation using composer. See
examples/composer
.
- Tested with Zabbix 5.0 - 5.4.
- Added support for Zabbix 5.4 API change in
user.login
method. - Added namespace
IntelliTrend\Zabbix
. - Added composer support.
- Moved to semver version numbers.
- Added more examples to filter by hostnames, hostids, hostgroupnames and hostgroupids.
- Tested with Zabbix 5.0 and 5.2.
- Ensure that params passed to API call are an array.
- Added library version to debug output.
- BREAKING CHANGE: Classfilename renamed from
Zabbixapi.php
toZabbixApi.php
to match classname. - Call to
getAuthKey()
no longer simply returns theauthKey
. If there was no previous call to the Zabbix-API this funcion will call the Zabbix-API to ensure a valid key before returning the key. - Fixed error message for invalid sslCaFile.
- Public release.
- Added check for Curl.
- Added example for filtering and additional params passed to the Zabbix-API.
- Call to
login()
no longer initially calls the Zabbix-API anylonger to verify theauthKey
. - If debug is enabled via option, or via function before calling
login()
,login()
issues a call to the Zabbix-API to check wether the session is re-used.
- Internal release.
- Initial public release.