/[smecontribs]/rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy-0.1-hostname_from_db.patch |
Parent Directory | Revision Log | Revision Graph
* 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 |