NTP Monitor
Problem this snippet solves: Version 9 (tested on v9.2.4)
Based on F5's example monitor, with the NTP check added. We make sure that the node gives us an NTP response and that the node hasn't beco...
Published Mar 12, 2015
Version 1.0philh_127905
Nimbostratus
Joined May 04, 2019
philh_127905
Nimbostratus
Joined May 04, 2019
Mark_57945
Apr 25, 2017Nimbostratus
I updated the code block on this page to include the monitor here, rather than needing to follow the link to the old location.
I included Rao's changes to make the monitor compatible with v11 and later. Rather than "$node = substr $node,7;;", I did "$node =~ s/^::ffff://;" to hopefully not break v6 node addresses. (I don't have any v6 to test, but Rao's use use of substr was sure to break them)
I also moved Net::NTP from /usr/bin/monitors/CPAN to /shared/lib/perl5 because I don't want the monitor to break when I upgrade Big IP.