1 |
unnilennium |
1.1 |
diff -Nur smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server |
2 |
|
|
--- smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server 2017-03-29 13:46:37.201000000 -0400 |
3 |
|
|
+++ smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server 2017-03-29 13:48:24.735000000 -0400 |
4 |
|
|
@@ -4,8 +4,11 @@ |
5 |
|
|
my $pass = ${'zabbix-server'}{'DbPassword'} || 'secret'; |
6 |
|
|
|
7 |
|
|
my $schema = `rpm -qd zabbix-server-mysql | grep schema | grep mysql`; |
8 |
|
|
+$schema = `rpm -qd zabbix-server | grep schema | grep mysql` if $schema eq ''; |
9 |
|
|
my $data = `rpm -qd zabbix-server-mysql | grep data.sql`; |
10 |
|
|
+$data = `rpm -qd zabbix-server| grep mysql | grep data.sql` if $data eq ''; |
11 |
|
|
my $images = `rpm -qd zabbix-server-mysql | grep images_mysql`; |
12 |
|
|
+$images = `rpm -qd zabbix-server | grep mysql |grep images` if $images eq ''; |
13 |
|
|
|
14 |
|
|
|
15 |
|
|
$OUT .= <<"END"; |
16 |
|
|
diff -Nur smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/10NodeID smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/10NodeID |
17 |
|
|
--- smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/10NodeID 2009-02-02 21:55:05.000000000 -0500 |
18 |
|
|
+++ smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/10NodeID 2017-03-29 13:50:01.244000000 -0400 |
19 |
|
|
@@ -1,11 +1,11 @@ |
20 |
|
|
############ GENERAL PARAMETERS ################# |
21 |
|
|
|
22 |
|
|
+#NodeID dropped since Zabbix 2.40 |
23 |
|
|
+{ |
24 |
|
|
# This defines unique NodeID in distributed setup, |
25 |
|
|
# Default value 0 (standalone server) |
26 |
|
|
# This parameter must be between 0 and 999 |
27 |
|
|
- |
28 |
|
|
-{ |
29 |
|
|
-my $nodeID = ${'zabbix-server'}{'NodeID'} || '0'; |
30 |
|
|
-$OUT .= "NodeID=$nodeID\n"; |
31 |
|
|
+#my $nodeID = ${'zabbix-server'}{'NodeID'} || '0'; |
32 |
|
|
+#$OUT .= "NodeID=$nodeID\n"; |
33 |
|
|
} |
34 |
|
|
|