-
Patch request
-
Resolution: Won't fix
-
Trivial
-
None
-
3.2.6
-
None
-
Sprint 13, Sprint 14, Sprint 15, Sprint 16
I have noticed some missing parts and would like to suggest fixes.
- File zabbix-3.2.6/frontends/php/conf/zabbix.conf.php.example - missing closing php entry
--- zabbix-3.2.6/frontends/php/conf/zabbix.conf.php.example 2017-05-05 15:50:27.000000000 +0100 +++ ../www/v3.2.6/conf/zabbix.conf.php.example 2017-06-08 06:35:26.000000000 +0100 @@ -16,3 +16,4 @@ $ZBX_SERVER_NAME = ''; $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG; +?>
- File zabbix-3.2.6/frontends/php/include/blocks.inc.php - in multi server environment it is nice to see Server Name instead as server could be localhost and it is not informative.
--- zabbix-3.2.6/frontends/php/include/blocks.inc.php 2017-05-05 15:50:22.000000000 +0100 +++ ../www/v3.2.6/include/blocks.inc.php 2017-06-08 06:39:31.000000000 +0100 @@ -455,7 +455,7 @@ } function make_status_of_zbx() { - global $ZBX_SERVER, $ZBX_SERVER_PORT; + global $ZBX_SERVER, $ZBX_SERVER_NAME, $ZBX_SERVER_PORT; $table = (new CTableInfo()) ->setHeader([ @@ -470,7 +470,7 @@ $table->addRow([ _('Zabbix server is running'), (new CSpan($status['zabbix_server']))->addClass($status['zabbix_server'] == _('Yes') ? ZBX_STYLE_GREEN : ZBX_STYLE_RED), - isset($ZBX_SERVER, $ZBX_SERVER_PORT) ? $ZBX_SERVER.':'.$ZBX_SERVER_PORT : _('Zabbix server IP or port is not set!') + isset($ZBX_SERVER, $ZBX_SERVER_PORT) ? $ZBX_SERVER_NAME.':'.$ZBX_SERVER_PORT : _('Zabbix server IP or port is not set!') ]); $title = (new CSpan(_('Number of hosts (enabled/disabled/templates)')))->setAttribute('title', 'asdad'); $table->addRow([_('Number of hosts (enabled/disabled/templates)'), $status['hosts_count'],