mirror of
https://bitbucket.org/anguist/ntpa
synced 2026-10-05 19:31:58 +00:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
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 registered 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 timerserver 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 daemon mode with:
|
|
# &ntpa.exe
|
|
|
|
To stop ntpa use kill. Find ntpa pid in log file.
|
|
# kill 77342
|
|
|
|
GTK GUI
|
|
Run Ntp.Analyzer.Gui.exe and connect to ntpa with the a port specified in the listener section.
|