DumbMonit

ИнтеграцииОблако и домены

Мониторинг Hetzner Cloud в DumbMonit

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.