AWS 以外のクラウド上に CloudWatch-Agent をいれて
ログを AWS 上で一言管理したいです
対象のサーバーで
aws configure set default.region ap-northeast-1 --profile AmazonCloudWatchAgent CloudWatchエージェントをインストール
まではいいのですが
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-config-wizard
で対話型インターフェースで設定を行ったのでこの部分をレシピ化(非対話で設定)するにはどうすればいいでしょうか
あとSSMコンソール から Run Command AmazonCloudWatch-ManageAgent
でも設定を行ったのですが
https://docs.aws.amazon.com/ja_jp/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-premise.html
にコマンドラインで設定する方法がのっていて
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m onPremise -c ssm:configuration-parameter-store-name -s
とかいてあるのですが configuration-parameter-store-name には何をいれればいいのでしょうか
あなたの回答
tips
プレビュー