Hi Christophe,
I would recommend having one test per graph (so 5 different metrics = 5
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.
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)
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.
-> 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)
Let me know if this help and do not hesitate to share some part of the
script.
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