Following the steps listed in the article, I created a script in /usr/bin/monitors.
However when I create the script in that directory, chmod to 755, I still don't see it on the GUI. I get an error when I try to add it and specify the path.
[:/S1-green-P:Active:In Sync] monitors # pwd
/usr/bin/monitors
[/S1-green-P:Active:In Sync] monitors # ls -l | grep custom
-rwxr-xr-x. 1 root webusers 2379 2019-09-17 12:59 custom_monitor.bash
(tmos)# modify ltm monitor external custom_monitor run "/usr/bin/custom_monitor.bash"
0107134a:3: File object by name (/usr/bin/custom_monitor.bash) is missing.
(tmos)# modify ltm monitor external custom_monitor run
Options:
none
Configuration Items:
Exchange2016-smtp.app/ arg_example sample_monitor