Docker 1.11 の Swarm クラスタのリソースモニタリングをどうしようかなということでひとまず各 Docker ホストに monitoringartist/zabbix-agent-xxl-limited/ をインストールし、zabbix で一応見れるようにしていました。 「Zabbix 3.0をDocker Composeで一度に実行する方法」にお世話になりました。 でも zabbix に慣れないのもあるし不便だったのでずっと課題ではありました。 Docker に限らず Prometheus は前から使いたいと思っていたし、今後 Swarm をやめて Kubernetes に切り替えようかなというのもあってやっぱり Prometheus にトライしてみようということにしました。 Prometheus は pull 型のサーバーで、監視対象(target)に exporter