bufanda / zabbix--template-xenorchestra

These are templates for the Zabbix monitoring solution to monitor VM resources in XenOrchestra
14 stars 4 forks source link

XenOrchestra

Overview

This template is designed for the effortless deployment of both XenOrchestra and XCP-NG monitoring and doesn't require any external scripts.

The "XCP-NG Host via Xen Orchestra" and "XCP-NG VM via Xen Orchestra" templates are used by discovery and normally should not be manually linked to a host.

Requirements

Zabbix version: 6.0 and higher.

Tested versions

This template has been tested on:

!! ATTENTION !!

Due to the issue with Zabbix 7.0 make sure to have the right cURL version installed.

The container for zabbix 7.0.4 seems to be working ok.

Author

Thorsten Liepert

Setup

  1. Generate an access token at XenOrchestra for a user with read access.
  2. Create a host for the XenOrchestra host and link template "Xen Orchestra by HTTP"
  3. Configure macro "{$XOA.AUTH.TOKEN}" with generated access token
  4. Configure macro "{$XOA.URL}" with url to XenOrchestra e.g. https://xen.mydomain.com
  5. (optional) Configure macro "{$XOA.PROXY.URL}" to use a proxy.

Macros used

Name Description Default
{$XOA.AUTH.TOKEN}

authentication token for XenOrchestra API

{$XOA.URL}

URL to XenOrchestra (https://xen.mydomain.com)

{$XOA.PROXY.URL}

Proxy URL if needed to reach {$XOA.URL}

{$XOA.SR.THRESHOLD.CRIT}

Critical threshold for storage repository usage in percent

{$XOA.SR.THRESHOLD.WARN}

Warning threshold for storage repository usage in percent

Feedback

Please report any issues with the template at https://github.com/bufanda/zabbix--template-xenorchestra