1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-10-06 02:51:23 +00:00
Files
ntpa/config/ntpa.stat.conf.dist
2016-03-05 14:06:38 +01:00

64 lines
1.1 KiB
Plaintext

#########################################################
# Configuration for NTP Analyzer statistical recordings #
#########################################################
Database {
DatabaseHost 192.168.0.1
DatabaseName ntpa
DatabaseUser ntpau
DatabasePass xxx
}
Log {
Severity debug
File /var/log/ntpa-stat.log
}
# Use to syncronize timestamp for readings accross different NTP servers
Reading {
Name stat1
# Indicate if generation should happen immidiatly after startup
InitialRun 0
# Minutes between reading values from NTP servers.
Frequency 5
}
Server {
# Primary key in table 'host'
HostID 1
# Domain name of hosting NTP server
HostName ntp1.domain.org
# NTP configuration file with IDs from support.ntp.org
ConfigFile /usr/local/www/ntpconf/ntp.conf.dist
HostStats {
# Use name defined in Reading section or number of minutes between readings.
Frequency stat1
}
PeerStats {
Frequency stat1
}
}
# Support for multiple servers
#Server {
# HostID 2
# HostName ntp2.domain.org
# ConfigFile /usr/local/www/ntpconf/ntp.conf2.dist
#
# HostStats {
# Frequency stat1
# }
#
# PeerStats {
# Frequency stat1
# }
#}
#