1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-11-21 18:51:50 +00:00

Updated sample configuration

This commit is contained in:
Carsten Larsen
2016-08-22 22:40:08 +02:00
parent 0ed7582fda
commit 9f9d251051

View File

@ -14,7 +14,10 @@ Database {
User ntpau
Pass "password"
# Uncomment to to automatically upgrade database schema on upgrades.
# Uncomment to automatically create all tables and data
# Create Yes
# Uncomment to automatically upgrade database schema
# Upgrade Yes
# Uncomment to change connection timeout
@ -23,13 +26,13 @@ Database {
# Uncomment to use a SSL connection
# EnableSsl Yes
# Uncomment if you MySQL server uses client certificates
# Uncomment if your MySQL server uses client certificates
# CertificateFile client.pem
# Uncomment if you MySQL server uses password for client certificates
# Uncomment if your MySQL server uses password for client certificates
# CertificatePassword "certpass"
# Uncomment to override connection settings.
# Uncomment to override connection settings
# ConnectionString "Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"
}
@ -60,7 +63,7 @@ Reading {
# Uncomment to read values from NTP servers immediately after start up
# InitialRun Yes
# Uncomment to change Frequency of NTP server readings to 10 minuttes
# Uncomment to change Frequency of NTP server readings to 10 minutes
# Frequency 10
Frequency 5
@ -74,6 +77,9 @@ Server {
HostAddress 127.0.0.1
FilePath "/usr/local/www/ntpa"
# Uncomment to change base URL for generated files and links
# WebPath /ntpa
HostStats {
Frequency stat1
}
@ -135,6 +141,9 @@ Server {
PeerPages ntp1-peers
Link /index.html
# Uncomment to fetch peer status directly from NTP Deamon instead of from database
# QueryDirect Yes
# Uncomment to generate a link to pool.ntp.org
# PoolMember Yes