Monitoring Xen Hypervisor - How?

I’m wondering how others are monitoring their Xen Hypervisor (v8.2).
Is there a way to get the system resources used like CPU, memory, disks, etc.?

I’ve just found that metrics are exposed as RRDs which can be fetched by http in the docs which doesn’t make sense for me (https://docs.xenserver.com/en-us/citrix-hypervisor/monitor-performance).

For the new release “Xen Server 8” (which we aren’t using yet) the docs do show a way to get data via NRPE and SNMP (https://docs.xenserver.com/en-us/xenserver/8/monitor-performance).

The plugins in Icinga Exchange are rather old (7+ years).
Is there a plugin which is still maintained?

Many thanks for any useful information.

Regards,
AlexR

Use the Icinga2 NRPE plugin to check the status of the xen servers;

You should enable nrpe on the hosts first. This works pretty good here.

I have never worked with Xen Hypervisors, but could you maybe run check_by_ssh and execute some custom scripts on the remote machine?

Thanks for your reply!
I’ve never considered trying the NRPE interface as the Icinga Documentation says:

Note: This plugin is considered insecure/deprecated.

see: Icinga Template Library - Icinga 2

IMHO, the connection/communication part of the NRPE is considered insecure/deprecated.

If you’re able to replace this part with check_by_ssh or the Icinga2 agent, you could still trigger the same checks to monitor the Xen Hypervisor.

Also the age of checks doesn’t necessarily mean, they aren’t working anymore or are no longer maintained - do you release new versions of your scripts, if they aren’t broken :wink: