Complex DataPoint.
Community.. I have a problem accessing normal data point values in a complex data point. I tried every way to access it, normal data points, which I have as MemoryUsageKB MemoryLimitHighKB MemoryLimitHardKB I need the value of this datapoint in a complex datapoint to do some calculations and to put logic on it. Since values are in KB, they are being denoted with Scientific Notation, So I need to pull them in a Groovy so I can import some libraries there for such calculation (i.e. java.math.BigDecimal) but How can I retrieve the values of the current datapoint in Groovy) I tried the method below, but It's not working. (Can someone help me understand how a logic monitor works and what I am missing?) double memoryUsageKB = datapoints["MemoryUsageKB"].doubleValue double memoryLimitHighKB = datapoints["MemoryLimitHighKB"].doubleValue double memoryLimitHardKB = datapoints["MemoryLimitHardKB"].doubleValueSolved178Views2likes6CommentsHelpful LogicMonitor links to bookmark
There is a lot to learn as you onboard LogicMonitor, or if you are just new to working with this tool. To help you settle in and not miss critical updates - be sure to take a look at, and bookmark these key links: Release Notes- don’t forget to subscribe for updates! LM Blog Technical Support Status Page LM Academy93Views8likes0CommentsCollector Debug Console
Please make the "go here" link in the "For more detailed troubleshooting recommendations,go here."message open in a new tab/window. If you accidentally click this it open in same window and we lose our command history! Add the debug help that appears on entering a debug console to the regularhelp content (if it's there I didn't find it) so that we can open the help panel and have the commands easily accessible from the Support Guide panel. The HTML version should be easier to read too. Finally, please add some blank lines between the built-in commands help to make it easier to read the green on black screen. HTML version in the Support Guide panel though, that's the way to go.15Views1like1Comment