This is going to sound a bit strange. That's probably because it is, but I'm wondering if anyone has any unique ideas/suggestions on how to leverage alert macros to pass along the correct variable to something like a TreeSize Pro, or WinDirStat that would generate a report upon a volume alert trigger.
TreeSize Pro offers some pretty extensive command-line options, but I can't seem to figure out how to leverage the Orion alert macros so I don't have to create an alert for each and every monitored volume.
http://www.jam-software.com/treesize/online_manual/EN/index.html?command_line_opt.html
The idea is simple. If any monitored volume goes beyond 90% capacity, generate a report telling the system administrators where the disk space is being used. Like all products in this category, TreeSize depends on UNC path. I need some method passing this UNC path to TreeSize in the alert trigger.
I.E. "treesize.exe \\%SERVERNAME%\%DRIVELETTER%$" or something cool that would translate into "treesize.exe "\\servername\C$". I have no interest in specific directories or shares. For my purposes I'm only interested in the administrative drive letter shares.
Does anyone have any creative ideas on how to do this that doesn't involve creating lots of different alerts?