Change ntp_falseticker in report, added ntp_unreliable_peer

This commit is contained in:
mboelen 2016-04-28 08:51:43 +02:00
parent 1e0ca25405
commit 5e587adf8a
1 changed files with 2 additions and 1 deletions

View File

@ -283,6 +283,7 @@
LogText "Result: Found one or more unreliable peers (marked with a minus or dash sign)" LogText "Result: Found one or more unreliable peers (marked with a minus or dash sign)"
for I in ${FIND}; do for I in ${FIND}; do
LogText "Unreliable peer: ${I}" LogText "Unreliable peer: ${I}"
Report "ntp_unreliable_peer[]=${I}"
done done
ReportSuggestion ${TEST_NO} "Check ntpq peers output for unreliable ntp peers and correct/replace them" ReportSuggestion ${TEST_NO} "Check ntpq peers output for unreliable ntp peers and correct/replace them"
fi fi
@ -351,7 +352,7 @@
for I in ${FIND}; do for I in ${FIND}; do
I=`echo ${I} | sed 's/x//g'` I=`echo ${I} | sed 's/x//g'`
LogText "Falseticker found: ${I}" LogText "Falseticker found: ${I}"
Report "ntp_falseticker=${I}" Report "ntp_falseticker[]=${I}"
done done
ReportSuggestion ${TEST_NO} "Check ntpq peers output for falsetickers" ReportSuggestion ${TEST_NO} "Check ntpq peers output for falsetickers"
fi fi