Aggregate data over different time ranges
I have a scenario where I need to monitor the storage utilization on one of the drives for a windows server. Currently, I'm using the OOTB monitoring (WinVolumeUsage module), and this collects data every 3m.
What I really want is this data summarized in larger time-chunks, and to alert on that view of things. The disk space on the drive can vary wildly in the short-term, so variations in the 3m data collection results cause alert noise. What I do know is that if the disk utilization is high at certain times during the day, then there could be a problem (e.g. in-between batch runs, for example)
I'd like to look at larger time windows to see changes - hourly or even just a few times a day - and then alert on those larger time-trends in the storage data.
I've thought of two ways to do this:
1. Utilize the Aggregate Data collection method for a custom module, but I'm not seeing much for documentation around this collection type. I tried setting it up to give me min/max/avg of the disk instance's utilization over larger time periods, but no data is being collected. So I couldn't get this to work, and LogicMonitor Support told me I created a custom module, thus they can't assist.
2. Clone the WinVolumeUsage module, and have its data collection be less often. While this solves the problem, I feel strange duplicating code/effort like this when I feel data-summarization is the right way to solve this.
Are there other ways that I could be accomplishing this?