summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_time.d
AgeCommit message (Collapse)AuthorFilesLines
12 hoursCheck ntp time delay (#2277)HEADmasterLorenz Kästle1-0/+5
* check_ntp_time: add polling delay NTP server can have rate limiting which might be triggered by check_ntp_time due to many requests in a short time span. This patch adds a default delay (of 0.5s) between requests to each server and a command line option (--poll-delay) to make this delay configurable. Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de> * check_ntp_time: verify whether socket path fits into address struct check_ntp_time could be give a too long (>108 bytes) socket path to work with, which would potentially crash the program. This patch validates to length beforehand and stops execution in that case. Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de> --------- Co-authored-by: Paul Crawford <paul@crawford-space.co.uk> Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de>
2025-11-05check_ntp_time: add cli option for output formatLorenz Kästle1-0/+6
2025-11-04check_ntp_time: implement modern outputLorenz Kästle1-2/+11
2025-03-12Refactor check_ntp_timeLorenz Kästle1-0/+28