AlexR
March 19, 2024, 10:40am
1
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
Koffie
(Koffie)
May 7, 2025, 8:26am
2
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.
bberg
May 8, 2025, 8:54am
3
I have never worked with Xen Hypervisors, but could you maybe run check_by_ssh and execute some custom scripts on the remote machine?
AlexR
May 16, 2025, 1:27pm
4
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
rivad
(Dominik)
May 19, 2025, 9:38am
5
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