DumbMonit

集成云和域名

用 DumbMonit 监控 OVHcloud

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.