{"repo":"TheHuman00/chrony-stats","free":true,"listed":false,"github":"https://github.com/TheHuman00/chrony-stats","clone":"git clone https://github.com/TheHuman00/chrony-stats.git","description":"Lightweight : Monitoring Chrony and Network","language":"Shell","stars":30,"topics":["chrony","monitoring","vnstat","ntp"],"license":"CC0-1.0","category":"analytics","readme_excerpt":"Chrony & Network Stats A lightweight Bash script that monitors Chrony and network traffic , generates visual graphs, and produces an HTML report ideal for low-resource servers. Live demo here! --- Features Feature Description --- --- Lightweight Minimal system resources required Chrony monitoring Tracks last offset, RMS offset, stratum, frequency, skew, root delay, dispersion, and update interval Network monitoring Traffic stats via vnStat Multi-period views Day, week, month, and year graphs for Chrony stats HTML report Visual graphs + raw chronyc output in one page --- Prerequisites Choose one option : 1. Full monitoring (Chrony + Network): Configure vnStat to monitor your network interface: If not eth0 : ⚠️ Change your network interface in the Configuration section. 2. Chrony only Set ENABLE NETWORK STATS=\"no\" in config --- Installation Then schedule it to run every 5 minutes open the root crontab: Add this line: --- Configuration Open the configuration file to edit its settings: nano chrony-network-stats.conf The configuration file contains the user-facing settings: Graph regeneration intervals To avoid regenerating all graphs on every cron run, the script uses timestamp files in RRD DIR to throttle PNG generation: Variable Default Graphs affected --- --- --- GRAPH REGEN DAY (not set = regenerated every run) Day GRAPH REGEN WEEK 3600 (1 h) Week GRAPH REGEN MONTH 21600 (6 h) Month GRAPH REGEN YEAR 86400 (24 h) Year GRAPH REGEN NETWORK 3600 (1 h) vnStat images On first run a","default_branch":null,"files":null,"tree":[],"storefront":"/r/TheHuman00","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TheHuman00/chrony-stats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}