Andrey Kitsen 100 Report post Posted August 9, 2017 (edited) Hello LogicMonitor Community ! Andrey here from LM's Monitoring Engineer Team. To supplement the suite of scripted LogicModules provided in the LM Support Center, my colleagues and I have created a public GitHub repository with many more examples. Have a look at the LogicMonitor GitHub Repo, where you'll find various recipes for solving common monitoring script problems. Both Groovy and PowerShell examples are included Feel free to comment below with requests and/or suggested improvements. Happy scripting ! Edited September 7, 2017 by Andrey Kitsen Quote Share this post Link to post Share on other sites
Mosh 115 Report post Posted August 10, 2017 Thanks Andrey. This is good. If you haven't already, suggest adding a reference to repo to the relevant documentation page(s). 1 Quote Share this post Link to post Share on other sites
Andrey Kitsen 100 Report post Posted August 10, 2017 @Mosh good call. If you have any good suggestions on what to add to the repo, let us know. Or even better, pull request us ! Quote Share this post Link to post Share on other sites
Mosh 115 Report post Posted October 7, 2017 (edited) Found the answer Does the SNMP library support specifying a port? We have a case where I need to monitor the host via SNMP (standard port 162), but the application (Squid Proxy) running on the host uses SNMP on a different port to expose metrics. Edited October 7, 2017 by Mosh Quote Share this post Link to post Share on other sites
Michael Rodrigues 100 Report post Posted October 11, 2017 @Mosh - The port option isn't documented for the "get" method, but you can throw a port argument in after the timeout argument and it should work like it does as documented for "walk".https://www.logicmonitor.com/support/terminology-syntax/scripting-support/access-snmp-from-groovy/ Just putting this here in case someone else finds this and is curious. Quote Share this post Link to post Share on other sites
Mosh 115 Report post Posted December 23, 2017 Thanks Michael! Quote Share this post Link to post Share on other sites
Andrey Kitsen 100 Report post Posted December 24, 2017 12 hours ago, Mosh said: Thanks Michael! I'll be updating the recipes page with some updates to groovy snmp. Quote Share this post Link to post Share on other sites
Andrey Kitsen 100 Report post Posted January 12, 2018 The GitHub repo has been updated. Quote Share this post Link to post Share on other sites
jamiemurphyit 5 Report post Posted April 24, 2018 Id love to see some documentation on the "com.santaba.agent.groovyapi.http" library. For example how can we make it ignore https certificates. Quote Share this post Link to post Share on other sites
Andrey Kitsen 100 Report post Posted April 24, 2018 @jamiemurphyit let me reach out to our developers and see if I can get some insight on those docs. Quote Share this post Link to post Share on other sites