Add template of td-agent.