Help with NCV graph

Taylor Lewick tlewick at tradebotsystems.com
Tue Jan 26 17:44:27 CET 2010


Hi all, I have a ext script that runs on the central hobbit server and
reports NTP offsets for all clients.

It outputs to a column called ntp and looks like:

Tue Jan 26 10:01:12 CST 2010

NTP Info (/usr/sbin/ntptrace -n ip_addr)
NTP server is up 
OK 
Clock Offset: (-0.000296)

Ip_addr: stratum 2, offset -0.000296, synch distance 0.035976

So I added ntp=ncv to TEST2RRD and ntp to GRAPHS and added the line
NCV_ntp="Offset:GAUGE,*:NONE" in the hobbitserver.cfg

I also created a graph entry in hobbitgraph.cfg, see definition below:
[ntp]
        TITLE NTP accuracy
        YAXIS Offset (us)
        DEF:offset=ntp.rrd:Offset:AVERAGE
        LINE2:Offset#FF0000:Offset (us)
        COMMENT:\n
        GPRINT:Offset:LAST: \: %7.6lf us (cur)\n
        GPRINT:Offset:MAX: \: %7.6lf us (max)\n
        GPRINT:Offset:MIN: \: %7.6lf us (min)\n
        GPRINT:Offset:AVERAGE: \: %7.6lf us (avg)\n

and then I restarted hobbit.

The problem is, I'm not getting any RRDs. I see the graph link on the
page, but with a white box and red x, meaning no graph to display.
Can anyone point me in the right direction as to what I'm doing wrong
regarding getting this data to dump to an rrd file?

Thanks,
Taylor



More information about the Xymon mailing list