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)
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.
(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:
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?
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com