Internal web check with request/response Groovy script to check external FTP site
Is it possible to check an FTP site using an internal web check, and using Groovy script in the request / response?
This URL (https://www.logicmonitor.com/support/services/adding-managing-services/executing-internal-web-checks-via-groovy-scripts/) seems to indicate the commands that can be used, as if it's limited in some way.
I can't think of another way to check the alive-ness of an FTP site somewhere on the web via LogicMonitor, if the device isn't in LogicMonitor itself.
Any ideas?
Thanks,
Roland.
Roland_Banks
Posted 7 years ago·Last reply 7 years ago
1 comment
Kerry DeVilbiss
·7 years agoHey @Roland Banks,
That should be possible - the commands listed there are mostly Groovy methods that have been added on by LogicMonitor, which doesn't necessarily mean we're locking down Groovy capabilities in other ways. If you happen to own the LM Config add-on, there's an example of a Groovy script logging in via FTP and pulling the contents of a file:
Hope that helps!
Cheers,
Kerry