/[smecontribs]/rpms/smeserver-zabbix-server/contribs9/smeserver-zabbix-server-0.1-sendxmpp_template.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-server/contribs9/smeserver-zabbix-server-0.1-sendxmpp_template.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 9 23:11:13 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-18_el6_sme, smeserver-zabbix-server-0_1-17_el6_sme, smeserver-zabbix-server-0_1-16_el6_sme, smeserver-zabbix-server-0_1-15_el6_sme, smeserver-zabbix-server-0_1-19_el6_sme, smeserver-zabbix-server-0_1-14_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-14.sme
- New roll for sme9

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/createlinks mezzanine_patched_smeserver-zabbix-server-0.1/createlinks
2 --- smeserver-zabbix-server-0.1/createlinks 2009-02-03 03:31:23.000000000 +0100
3 +++ mezzanine_patched_smeserver-zabbix-server-0.1/createlinks 2009-02-06 16:18:07.000000000 +0100
4 @@ -9,6 +9,7 @@
5 templates2events("/etc/zabbix/zabbix_server.conf", qw(zabbix-update bootstrap-console-save));
6 templates2events("/etc/zabbix/zabbix.conf.php", qw(zabbix-update bootstrap-console-save));
7 templates2events("/etc/sudoers", $event);
8 +templates2events("/var/lib/zabbix/bin/sendxmpp", $event);
9 templates2events("/etc/e-smith/sql/init/80zabbix-server", qw(zabbix-update bootstrap-console-save));
10
11 # Services to restart
12 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/db/configuration/defaults/zabbix-server/JabberTLS mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/db/configuration/defaults/zabbix-server/JabberTLS
13 --- smeserver-zabbix-server-0.1/root/etc/e-smith/db/configuration/defaults/zabbix-server/JabberTLS 1970-01-01 01:00:00.000000000 +0100
14 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/db/configuration/defaults/zabbix-server/JabberTLS 2009-02-06 16:18:07.000000000 +0100
15 @@ -0,0 +1 @@
16 +enabled
17 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all
18 --- smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all 1970-01-01 01:00:00.000000000 +0100
19 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all 2009-02-06 16:18:31.000000000 +0100
20 @@ -0,0 +1,10 @@
21 +#!/bin/sh
22 +
23 +echo "$3" | \
24 + sendxmpp -u {${'zabbix-server'}{'JabberAccount'};} \
25 + -p {${'zabbix-server'}{'JabberPassword'};} \
26 + -j {${'zabbix-server'}{'JabberServer'};} \
27 + -r zabbix \
28 + {(${'zabbix-server'}{'JabberTLS'} || 'enabled') eq 'disabled' ? '':'-t \\';}
29 + -s "$2" "$1"
30 +
31 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/templates.metadata/var/lib/zabbix/bin/sendxmpp mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates.metadata/var/lib/zabbix/bin/sendxmpp
32 --- smeserver-zabbix-server-0.1/root/etc/e-smith/templates.metadata/var/lib/zabbix/bin/sendxmpp 1970-01-01 01:00:00.000000000 +0100
33 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates.metadata/var/lib/zabbix/bin/sendxmpp 2009-02-06 16:18:07.000000000 +0100
34 @@ -0,0 +1,3 @@
35 +PERMS=0750
36 +UID="root"
37 +GID="zabbix"
38 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/var/lib/zabbix/bin/sendxmpp mezzanine_patched_smeserver-zabbix-server-0.1/root/var/lib/zabbix/bin/sendxmpp
39 --- smeserver-zabbix-server-0.1/root/var/lib/zabbix/bin/sendxmpp 2009-02-02 23:35:06.000000000 +0100
40 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/var/lib/zabbix/bin/sendxmpp 1970-01-01 01:00:00.000000000 +0100
41 @@ -1,8 +0,0 @@
42 -#!/bin/sh
43 -
44 -ACCOUNT=$(/sbin/e-smith/db configuration getprop zabbix-server JabberAccount)
45 -PASS=$(/sbin/e-smith/db configuration getprop zabbix-server JabberPassword)
46 -SERVER=$(/sbin/e-smith/db configuration getprop zabbix-server JabberServer)
47 -
48 -echo "$3" | sendxmpp -u $ACCOUNT -p $PASS -j $SERVER -t -s "$2" "$1"
49 -

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed