0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

自己証明書のwebサービスをblackbox_exporterで監視する

Last updated at Posted at 2020-02-29

自己証明書のwebサービスをblackbox_exporterで監視する

prometheus/blackbox_exporter

以下のようにinsecure_skip_verify: trueをconfに書くことでhttpsを使った自己証明書の外径監視ができるようになる。

デフォルトとではfalseになってるので監視としてはエラーとなります。

    http:
      valid_http_versions: ["HTTP/1.1", "HTTP/2"]
      method: GET
      fail_if_ssl: false
      fail_if_not_ssl: true
      tls_config:
        insecure_skip_verify: true

自己証明書の環境を監視する機会はあんまなさそうですがローカルでblackbox_exporterを試す場合なんかは使えそうですね。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?