Build precise queries to find exactly what you need
Press ESC to close
@mdella
Favorites0
Views
Projects0
So far we have run across several of our servers that for whatever reason, never correctly connected with their NTP servers. The result was that ntpq -p returned "No Association" as its result which created a false positive since this script didn't recognize the failure case. Added at line 36: } elsif($server_list[$i] =~ /^No association/) { splice(@server_list, $i, 1); $i--; to deal with this edge case
Reviewed 11 years ago