xref: /netbsd-src/external/bsd/ntp/dist/scripts/monitoring/loopwatch.config.SAMPLE (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardel# sample configuration and control file for ntploowatch
2*abb0f93cSkardel#
3*abb0f93cSkardel# delay:	sampling interval in seconds
4*abb0f93cSkardeldelay=60
5*abb0f93cSkardel# samples:	use only last # samples
6*abb0f93cSkardelsamples=600
7*abb0f93cSkardel# DO NOT USE srcprefix in shared config files
8*abb0f93cSkardel# srcprefix:	name of file to read samples from
9*abb0f93cSkardel#  		current time suffix (month name) is appended
10*abb0f93cSkardel#		defaults to "./var@$STATHOST/loopstats."
11*abb0f93cSkardel#		The string "$STATHOST"is replaced by the name of the host
12*abb0f93cSkardel#		being monitored
13*abb0f93cSkardel#srcprefix=./var@$STATHOST/loopstats.
14*abb0f93cSkardel#
15*abb0f93cSkardel# showoffs:	yes/no control display of offset values
16*abb0f93cSkardelshowoffs=yes
17*abb0f93cSkardel#
18*abb0f93cSkardel# showfreq:	yes/no control display of frequency values
19*abb0f93cSkardelshowfreq=yes
20*abb0f93cSkardel#
21*abb0f93cSkardel# showcmpl:	yes/no control display of compliance values
22*abb0f93cSkardelshowcmpl=no
23*abb0f93cSkardel#
24*abb0f93cSkardel# showoreg:	yes/no control display of linear regression of offset values
25*abb0f93cSkardelshoworeg=no
26*abb0f93cSkardel#
27*abb0f93cSkardel# showfreg:	yes/no control display of linear regression of frequency values
28*abb0f93cSkardelshowfreg=no
29*abb0f93cSkardel#
30*abb0f93cSkardel# timebase:	dynamic/ISO_DATE_TIME point of zero for linear regression
31*abb0f93cSkardel#		ISO_DATE_TIME:  yyyy-mm-dd_hh:mm:ss.ms
32*abb0f93cSkardel#		values are interpreted using local time zone
33*abb0f93cSkardel#		parts omitted from front default to current date/time
34*abb0f93cSkardel#		parts omitted from end  default to lowest permitted values
35*abb0f93cSkardel#		to get aa:bb being interpreted as minutes:seconds use aa:bb.0
36*abb0f93cSkardel#		for dynamic '00:00:00.0 of current day' is used
37*abb0f93cSkardeltimebase=dynamic
38*abb0f93cSkardel#
39*abb0f93cSkardel# freqbase:	dynamic/<baseval>
40*abb0f93cSkardel#		if a number is given, subtract this from sampling values for display
41*abb0f93cSkardel#		if dynamic is selected, freqbase is adjusted to fit into the range of
42*abb0f93cSkardel#		offset values
43*abb0f93cSkardelfreqbase=dynamic
44*abb0f93cSkardel#
45*abb0f93cSkardel# cmplscale:	dynamic/<scaling>
46*abb0f93cSkardel#		if a number is given, the sampling values are divided by this number
47*abb0f93cSkardel#		if dynamic is selected, cmplscale is adjusted to fit into the range of
48*abb0f93cSkardel#		offset values
49*abb0f93cSkardelcmplscale=dynamic
50*abb0f93cSkardel#
51*abb0f93cSkardel# DumbScale:	0/1
52*abb0f93cSkardel#		0 enables dynamic adjust of value ranges for freqbase and cmplscale
53*abb0f93cSkardel#		  timescale is labeled with human readable times
54*abb0f93cSkardel#		1 only uses explicit scaling for numbers
55*abb0f93cSkardel#		  timescale is labeled with hours relative to timebase
56*abb0f93cSkardelDumbScale=0
57*abb0f93cSkardel#
58*abb0f93cSkardel# StartTime:	none/ISO_DATE_TIME
59*abb0f93cSkardel#		ignore any samples before the specified date
60*abb0f93cSkardelStartTime=none
61*abb0f93cSkardel#
62*abb0f93cSkardel# EndTime:	none/ISO_DATE_TIME
63*abb0f93cSkardel#		ignore any samples after the specified date
64*abb0f93cSkardel#
65*abb0f93cSkardel#		if both StartTime and EndTime are specified
66*abb0f93cSkardel#		the value specified for samples is ignored
67*abb0f93cSkardelEndTime=none
68*abb0f93cSkardel#
69*abb0f93cSkardel# MaxOffs:	none/<number>
70*abb0f93cSkardel#		limit display (y-axis) to values not larger than <number>
71*abb0f93cSkardelMaxOffset=none
72*abb0f93cSkardel#
73*abb0f93cSkardel# MinOffs:	none/<number>
74*abb0f93cSkardel#		limit display (y-axis) to values not smaller than <number>
75*abb0f93cSkardelMinOffset=none
76*abb0f93cSkardel
77*abb0f93cSkardel#
78*abb0f93cSkardel# verbose:	<number>
79*abb0f93cSkardel# 		specify level for debugging
80*abb0f93cSkardel#		default is 0 for printing and 1 for monitoring
81*abb0f93cSkardel#		level 1 will just print a timestamp for any display update
82*abb0f93cSkardel#		(this is every delay seconds)
83*abb0f93cSkardelverbose=1
84*abb0f93cSkardel#
85*abb0f93cSkardel# deltaT:	<seconds>
86*abb0f93cSkardel#		mark `holes' in the sample data grater than <seconds>
87*abb0f93cSkardel#		by a break in the plot
88*abb0f93cSkardel#		default: 512 seconds
89*abb0f93cSkardeldeltaT=512
90