That will import the file to the system, and make it available in the GUI. Select the file and give a name “simple_script” to the script, and import. In the GUI go to System > File Management > External Monitor Program File List > Click Import. You can do via tmsh, but it is simpler via GUI. Let’s create a simple external monitor to ping a pool member. Note: Instructions are for version 15.1.0, but should be similar in other versions, and you only need to setup this configuration in one device if you have an HA pair, as the configuration is shared during the config sync. TMM monitors were introduced in version 13.1.0, for more information read this solution: Running a built-in monitor in TMM is faster than in Linux. TMM is the Kernel that F5 uses on TMOS, which is the F5 system. Linux is the kernel that CentOS uses, and CenOS is the base system that F5 uses, also known as the host system. Built-in monitors are generally faster and easier to support as they do not require programming skills.Įxternal monitors run on Linux, while some built-in monitors can run on Linux or TMM. The external monitor is your last resource in relation to monitoring, only to be used if there is no built-in monitoring that could be used to perform the monitoring. The script indicates success outputting something to the standard output, and failure if nothing was outputted. The script runs the code and indicates if it was successful or not. The external monitor is a script that the F5 device will run to determine the status of a pool member (note: you can’t assign an external monitor to a node). In this article, I will provide some information about external monitors and templates you can use to build your own external monitor script and how you setup an external monitor. So, I think is a good time to update that with new information and new templates. However, most of those articles and code samples are very old and outdated. This article is written by, and published on behalf of, DevCentral MVP Leonardo Souza.Įxternal monitors have been in use on F5 devices for a long time, and you can find a lot of code and articles about them here on DevCentral.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |