Updated configuration

This commit is contained in:
2016-03-11 23:22:40 +01:00
parent 54e0b49ccc
commit 3a970744be
8 changed files with 413 additions and 13 deletions
+33
View File
@@ -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