Forum Discussion
botekp
Neophyte
Is there any official way of pulling historical data in LM Groovy? LM Support advised me today that com.santaba.agent.groovyapi.api.DataCollectionAPI is not officially supported by Logic Monitor.
Anonymous
8 months agoYou could use collector script caching to remember the previous week’s values. Add the current value to that list, find the max and output it. Given the number of poll cycles in a week, you’d size your list accordingly so when you add a new point if the total size of the list is more than a week, you’d just drop the oldest value.
The collector script cache is the way to do this.
Related Content
- 5 months ago
- 4 months ago
- 9 months ago