Xymon Mailing List Archive search

NTP service graph broken

2 messages in this thread

list Jeremy Laidman · Tue, 18 Oct 2011 13:48:42 +1100 ·
Peeps

I can't get my NTP service page to show a graph.

I run a group of stratum-2 NTP servers for internal use, and I'd like
to monitor their NTP accuracy.  However, I've never been able to get
the "NTP" graphs to show on the status page (on Xymon 4.3.3).  It
always shows the broken image icon.  I don't think I have altered
anything to make it break, but I'm not completely sure - I think it
just never worked.

I get an "ntpstat" (rather than "ntp") graph, but it only shows up in
trends.  I'd like to get it showing up in the "ntp" status page also.
The <IMG> URL in the status page uses "service=ntp" rather than
"service=ntpstat" as I see on the demo user-96c41484fea5@xymon.invalid.

A quick look through the source code for xymonrrd.c (which sets the
URL for the IMG) doesn't seem to show how the URL could change the
service name from "ntp" to "ntpstat".

I've tried switching to using sntp, and I've tried adding "ntp" to
TEST2RRD and GRAPHS, even though I didn't think these would help.
They didn't help.

Any ideas?

Cheers
Jeremy
list Jeremy Laidman · Tue, 18 Oct 2011 13:58:21 +1100 ·
On Tue, Oct 18, 2011 at 1:48 PM, Jeremy Laidman
<user-71895fb2e44c@xymon.invalid> wrote:
I can't get my NTP service page to show a graph.
I created a new entry in graphs.cfg for "[ntp]" and it worked.  But
I'm still a bit confused.  Has something changed in the code to remove
ntpstat, and perhaps the default graphs.cfg wasn't adjusted to match?
Should TEST2RRD be changed to have "time=ntp" (instead of
"time=ntpstat") or just plain "ntp"?

I'm guessing that I need to keep "GRAPHS=ntpstat" to keep the graph on
the trends page because the RRD file is still called ntpstat.rrd.

Cheers
Jeremy