Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
The LogicMonitor Collector ships with many useful libraries that you can use from within your Groovy scripts. However, you’ll occasionally need to use a Groovy or Java library that isn’t included with the LogicMonitor Collector. Here’s how to install additional JARs on your collector for additional functionality in your Groovy script LogicModule.
C:\Program Files\LogicMonitor\agent\custom
/usr/local/logicmonitor/agent/custom
Previously, we directed users to put custom JARs in the lib directory with the included JARs. While this still works, we recommend putting your custom jars in the separate custom folder.
wrapper.conf
wrapper.java.classpath.85=../lib/jackson-core-2.6.6.jar wrapper.java.classpath.86=../lib/amazonlibs/*.jar
wrapper.java.classpath.85=../lib/jackson-core-2.6.6.jar wrapper.java.classpath.86=../lib/amazonlibs/*.jar wrapper.java.classpath.87=../custom/customlib-0.0.1.jar