Skip to content

erikkugel/ntpplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ntpplot

Plot NTP statistics and present them over HTTP!

About

ntpplot leverages the robust statistics repoting built into NTP to plot various graphs regarding normal and abnormal operation.

Who is this for?

Anyone running a production NTP server (whether in an internal environment such as a datacenter or an office, or an external pulic facing environment such as contribution to pool.ntp.org) will benefit from a little transperency.

How does this work?

The concept is simple and strives to leverage existing components:

  • A configuration file that sets up statistics output for NTP is included with includefile in ntp.conf.
  • A Gnuplot script that generates the plots is configured with cron to run preidically.
  • An Apache configuration file allows serving the plots folder and images over HTTP.

Requirements:

Installation:

git clone https://github.com/erikkugel/ntpplot.git /opt/ntpplot
mkdir -p -v /var/log/ntp
echo "includefile /opt/ntpplot/conf/ntp-stats.conf" >> /etc/ntp.conf
ln -v -s -f /opt/ntpplot/conf/cron-ntpplot /etc/cron.d/ntpplot
echo "Include /opt/ntpplot/conf/httpd-ntpplot.conf" >> /etc/httpd/httpd.conf

See the full Wiki here.

Screenshots:

NTP Peer Versions NTP Packet Errors

Resources:

NTP Troubleshooting Guidelines
NTP Advanced Logging Configuration

About

Plot NTP statistics and present them over HTTP!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published