DumbMonit

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

Мониторинг OVHcloud в DumbMonit

State and running tasks of the VPS and dedicated servers of an OVHcloud account, read through the OVHcloud API.

ДокументацияОфициальный сайт: OVHcloud

Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.

Что проверяет DumbMonit

The VPS and dedicated servers of an OVHcloud account through the OVHcloud API: servers that are stopped or in error, and the tasks (reboot, reinstall, maintenance) running on them. DumbMonit reads GET /1.0/vps and GET /1.0/dedicated/server on eu.api.ovh.com, then the state and the pending tasks of each server, once a minute. The credential is an OVHcloud API token limited to two read rights. Every request is signed (X-Ovh-Signature, a SHA-1 of the secret, the consumer key, the method, the URL and the server time read from /auth/time), so the clock of the DumbMonit host does not matter.

Типичное применение. State and running tasks of the VPS and dedicated servers

Примеры

  • OVHcloud VPS and dedicated servers

Как подключается

Что понадобится

  • OVHcloud API keysThe application key, and the application secret and consumer key joined by a colon.

Сетевые порты, которые нужно открыть

  • 443/TCPOVHcloud API (HTTPS, eu.api.ovh.com)
Шаги настройки: Create a read-only API token for DumbMonit
  1. Open the OVHcloud token page of your region and sign in with your OVHcloud account. The link pre-selects the two read rights.

    https://eu.api.ovh.com/createToken/?GET=/vps*&GET=/dedicated/server*
  2. Name the script DumbMonit, set Validity to Unlimited, and keep only the two GET rights listed below, then click Create keys.

  3. Copy the Application Key, the Application Secret and the Consumer Key: they are shown once.

  4. In DumbMonit, enter eu.api.ovh.com as address (ca.api.ovh.com for OVHcloud Canada) and paste the Application Key as Application key.

  5. In the second field, type the Application Secret, a colon, then the Consumer Key.

    application_secret:consumer_key

Обратите внимание. The OVHcloud API publishes no calendar of planned maintenance: DumbMonit sees an intervention only once it has started, as a running task. A VPS you stopped yourself counts as down. A dedicated server is reported in error only if OVHcloud monitoring is enabled on it. Either right may be omitted to watch only the other family.