File: config_hostname.patch

package info (click to toggle)
zabbix 1%3A7.0.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 272,688 kB
  • sloc: sql: 946,050; ansic: 389,440; php: 292,698; javascript: 83,388; sh: 5,680; makefile: 3,285; java: 1,420; cpp: 694; perl: 64; xml: 56
file content (34 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Last-Update: 2019-08-21
Forwarded: not-needed
Bug-Upstream: https://support.zabbix.com/browse/ZBX-7211
Bug-Upstream: https://support.zabbix.com/browse/ZBXNEXT-498
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727604
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923534
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: un-hardcode default Hostname in Agent config.
 Upstream do not wish to use reasonable default.

--- a/conf/zabbix_agentd.conf
+++ b/conf/zabbix_agentd.conf
@@ -178,9 +178,8 @@
 # Mandatory: no
 # Default:
 # Hostname=
 
-Hostname=Zabbix server
 
 ### Option: HostnameItem
 #	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
 #	Does not support UserParameters or aliases.
--- a/conf/zabbix_proxy.conf
+++ b/conf/zabbix_proxy.conf
@@ -38,9 +38,8 @@
 # Mandatory: no
 # Default:
 # Hostname=
 
-Hostname=Zabbix proxy
 
 ### Option: HostnameItem
 #	Item used for generating Hostname if it is undefined.
 #	Ignored if Hostname is defined.