mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-10-06 19:12:11 +00:00
Version 0.7.0 prerelease changes
This commit is contained in:
60
examples/ntpd.conf
Normal file
60
examples/ntpd.conf
Normal file
@ -0,0 +1,60 @@
|
||||
|
||||
Database {
|
||||
Provider MySql
|
||||
Host 127.0.0.1
|
||||
Name ntpa
|
||||
User ntpau
|
||||
Pass "password"
|
||||
Create Yes
|
||||
}
|
||||
|
||||
Log {
|
||||
File ntpa.log
|
||||
}
|
||||
|
||||
Log {
|
||||
Type Syslog
|
||||
}
|
||||
|
||||
Log {
|
||||
Type Console
|
||||
Severity Debug
|
||||
}
|
||||
|
||||
Daemon {
|
||||
Heartbeat 120
|
||||
}
|
||||
|
||||
Notify ntpstat-summary {
|
||||
Recipient root@example.net
|
||||
Sender sender@example.net
|
||||
Subject "NTP Analyzer stats daily run - stat"
|
||||
Host smtp.example.net
|
||||
Port 587
|
||||
User username
|
||||
Pass password
|
||||
EnableSsl Yes
|
||||
}
|
||||
|
||||
Reading {
|
||||
Name stat1
|
||||
Frequency 5
|
||||
TimeStamp UTC
|
||||
}
|
||||
|
||||
Server {
|
||||
HostID 1
|
||||
HostAddress ntp1.example.net
|
||||
|
||||
HostStats {
|
||||
Frequency stat1
|
||||
}
|
||||
|
||||
HostIoStats {
|
||||
Frequency stat1
|
||||
}
|
||||
|
||||
PeerStats {
|
||||
Frequency stat1
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user