I'm dealing with a heavily linux environment, and let's be honest: Solarwinds monitoring of Linux volumes is somewhere between "Could be better" and "I got tired of waiting and made something better on my own". Dealing with the constraints of what is, let's address the elephant in the room with a fix, and this is it:
What I created is a script that will run DF -h, look for any path that is not named NFS (because duh, NFS mounts can be 99% full and could translate to 100 gigs free or something anyway). As this is a regex search, a lot can be easily edited. Meanwhile, the output will give you two things, and part of that is a limitation of SAM's inability to handle a variable amount of outputs.
So for this first simple one, you get 1 set of outputs:
1: what is the path that is full (so you can investigate and use this in alerts, messages, dashboards, etc)
2: what is the % use (based on 90, you can set it 85% or whatever)
If you use 85% but set an alert to 90 and so on, you can come up with a nice dashboard. Then again, who am I to not provide such a dashboard? Here is the query to drop into the modern dash:
This code below filters for a template named volume. I called mine "linux volume monitoring" so this would grab it if you did so as well. I made a separate version of this to filter FOR specific volume names, but this is basically only going to output the worst you find.
SELECT Caption, IPAddress, orn.Applications.DisplayName as App, orn.Applications.Components.DisplayName as Monitor, orn.Applications.Components.CurrentStatistics.ComponentName, orn.Applications.Components.CurrentStatistics.ComponentStatisticData, orn.Applications.Components.CurrentStatistics.ErrorMessage, orn.Applications.DetailsUrl as AppURL, orn.Applications.Components.DetailsUrl as CompURL, orn.DetailsUrl as NodeURL
FROM Orion.Nodes orn
WHERE orn.Applications.Components.CurrentStatistics.ErrorMessage NOT LIKE '' AND orn.Applications.DisplayName LIKE '%Volume%' and orn.Applications.Components.CurrentStatistics.ComponentStatisticData >=85
edit: uploaded wrong file, new one is here