ページ : 1 2
コレクタ側Prometheusの設定
Prometheusサーバのターミナルへ入り、 prometheus.yml にUnbound Exporterのジョブを追加します。
|
1 2 3 |
- job_name: 'unbound' static_configs: - targets: ['resolv9.lan:9167'] |
Prometheusサービスを再起動して、設定を反映させます。
|
1 2 3 4 5 |
prom14:~$ sudo rc-service prometheus restart * Stopping prometheus ... [ ok ] * Starting prometheus ... [ ok ] prom14:~$ rc-service prometheus status * status: started |
PrometheusのWebUIの Status → Service Discovery にUnboundが追加されました。
Grafana Dashboardの導入
次に、GrafanaのWebUIでUnbound Dashboardを、そのID番号でインポートします。
同じ要領でネットワーク上の全てのUnbound DNSサーバを登録し、しばらくメトリクスを収集してみました。
Unbound Exporterのほぼ全ての項目を可視化しているDashboardらしいので、じっくり眺めながら、日常監視に使えそうな項目をピックアップしようと思います。
ページ : 1 2






