/[smecontribs]/rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-hostname_from_db.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-hostname_from_db.patch

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


Revision 1.2 - (show annotations) (download)
Thu Apr 1 15:11:53 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
last fws version

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 RSS 2.0 feed