Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
308 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | touch /var/log/zabbix_agentd.log |
---|
4 | chown zabbix /var/log/zabbix_agentd.log |
---|
5 | |
---|
6 | |
---|
7 | #create or update unique hostname: |
---|
8 | echo "Hostname=`cat /etc/HOSTNAME `_`cat /etc/webint/UUID `" > /etc/zabbix/zabbix_agentd.conf.d/00_auto_hostname.conf |
---|
9 | exec pgrphack zabbix_agentd -f -c /etc/zabbix/zabbix_agentd.conf |
---|
Note: See
TracBrowser
for help on using the repository browser.