Project

General

Profile

« Previous | Next » 

Revision da8b271a

Added by David Wood over 9 years ago

Tell rrd that ntpd offset can be negative as well as positive

View differences:

src/etc/inc/rrd.inc
891 891
			/* set up the ntpd rrd file */
892 892
			if (!file_exists("$rrddbpath$ntpd")) {
893 893
				$rrdcreate = "$rrdtool create $rrddbpath$ntpd --step $rrdntpdinterval ";
894
				$rrdcreate .= "DS:offset:GAUGE:$ntpdvalid:0:1000 ";
894
				$rrdcreate .= "DS:offset:GAUGE:$ntpdvalid:-1000:1000 ";
895 895
				$rrdcreate .= "DS:sjit:GAUGE:$ntpdvalid:0:1000 ";
896 896
				$rrdcreate .= "DS:cjit:GAUGE:$ntpdvalid:0:1000 ";
897 897
				$rrdcreate .= "DS:wander:GAUGE:$ntpdvalid:0:1000 ";

Also available in: Unified diff