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
WeaverJK
May 11, 2017Nimbostratus
Is there anything that needs to be done to ensure perl is working? Can the script (external monitor and NTP.pm) be tested from the command line to directly test functionality of the script between the F5 and the NTP server? If so, how?
At a quick glance (being new to perl), it looks like I'd have to copy the external monitor file over to the F5 as a perl script (such as TFTPing mon_ntp to /var/tmp/test/mon_ntp.pl), perhaps modify the script so that the arguments (IP and Port) are hard-coded, and call the script (/usr/bin/perl /var/tmp/test/mon_ntp.pl). Sound about right? Is there an easier way to test this and see the results/errors?
Thanks in advance!
John