DumbMonit

IntegracionesVirtualización y contenedores

Monitorizar XCP-ng / XenServer con DumbMonit

An XCP-ng or XenServer pool through XAPI: hosts disabled or offline, VMs and their power state, storage repositories filling up, and a high-availability pool that can no longer survive the host failures it is set to tolerate.

DocumentaciónSitio web oficial: XCP-ng

Las descripciones están en inglés, como en el producto. Las etiquetas de la página siguen su idioma.

Qué vigila DumbMonit

An XCP-ng or XenServer (Citrix Hypervisor) pool, read through XAPI, the management API every host already runs. No Xen Orchestra is needed.

Uso habitual. Pool through XAPI: hosts, VMs, storage repositories, high availability

Ejemplos

  • XCP-ng 8.2 and 8.3
  • XenServer / Citrix Hypervisor

Cómo se conecta

Qué necesita

  • User name and passwordThe dumbmonit account, registered on the pool as a subject with the read-only role.

Puertos de red que abrir

  • 443/TCPXAPI (HTTPS, default)
Pasos de configuración: Give DumbMonit a read-only XAPI account
  1. On every host of the pool, create a local account with a long random password.

    useradd -M -s /sbin/nologin dumbmonit
    passwd dumbmonit
  2. On the pool coordinator, turn on PAM authentication once.

    xe pool-enable-external-auth auth-type=PAM service-name=pam
  3. Register the account as a subject and note the UUID it prints.

    xe subject-add subject-name=dumbmonit
  4. Give that subject the built-in read-only role, with the UUID.

    xe subject-role-add uuid=SUBJECT_UUID role-name=read-only
  5. In DumbMonit, enter the address of the pool coordinator (for example xcp01.lan) with that user name and password.

Ojo. If the pool already uses Active Directory, create the account there and skip steps 1 and 2. XCP-ng uses a self-signed certificate: enable "Accept an unverifiable certificate" unless the DumbMonit host trusts it.