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 site at xymon.org.
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
On Tue, Oct 18, 2011 at 1:48 PM, Jeremy Laidman <jlaidman at rebel-it.com.au> 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
participants (1)
-
jlaidman@rebel-it.com.au