mirror of
https://bitbucket.org/anguist/ntpa
synced 2026-10-06 03:39:49 +00:00
Updated configuration
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
FreeBSD 10.x
|
||||
------------
|
||||
|
||||
To run data collection core:
|
||||
# pkg install mono
|
||||
# pkg install libgdiplus
|
||||
|
||||
Adjust create_date.sql with real values and run:
|
||||
# mysql < run create_tables.sql
|
||||
# mysql < run create_data.sql
|
||||
|
||||
Copy ntp.conf from NTP host to the machine running ntpa and add timeserver ID from support.ntp.org.
|
||||
Search using google.com with f.x.
|
||||
"ntp1.innolan.net" site:support.ntp.org
|
||||
For servers not registret on support.ntp.org just add 10000 and above.
|
||||
|
||||
copy ntpa.stat.conf.dist to /etc/ntpa.conf
|
||||
Adjust the value of HostName and ConfigFile setting. Hostname must point to a name or IP reachable
|
||||
by ntpq to get statistics. ConfigFile must match ntp.conf and ntp.conf must have timersver IDs.
|
||||
|
||||
validate ntpa.con file with ntpav using:
|
||||
# ntpav /etc/ntpa.conf
|
||||
|
||||
Now start ntpa and watch the data arriving in MySQL tables.
|
||||
# mono ntpa.exe
|
||||
|
||||
Also watch the logfile for errors and other debugging activities.
|
||||
|
||||
Now start ntpa in deamon mode with:
|
||||
# &mono ntpa.exe
|
||||
|
||||
To stop ntpa use kill. Find ntpa pid in log file.
|
||||
# kill 77342
|
||||
Reference in New Issue
Block a user