Normal Datapoints: Allow JSON reponses to dynamically populate Name and Post Processor values.
While working on optimizing Powershell scripts for Logic Monitor, we found out that Active Discovery was great for some applications. However, when it came Powershell invoking commands(running scripts on servers), we found that Active Discovery has the potential to generate too many connections to servers. The answer we arrived at was doing everything in one script and returning it all in a JSON response. This worked significantly better than the dynamic Active Discovery, but had one draw back. The data points had to be manually entered.
My suggestion is that Logic Monitor modify the data points to allow reference to the JSON responses. Meaning, that we would set one instance of a Data Point with a Name field that indicates the JSON path to an array with all of the Instances and the Post Process could be pointed to the corresponding JSON path for the Value of each instance.
JSON Example:
[
{
"Title":"Name of an Instance",
"Value":1
},
{
"Title":"Name of another Instance",
"Value": 2000
}
]
DataPoint would look something like this:
Name Metric Type Raw Metric Post Processor Alert Threshold
json(Title
Results would create instances like this on a graph as you would if you type them out normal:
"Name of an Instance": 1
"Name of another Instance": 2000
I believe this would be more efficient and allow us to be still dynamic.
Thanks,
Jason Wainwright