DumbMonit

集成云和域名

用 DumbMonit 监控 Hetzner Cloud

Servers, volumes and backups of a Hetzner Cloud project, read through the Hetzner Cloud API.

文档官方网站:Hetzner Cloud

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

The servers of a Hetzner Cloud project through the Hetzner Cloud API: servers that are not running, a processor that stays saturated, backups that stopped and volumes attached to nothing. DumbMonit reads the API at api.hetzner.cloud/v1 once a minute with a read-only project token sent as a bearer token. The list of servers is required; the activity of the servers, the volumes and the backups are optional parts that, if refused, are skipped without making the monitor fail. One monitor reads one project (a token belongs to a single project).

典型用途. Servers, CPU, volumes, backups

示例

  • Hetzner Cloud project

连接方式

您需要准备

  • API tokenA read-only API token of the Hetzner Cloud project.

需要开放的网络端口

  • 443/TCPHetzner Cloud API (HTTPS, api.hetzner.cloud)
设置步骤: Create a read-only API token for DumbMonit
  1. In the Hetzner Cloud Console, open the project to monitor, then Security > API tokens > Generate API token.

  2. Name it DumbMonit and choose the Read permission (not Read & Write).

  3. Click Generate API token, then copy the token: it is shown once.

  4. In DumbMonit, use this address and paste the token as API token. One monitor reads one project.

    api.hetzner.cloud

注意. A server that is powered off is reported as not running, on purpose or not: mute the rule for it if that is expected. The API allows 3600 requests per hour and project, so server metrics are read for 10 servers by default.