Add chrony status capture

To help troubleshoot ntp, let's capture the chronyc source list.

Change-Id: Ib427181cb5f4880cc951c3b949ec9407f0f65224
This commit is contained in:
Alex Schultz 2021-12-23 09:46:40 -07:00
parent 0913c46357
commit edea40ca39
1 changed files with 10 additions and 0 deletions

View File

@ -209,6 +209,16 @@ artcl_commands:
echo "+ high CPU throttling events"
grep throttle_check_thresholds /var/log/pacemaker/pacemaker.log
fi
chrony:
cmd: |
echo "+ chrony tracking"
chronyc tracking
echo "+ chrony sources"
chronyc sources -a -v
echo "+ chrony source stats"
chronyc sourcestats -a -v
echo "+ chrony activity"
chronyc activity
swaps:
cmd: cat /proc/swaps
capture_file: /var/log/extra/swaps.txt