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

Annotation of /rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-server-0.1-sendxmpp_template.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Mar 2 23:29:47 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-10_el4_sme, smeserver-zabbix-proxy-0_1-5_el4_sme, smeserver-zabbix-proxy-0_1-8_el4_sme, smeserver-zabbix-proxy-0_1-9_el4_sme, smeserver-zabbix-proxy-0_1-6_el4_sme, smeserver-zabbix-proxy-0_1-7_el4_sme, smeserver-zabbix-proxy-0_1-4_el4_sme, HEAD
Initial import of smeserver-zabbix-proxy

1 slords 1.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