ブリッジアダプター

Zabbixブリッジアダプターを使用すると、ZabbixサーバーとZabbixモバイルアプリ間で通信できます。

Zabbixモバイルアプリは、Zabbixサーバーに直接接続しません。 代わりに、2つのコンポーネントが両者の間でデータを受け渡します。

  • Zabbix Bridge - モバイルデバイス上のZabbixモバイルアプリとデータを交換する、中央ホスト型のサービス。
  • Zabbixブリッジアダプター - インストールして実行するコンポーネント。 ZabbixサーバーをZabbix Bridgeに接続します。

ブリッジアダプターは、パッケージを使用して、Zabbixサーバーと同じシステム、または別のシステムにインストールできます。

Zabbixブリッジアダプターを設定するには、その設定ファイル(デフォルトのパス: /etc/zabbix/zabbix_bridge_adapter.conf)を更新します。

Zabbixブリッジアダプターのセキュリティを確保する方法については、モバイルアクセスのセキュリティ保護を参照してください。

Network connections

Zabbix bridge adapter initiates all connections to Zabbix Bridge, so you do not need to allow incoming internet connections.

The following connections stay within your network:

  • Zabbix server → Bridge adapter (HTTP(S): ListenPort) - sends push notifications and device management requests.
  • Bridge adapter → Zabbix API (HTTP(S): ZabbixAPIURL port) - forwards requests from the mobile app, if AllowedAPIMethods allows it.
  • Health-check client → Bridge adapter (HTTP: ListenHealthPort) - checks the /health and /ready endpoints (e.g., from a load balancer or container orchestrator), if ListenHealthPort is set.

You can encrypt the connections between Zabbix server, Zabbix bridge adapter, and Zabbix API.

The following connections go over the internet (always encrypted, TLS 1.2/1.3):

  • Bridge adapter → Bridge (HTTPS: 443):
    • When started, retrieves a list of service endpoints from ZabbixBridgeURL.
    • Gets an access token from the Zabbix Bridge identity provider (OAuth 2.0) at https://auth.mobilebridge.zabbix.com/oauth2/token.
  • Bridge adapter → Bridge (gRPC: 443):
    • When started, enrolls (only once) Zabbix server through enroll.mobilebridge.zabbix.com:443.
    • Keeps an open connection to api.mobilebridge.zabbix.com:443 for queries from the mobile app.
    • Sends device management requests to register.mobilebridge.zabbix.com:443.
    • Sends push notifications to api.mobilebridge.zabbix.com:443.
  • Mobile app → Bridge (HTTPS: 443):
    • Retrieves a list of service endpoints from https://config.mobilebridge.zabbix.com/.well-known/bridge-configuration.
    • Gets an access token from the Zabbix Bridge identity provider (OAuth 2.0) at https://auth.mobilebridge.zabbix.com/oauth2/token.
  • Mobile app → Bridge (gRPC: 443):
    • When you add your device and scan the QR code, enrolls the mobile device through enroll.mobilebridge.zabbix.com:443.
    • Sends queries to api.mobilebridge.zabbix.com:443 (e.g., when you update problems).