/[smecontribs]/rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-hostname_from_db.patch |
Parent Directory | Revision Log | Revision Graph
* Wed Feb 10 stephane de Labrusse <stephdl@de-labrusse.fr> - 0.1-53.sme - New rpm for sme9
1 | stephdl | 1.1 | --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/15hostname.hostname_from_db 2010-06-23 17:09:31.000000000 +0200 |
2 | +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/15hostname 2010-06-23 17:12:02.000000000 +0200 | ||
3 | @@ -1,4 +1,6 @@ | ||
4 | +{ | ||
5 | |||
6 | +my $host = (${'zabbix-agent'}{'Hostname'} || $SystemName.".".$DomainName); | ||
7 | +$OUT = "Hostname=$host\n"; | ||
8 | |||
9 | -Hostname={$SystemName.".".$DomainName;} | ||
10 | - | ||
11 | +} |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |