From 90e8132923f637c63c6b9332590e28ef7f9e7b30 Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Mon, 17 Nov 2014 19:24:41 +0900 Subject: [PATCH] Fixed sample of 'agent_name_cmd'. --- pandora_agents/unix/Linux/pandora_agent.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_agents/unix/Linux/pandora_agent.conf b/pandora_agents/unix/Linux/pandora_agent.conf index 026de751e4..aa4724958a 100644 --- a/pandora_agents/unix/Linux/pandora_agent.conf +++ b/pandora_agents/unix/Linux/pandora_agent.conf @@ -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