[ZBX-10433] Remove not used DBSocket default parameter and improve documentation and description Created: 2016 Feb 23  Updated: 2018 Feb 28  Resolved: 2018 Feb 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 3.0.0
Fix Version/s: 4.0.0alpha5, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Kodai Terashima Assignee: Viktors Tjarve
Resolution: Fixed Votes: 1
Labels: configfile
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team A
Sprint: Sprint 26, Sprint 27, Sprint 28
Story Points: 0.25

 Description   

DBSocket default is /tmp/mysql.sock, but default is NULL in source and it uses libmysqlclient library's default.

(1) remove default parameter

Zabbix doesn't use /tmp/mysql.sock. It's better to remove it

(2) update documentation and description in configuration file

It's better to explain it in description. Documentation also should be updated.
https://www.zabbix.com/documentation/3.0/manual/appendix/config/zabbix_server

(3) DBport parameter

DBPort parameter also uses database client library default. MySQL Port is mentioned in the descripiotn and documentation now. It's better to update it same as DBSocket way above.



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Feb 23 ]

Originally discussed in ZBX-10425.

Comment by Viktors Tjarve [ 2018 Feb 07 ]

If values for DBPort and DBSocket are not defined in server or proxy configuration files then by default DBPort would be 0 and DBSocket - NULL. Later when attempting to connect to DB values necessary for both parameters would be acquired by MySQL library from MySQL configuration files.

  • Removed incorrect default values from documentation version 4.0;
  • Changed LogFile Mandatory: description in all configuration files to match the documentation.
Comment by Viktors Tjarve [ 2018 Feb 08 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10433

Comment by Sergejs Paskevics [ 2018 Feb 20 ]

Successfully tested

Comment by Viktors Tjarve [ 2018 Feb 26 ]

Released in:

  • 4.0.0alpha5 r78052
Generated at Fri Mar 29 08:56:35 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.