Hi Bruno,
On 12/10/2026 15:06, Bruno Manzoni via Xymon wrote:
Hi Christophe,
I would recommend having one test per graph (so 5 different metrics = 5 tests).
You mean instead of cramming five checks into one, I should separate those into individual tests?
If I remember correctly, an RRD file can contain multiple instances of the same measurement. For example, if you have 6 GPUs and want to monitor the usage of each one, you can store all 6 measurements in a single RRD file.
But how do I tell xymon I want six values per GPU per server? I wanted a behaviour similar to the "disk" check for example, where multiple disks show up in one graph per host.
Then, I think you can use the NCV or Devmon-style approach (also built into Xymon) to pass the parameters. (devmon way seems less documented but more powerfull)
I tried NCV and also SPLITNCV (which gave me different files for each value, but also only for the first GPU).
Also just that you know: We've fixed some issues in recent Xymon versions related to "grouping" graph data (multiple graphs in the same image). So it's important to know whether you're running the latest version.
oh, sorry, I forgot to add that information: Xymon 4.3.30 (running on Debian trixie).
-> The tests you are doing is also on my todo list. (as well as 2 features: 1. restructuring the way to pass data to xymon and to 2. stack multiple test into one)
Good to know, looking forward to the next version!
Let me know if this help and do not hesitate to share some part of the script.
This is the part in the for loop which "builds" the message for the xymon server:
MSG="${MSG} &${COLOR} Index: ${GPUINDEX} Name: ${GPUNAME} Power Draw: ${GPUPOWERDRAW} Watt Utilization (GPU): ${GPUUTILGPU} % Utilization (Memory bus): ${GPUUTILMEM} % GPU Memory Total: ${GPUMEMTOTAL} MB GPU Memory Used: ${GPUMEMUSED} MB " done
This part is working great, but the RRD files (named after the test [nvidia-gpu] and its value, e.g. "nvidia-gpu,PowerDraw.rrd") only contain the value for the first GPU in the check.
Thanks again!
Christoph
Bruno
Le 12.10.2026 à 14:23, Christoph Zechner via Xymon a écrit :
Hi,
I've stumbled upon a problem I cannot seem to solve myself and hope someone here can help me out...
A custom check I wrote is collecting data from Nvidia GPUs via the nvidia-smi command, the check works great and displays all the relevant data in its message, but I want to create graphs from certain data points too.
Here's my problem: in a server with 8 GPUs, I am collecting 5 different things from each GPU (like Power Draw, Utilisation and so on), these values get saved in a RRD file as well, but only the values from the first GPU.
I want to save a RRD file for each GPU and its values, so multiple data points in a RRD, but 8 different files (one per GPU) and I do not get how I can do this in a xymon check (bash script).
Can someone point me in the right direction here? What am I missing?
Thanks in advance!
Best regards Christoph
Xymon mailing list -- xymon@xymon.com To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com To unsubscribe send an email to xymon-leave@xymon.com