Browse Source

Add chrony status capture

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

Change-Id: Ib427181cb5f4880cc951c3b949ec9407f0f65224
changes/48/822848/2
Alex Schultz 5 months ago
parent
commit
edea40ca39
  1. 10
      roles/collect_logs/defaults/main.yml

10
roles/collect_logs/defaults/main.yml

@ -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

Loading…
Cancel
Save