7 Replies Latest reply on Sep 25, 2017 8:20 AM by beastroy

    Alerting on Volume Growth


      Hello! I am new to using Solarwinds but have manged to create some basic alerts. One thing I would like to be able to do is alert if volume growth spikes above a certain level. I know I can alert if a volume exceeds a percentage or fixed amout of space etc but I think real value would come from knowing if a volume suddenly starts increasing at a rapid rate. Anyone know if this is possible?



        • Re: Alerting on Volume Growth
          Steven Klassen

          What would you consider a rapid rate?

            • Re: Alerting on Volume Growth

              I would also like to know how to alert for rapid increase in disk usage.


              I would consider rapid growth to be an increase of 10% disk usage over the past 30 minutes.


              Along with alerting for the rapid disk usage growth, can I specify what or who is causing the issue.

            • Re: Alerting on Volume Growth
              trilobite rex

              Was there ever any alert created for this?

              • Re: Alerting on Volume Growth

                I have this same question. Did anyone find a solution for this?

                  • Re: Alerting on Volume Growth

                    It has been done in custom SQL/SWQL queries.  Basically you need to determine the size of your window (lets say an hour), what growth percent would you consider "alarming" (lets say 10% over that hour)  and then write a query to find the value from an hour ago, divide that by the current value, and if the result is greater than 1.1 trigger an alert. 


                    In practice though this kind of alerts generate WAY more heat than light where I have seen them in use. 

                    For example, I would trigger them all the time while doing solarwinds upgrades since the installers tend to be a one time jump of several GB on disk.  If you make the time window too large you miss the things you are worried about like db logs suddenly filling up, but if you make the window too narrow you have problems with one time bumps.  In order to make this type of alert more useful I have had to do things like check 3-4 timestamps along the window and try to measure if the growth trend stays high across all of them (also keeping in mind that disk space is only polled once every 15 minutes in most environments).  All told it gets to be pretty complex, but doable.


                    The SAM Appinisght for SQL template does daily growth rate calculations for you automatically so you could use that for your DB or logs too if that is the use case you have in mind, but it is doing it across 24 hours so it has limited utility in catching those fast bursts.

                    • Re: Alerting on Volume Growth



                      Try to make an alert out of this SQL query. (Createa a Custom SQL alert and choose Volumes as "target"):


                      SELECT Volumes.FullName, Volumes.VolumeID FROM Volumes

                      Inner join [dbo].[VolumeUsage_Detail]  D on Volumes.VolumeID=d.VolumeID


                      D.datetime>Dateadd(HOUR,-2,Getdate())  -- In how many hours

                      AND Volumes.VolumeTypeID=4

                      group by Volumes.FullName, Volumes.VolumeID

                      HAVING Max(D.PercentDiskUsed)-Min(D.PercentDiskUsed)>10  -- Growth to look for in percent



                      Adjust hours and percent growth as you want.


                      Good luck!