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

Contents of /rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy-0.1-hostname_from_db.patch

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


Revision 1.1 - (show annotations) (download)
Tue Oct 19 12:00:58 2010 UTC (14 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-10_el4_sme, smeserver-zabbix-proxy-0_1-8_el4_sme, smeserver-zabbix-proxy-0_1-9_el4_sme, HEAD
Error occurred while calculating annotation data.
* Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
- Possibility to set Hostname from the DB

1 --- smeserver-zabbix-proxy-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_proxy.conf/15hostname.hostname_from_db 2010-10-19 13:56:33.000000000 +0200
2 +++ smeserver-zabbix-proxy-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_proxy.conf/15hostname 2010-10-19 13:58:25.000000000 +0200
3 @@ -1,4 +1,7 @@
4 +{
5
6 -# Unique hostname.
7 +my $host = (${'zabbix-proxy'}{'Hostname'} || $SystemName.".".$DomainName);
8 +$OUT = "Hostname=$host\n";
9 +
10 +}
11
12 -Hostname={$SystemName.".".$DomainName;}

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