Added sample setting of 'agent_name_cmd' and sample external command.
(cherry picked from commit d6f33811aa59a3895115d531bcafb29498bd1cc6)