[ZBXNEXT-2637] change some default config file parameters to make more sense Created: 2014 Dec 12  Updated: 2015 Oct 22  Resolved: 2015 Jan 03

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Proxy (P), Server (S)
Affects Version/s: 2.5.0
Fix Version/s: 2.5.0

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: configfiles
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-8620 net.tcp.port[] check on passive agent... Closed

 Description   

some of the default values in the configuration files do not make much sense or could be improved to provide greater value.

the following have been agreed with sasha at this point :

  • [PS] DBUser=root -> zabbix
  • [S] MaxHousekeeperDelete=500 -> 5000
  • [PS] LogSlowQueries -> 3000
  • [A] UnsafeUserParameters - document prohibited chars
\ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
newline


 Comments   
Comment by richlv [ 2014 Dec 12 ]

(1) once merged, should be also documented in :

and probably the list at https://www.zabbix.com/documentation/3.0/manual/config/items/userparameters should be removed, linking to agentd page above

<richlv> currently changes have been made in :

sasha I made some fixes in Upgrade notes for 3.0.0 and What's new in Zabbix 3.0.0.

Should be described in Upgrade notes for 3.0.0 what this may affect the existing installations, since was changed to the default value for MaxHousekeeperDelete.

<richlv> thanks, upgrade notes have been changed to mention that. additionally, thanks to maartinjsh for updating the defaults in the server config page, but that raises a question - do we list default config file defaults or daemon defaults (as if nothing is specified in the config files) in that table ?

sasha It is daemon defaults.

<richlv> thanks. i reverted LogSlowQueries and Timeout changes in the server and proxy config pages, and also added notes in all daemon + zabbix_agent config pages (except java gateway). these notes were added in 3.0 documentation only

RESOLVED

sasha Many thanks! CLOSED

Comment by richlv [ 2014 Dec 15 ]

resolved in svn://svn.zabbix.com/branches/dev/ZBXNEXT-2637

  • DBUser changed for proxy/server to 'zabbix'
  • MaxHousekeeperDelete changed to 5000 for server
  • LogSlowQueries changed to 3000 for proxy/server
  • Timeout changed to 4 seconds for server and proxy
  • for UnsafeUserParamaters, added the following :
    #       The following characters are not allowed:
    #       \ ' ” ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
    #       Additionally, newline characters are not allowed.
    
Comment by richlv [ 2014 Dec 15 ]

(2) should proxy have a separate user of 'zabbix_proxy' ?

<richlv> as discussed with sasha, leaving it at 'zabbix' should be ok for now, CLOSED

Comment by Marc [ 2014 Dec 15 ]

I wonder whether reducing these might be reasonable too. The high default value leads often to confusion to new users that are not aware of it:

  • [P] ConfigFrequency=3600
  • [S] ProxyConfigFrequency=3600
Comment by richlv [ 2014 Dec 15 ]

regarding proxy config frequencies, they are suggested to be larger for performance reasons - i'm leaning towards keeping them as-is for now.
if the config syncing could be made much more efficient in case of no changes, these should be indeed reduced.

Comment by Filipp Sudanov (Inactive) [ 2014 Dec 17 ]

(3) Also it would be nice to put default timeout on zabbix server bigger, than on zabbix agent. See ZBX-8620.

<richlv> discussed with sasha & decided to increase server & proxy timeouts to 4 seconds. this was done in config files only
changed in r51246, RESOLVED

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Dec 29 ]

(4) Could you take a look at my changes in r51316. There was fixed a typo and updated GUI configuration file.

<richlv> thanks, looks good to me, CLOSED

Comment by richlv [ 2014 Dec 29 ]

merged to trunk in r51319.

Comment by Aleksandrs Saveljevs [ 2015 Oct 22 ]

A bug with double quotes not being plain double quotes added as (129) to ZBXNEXT-1263.

Generated at Fri Apr 26 12:05:08 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.