Hi Jeremy, thank you for the help.

Re: Are you saying that it all worked without the "-u 100" but doesn't work with that?
no, I've never had temperature graphs work, building a new Xymon server so I thought now would be a good time to dig in more.
Changing the scale was just cosmetic and it didn't work with the change or defaults (rrd file issues, so it didn't matter).

Re:  colons in graph (rrdgraph) parameters are problematic
This I did not know, haven't had much experience with troubleshooting rrd files, and yes, this was an issue.
I removed the colons from the message file, however, the affect was no more rrd file updates.
Looking @ https://xymon.com/help/howtograph.html, I changed:
In xymonserver.cfg, changed @TEST2RRD temperature to temperature=ncv <-- this now produces rrd file temperature.rrd as expected:
rrdtool fetch does now have some "good data" if seems:
1737962100: 4.5000000000e+01
1737962400: 4.5016666667e+01
1737962700: 4.6000000000e+01
1737963000: 4.6000000000e+01
1737963300: 4.6000000000e+01
1737963600: 4.6000000000e+01
1737963900: 4.5790000000e+01
1737964200: 4.5000000000e+01
1737964500: 4.5000000000e+01
1737964800: 4.5000000000e+01

However, there is no graph displayed, just get the search icon
image.png

The temperature graph definition is in graphs.cfg by default and unchanged, also temperature is also @ "GRAPHS="  in xymonserver.cfg by default as well.



On Sat, Jan 25, 2025 at 8:44 PM Jeremy Laidman <jeremy@laidman.org> wrote:
Hi Ken

Are you saying that it all worked without the "-u 100" but doesn't work with that?

As an aside, I'm not sure that it's logical to set the maximum to "100C", as a CPU has no reason to stay under 100C, or even to get close to 100C. Why not 90C? Or 85C? Why is 100C the number you chose? As an aesthetic decision that's yours to make, and certainly shouldn't break anything.

You're getting NaN for all data being graphed. Perhaps run "rrdtool fetch temperature.CPU:_44.rrd AVERAGE | tail" and see if you get valid data, or nothing but NaNs. If the latter then your source of data has a problem, not the graphing of it.

Also note that colons in graph (rrdgraph) parameters are problematic because it's used as a field separator by rrdgraph. The @RRDPARAM@ is expanded to (eg) "CPU:_44" which has a colon, and then the LINE2 specification has an extra colon, which might cause problems. But it's possibly fine. The fact that rrdgraph is showing colons in the graph legend suggests that it's not treating the colons as a field separator in this instance (perhaps xymon is escaping it) so you're probably fine.

Cheers
Jeremy

On Sun, 26 Jan 2025 at 07:15, Ken Connell via Xymon <xymon@xymon.com> wrote:
Typo,  Xymon 4.3.30 (but have the same issue in both versions)


On Sat, Jan 25, 2025 at 2:26 PM Ken Connell <kconnell@torontomu.ca> wrote:
Trying to graph temperature, it's a single OID that is polled successfully, but graph data notes the changes and separate values instead of graphing the changes as a whole.

Xymon 4.3.28 with Devmon  0.3.1-beta1 
(I am working on the newer Devmon version, but haven't gotten far enough with that version to implement yet).

For RRD data - I get multiple files for the host/test:
temperature.CPU:_44.rrd
temperature.CPU:_45.rrd

Snip from graphs.cfg (only thing I changed is the scale):
[temperature]
        FNPATTERN ^temperature.(.+).rrd
        TITLE Temperature
        YAXIS Celsius
        -u 100 <-- only change
        DEF:p@RRDIDX@=@RRDFN@:temperature:AVERAGE
        LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n


What am I missing here?

image.png


--
 

Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
350 Victoria St
RM PODB50
Toronto, Ont
M5B 2K3
416-979-5000 x556709



--
 

Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
350 Victoria St
RM PODB50
Toronto, Ont
M5B 2K3
416-979-5000 x556709

_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com


--
 

Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
350 Victoria St
RM PODB50
Toronto, Ont
M5B 2K3
416-979-5000 x556709