mirror of
https://bitbucket.org/anguist/ntpa
synced 2026-10-09 21:16:13 +00:00
Added Makefile
This commit is contained in:
@@ -27,23 +27,27 @@ if needed.
|
|||||||
Install
|
Install
|
||||||
|
|
||||||
Build the solution with:
|
Build the solution with:
|
||||||
# xbuild Ntp.Analyzer.sln
|
# make
|
||||||
|
|
||||||
To build a pure server version without GTK:
|
Build a pure server version (no GTK) with:
|
||||||
# xbuild Ntp.Analyzer.sln /property:Configuration=Server
|
# make server
|
||||||
|
|
||||||
Copy the output in bin folder to /opt/ntpa or another suitable
|
Copy the output files in the bin folder to /opt/ntpa or any other
|
||||||
location.
|
suitable location and copy ntpa.stat.conf from example to
|
||||||
|
/etc/ntpa.conf
|
||||||
|
|
||||||
|
|
||||||
Setup
|
Configuration
|
||||||
|
|
||||||
Copy ntpa.stat.conf from example to /etc/ntpa.conf
|
|
||||||
In ntpa.conf Hostname must point to a name or IP reachable by ntpq.
|
In ntpa.conf Hostname must point to a name or IP reachable by ntpq.
|
||||||
ConfigFile must must point to ntp.conf. ConfigFile is only needed
|
ConfigFile must must point to ntp.conf. ConfigFile is only needed
|
||||||
when generating graphs and pages. Adjust the values of HostName and
|
when generating graphs and pages. Adjust the values of HostName and
|
||||||
ConfigFile settings accordingly.
|
ConfigFile settings accordingly.
|
||||||
|
|
||||||
|
Set database user name and password in the top of ntpa.conf. Leave the
|
||||||
|
Create setting to 1 if you want all tables and data created automatically.
|
||||||
|
Be sure the user you entered in ntpa.conf exists in your MySQL database.
|
||||||
|
|
||||||
If you want to generate graphs and pages then also copy ntp.conf from
|
If you want to generate graphs and pages then also copy ntp.conf from
|
||||||
NTP host to the machine running ntpa and add timeserver ID from
|
NTP host to the machine running ntpa and add timeserver ID from
|
||||||
support.ntp.org. Search using google.com with f.x.
|
support.ntp.org. Search using google.com with f.x.
|
||||||
@@ -51,9 +55,6 @@ support.ntp.org. Search using google.com with f.x.
|
|||||||
For servers not registered on support.ntp.org just add 10000 and above.
|
For servers not registered on support.ntp.org just add 10000 and above.
|
||||||
See ntp.conf in examples on how to add time server IDs.
|
See ntp.conf in examples on how to add time server IDs.
|
||||||
|
|
||||||
Set database user name and password in the top of ntpa.conf. Leave the
|
|
||||||
Create setting to 1 if you want all tables and data created automatically.
|
|
||||||
Be sure the user you entered in ntpa.conf exists in your MySQL database.
|
|
||||||
|
|
||||||
Configuration can be validate with the validation tool:
|
Configuration can be validate with the validation tool:
|
||||||
# mono ntpav.exe /etc/ntpa.conf
|
# mono ntpav.exe /etc/ntpa.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user