Project

General

Profile

Actions

Regression #12278

closed

Invalid plugin_certificates() function name

Added by Viktor Gurov over 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Zabbix
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

PHP Errors:
[18-Aug-2021 15:10:27 Europe/Moscow] PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, function 'zabbix-agent_plugin_certificates' not found or invalid function name in /etc/inc/pfsense-utils.inc on line 3467
[18-Aug-2021 15:10:27 Europe/Moscow] PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, function 'zabbix-proxy_plugin_certificates' not found or invalid function name in /etc/inc/pfsense-utils.inc on line 3467

Functions zabbix_agent_plugin_certificates() and zabbix_proxy_plugin_certificates() must be renamed to
zabbixagent_plugin_certificates() and zabbixproxy_plugin_certificates()
+ zabbix-agent.xml must be renamed to zabbixagent.xml and zabbix-proxy.xml to zabbixproxy.xml
because of hyphen('-') is not allowed in function name (see syslog-ng fix in #12204)


Related issues

Related to Bug #12036: Certificate Manager page do not show Zabbix used certificatesResolvedViktor Gurov06/14/2021

Actions
Actions

Also available in: Atom PDF