25 namespace Ntp.Analyzer.Import
29 internal const string ImportHostError =
"Error while reading host statistics.";
30 internal const string ImportPeerError =
"Error while reading peer statistics.";
31 internal const string ImportIoError =
"Error while reading I/O statistics.";
39 $
"Could not read drift file {file} on host {host}: {e.Message}",
48 $
"Could not read content of drift file {file} on host {host}.",
55 $
"Could not import host stats from {host}. Found more than one peer with IP {peerIp} in database.",
62 $
"{host} is not syncing. Adjust clock to start sync.",
69 $
"Received an unknown value from NTP Daemon: {name}",
76 "OpenNTP clock is unsynced.",
83 $
"Could not import host stats from {host}. Peer with IP {peerIp} was not found in database.",
90 $
"{host} is syncing to {peer}.",
abstract void WriteLine(string text, Severity severity)
static void MultiplePeersFound(this LogBase log, string host, string peerIp)
static void DriftFileReadError(this LogBase log, string host, string file, Exception e)
static void NoSyncing(this LogBase log, string host)
static void DriftReadError(this LogBase log, string host, string file)
static void PeerNotFound(this LogBase log, string host, string peerIp)
static void NtpValueError(this LogBase log, string name)
static void Syncing(this LogBase log, string host, string peer)
static void OpenNtpUnsynced(this LogBase log)