Forum Discussion
anson
Nimbostratus
Sep 17, 2019script to find difference between scf file
Hi, Is there a option in f5 to trigger an alert based on scf difference . We recently had an issue with our f5 and the suggestion was to post a query with devcentral to track difference in scf file ...
Hey I thought I'd chime in here because I did some work with external monitors over the past couple of days. It seems that the LTM will not execute any commands after receiving anything in STDOUT (i.e. after the "echo" command). So when the check is successful, the "rm -f $pidfile" command in your script does not get executed. I was troubleshooting the fact that my PID file was not getting cleaned up when I expected it to (my script was similar to yours - echo, then rm). But then I noticed the last comment in this Tech Tip:
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/151/LTM-External-Monitors-The-Basics.aspx
FYI: When the external monitor script outputs "UP" than the deletion of the PIDFILE never occurs, neither does any further commands after the output of "UP"
It does however delete the PID if the monitor fails. I can only assume the F5 kills the script immediately once any output is detected...
After I read that I did some more testing, and sure enough, that's what I found too despite not being able to find any documentation on it. Not sure that's directly related to your scalability issue, but thought you might want to be aware of it as you develop your automation.
While I'm also not sure about the hardware, I did find this about the feature:
K15609: Overview of TCP Segmentation Offload and Large Receive Offload
In addition, this is about VE and about 2/3 of the way down is the TSO info: https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-setup-vmware-esxi-11-6-0/1.html
About TCP Segmentation Offloading support
If you want to disable support for TCP Segmentation Offloading (TSO), you must submit a tmsh command, because the TSO feature is enabled by default. Note that enabling TSO support also enables support for large receive offload (LRO) and Jumbo Frames.
Configuring a hypervisor for TSO support
You must have the Admin user role to enable or disable TSO support for a hypervisor.
Using the tmsh command sys db, you can turn TSO support on, off, or check to see whether support is currently enabled.- To determine whether TSO support is currently enabled, use the tmsh show command.
show sys db tm.tcpsegmentationoffload
- To enable support for TSO, use the tmsh enable command.
sys db tm.tcpsegmentationoffload enable
- To disable support for TSO, use the tmsh disable command.
sys db tm.tcpsegmentationoffload disable
- To determine whether TSO support is currently enabled, use the tmsh show command.