CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner
Mark_S__182830
Nimbostratus
Nimbostratus

Problem this snippet solves:

As the F5 LTM does not come with an NTP health monitor, I began my search for one. I found one here, written for 9.x and spent a few minutes getting it to work in 11.5.4.

Disclaimer: All the hard work was already done, I simply made a few updates to it for 11.x: https://devcentral.f5.com/codeshare/ntp-monitor

How to use this snippet:

  • Upload NTP.pm (NTP Library) via FTP to the '/usr/bin/monitors/CPAN/Net' directory (You will have to create the CPAN and Net folders using the 'mkdir' command in UNIX shell).
  • Import custom NTP healthcheck file, ntp_mon: 'System >> File Management >> External Monitor Program File List >> Import'
  • Local Traffic>> Monitors >> Create
  • Name: ntp_monitor
  • Type:external
  • External Program: ntp_mon
  • Bind to pool, and treat like normal health monitor.
  • To ensure functionality, temporarily add a host that you know does not serve NTP such as your desktop, to ensure it marks the host down.

Code :

71928
Comments
Ryan77777
Altocumulus
Altocumulus

Works on v12.1 as well.

 

andymong_114569
Nimbostratus
Nimbostratus

hmm..does not seem to be working on 11.5.3

 

Brian_Serafini_
Nimbostratus
Nimbostratus

Seems to work properly on 12.1.2 also.

 

Version history
Last update:
‎22-Nov-2016 07:30
Updated by:
Contributors