BBxPING

[v2] Introducing BBxPING Gen2.

BBxPING screenshot 1
BBxPING screenshot 2

◾️ BBxPing - ICMP Ping Monitor

BBxPing dashboard relies on TSDB(Prometheus, VictoriaMetrics) to show ping results in multiple prospective:

  • City
  • ISP
  • IP version
Example of prometheus.yml (for local machine)
  - job_name: "{{example}}"
    metrics_path: '/probe'
    params:
      module: [icmp]
    file_sd_configs:
      - files:
        - '/etc/prometheus/blackbox/*.yml'
    relabel_configs:
        - source_labels: [__address__]
          target_label: __param_target
        - source_labels: [__param_target]
          target_label: instance
        - target_label: __address__
          replacement: localhost:9115
Example of Prometheus’s file_sd
Anycast Server
    - targets:
        - 8.8.8.8
      labels:
        name: 'GOOGLE'
        code: 'ANYCAST'
        ip: 'IPv4'

    - targets:
        - 2001:4860:4860::8888
      labels:
        name: 'GOOGLE'
        code: 'ANYCAST'
        ip: 'IPv6'
Multicast Server
    - targets:
        - example.server(NTT, zum Beispiel/for example)
      labels:
        name: 'TYO-NTT'
        code: 'NRT'
        city: 'Tokyo'
        isp: 'NTT'
        ip: 'IPv4'
Compulsory Labels

code ip

Optional Labels (not shown if not defined)

name city isp

Should be specified

domestic: 'true' (only on domestic servers)

code: 'ANYCAST' (if the target is anycast)

code (should follow the IATA airport code format if the target is anycast)

Chinese 中文

◾️ BBxPing - ICMP Ping 监控

BBxPing 通过 Prometheus、VictoriaMetrics 等 TSDB 多维度展示机器 ping 的结果:

  • 服务器所在城市
  • 运营商名称
  • IPv4 / IPv6
prometheus.yml 示例(以本地机器为例)
  - job_name: "{{example}}"
    metrics_path: '/probe'
    params:
      module: [icmp]
    file_sd_configs:
      - files:
        - '/etc/prometheus/blackbox/*.yml'
    relabel_configs:
        - source_labels: [__address__]
          target_label: __param_target
        - source_labels: [__param_target]
          target_label: instance
        - target_label: __address__
          replacement: localhost:9115
Prometheus 的 file_sd 示例
Anycast 服务器
    - targets:
        - 8.8.8.8
      labels:
        name: 'GOOGLE'
        code: 'ANYCAST'
        ip: 'IPv4'

    - targets:
        - 2001:4860:4860::8888
      labels:
        name: 'GOOGLE'
        code: 'ANYCAST'
        ip: 'IPv6'
Multicast 服务器
    - targets:
        - example.server(以 NTT 为运营商举例)
      labels:
        name: '日本1'
        code: 'NRT'
        city: '东京'
        isp: 'NTT'
        ip: 'IPv4'
必填 label

code ip

可选 label(不写则不显示)

name city isp

特殊 label

domestic: 'true'(目标位于本国)

code: 'ANYCAST'(目标为 Anycast)

code(应遵循 IATA 机场代码格式填写)

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies