Fixed sample of 'agent_name_cmd'.

This commit is contained in:
Junichi Satoh 2014-11-17 19:24:41 +09:00
parent e6eb72e49a
commit 90e8132923
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ udp_server_auth_address 0.0.0.0
# To define agent name by specific command, define 'agent_name_cmd'.
# (In the following example, agent name is 'hostname_IP')
#agent_name_cmd /bin/echo -n `hostname`; /bin/echo -n "_"; /bin/echo `/sbin/ifconfig eth0 | /bin/grep 'inet addr' | /bin/awk '{print $2;}' | /bin/cut -d: -f2`
#agent_name_cmd LANG=C; /bin/echo -n `hostname`; /bin/echo -n "_"; /bin/echo `/sbin/ifconfig eth0 | /bin/grep 'inet addr' | /usr/bin/awk '{print $2;}' | /usr/bin/cut -d: -f2`
#Parent agent_name
#parent_agent_name caprica