3 Replies Latest reply on Dec 10, 2018 3:41 PM by Campy

    Linux Memory Volume Alert based on 2 conditions

    Campy

      Im trying to alert on linux memory volumes (admins want it) so that when volume Physical Memory and volume Virtual Memory are each greater than 95% utilization an alert is triggered. I have tried every different combination of settings including using complex conditions and nothing works to trigger the alert. Each condition proves itself independently but when put together nothing is triggered. Values here are set to 50% just to get them over a threshold, each one is actually over 95% currently. There's a list of servers I need this to trigger on, I've over simplified here just to get the alert to trigger. Anyone have any ideas?

       

      Trigger Conditions

        • Re: Linux Memory Volume Alert based on 2 conditions
          Campy

          Looking at the SWQL and running it from the Database Manager I get an error:

           

          SWQL:

          SELECT E0.[Uri], E0.[DisplayName]

          FROM Orion.Volumes AS E0

          WHERE ( ( ( E0.[FullName] = 'c*************-Physical memory' ) AND ( E0.[VolumePercentUsed] >= '50' ) ) AND ( ( E0.[FullName] = 'c*************-Virtual memory' ) AND ( E0.[VolumePercentUsed] >= '50' ) ) )

           

          Error:

          Msg 208, Level 16, State 1, Line 1

          Invalid object name 'Orion.Volumes'.

          Msg 208, Level 16, State 1, Line 1

          Invalid object name 'Orion.Volumes'.

          • Re: Linux Memory Volume Alert based on 2 conditions
            Campy

            Rebuilt as a complex condition and still fails

             

            Primary: Alert on Node

            Trigger Condition:

            All child conditions must be satisfied (AND)

                 At least one child condition must be satisfied (OR)
                      Node - Node Name - is equal to - ca100*****01
                      Node - Node Name - is equal to - ca100*****02
                      Node - Node Name - is equal to - ca100*****10
                 All child conditions must be satisfied (AND)
            Node - Status - is equal to - Up
            And

            Alert on Volume
            All child conditions must be satisfied (AND)
                 At least one child condition must be satisfied (OR)
                      Volume - Volume Name - is equal to - ca100*****01-Virtual memory
                      Volume - Volume Name - is equal to - ca100*****02-Virtual memory
                      Volume - Volume Name - is equal to - ca100*****10-Virtual memory
            All child conditions must be satisfied (AND)
            Volume - Volume Percent Available - is less than - 20
            And

            Alert on Volume
            All child conditions must be satisfied (AND)
                 At least one child condition must be satisfied (OR)
                      Volume - Volume Name - is equal to - ca100*****01-Physical memory
                      Volume - Volume Name - is equal to - ca100*****02-Physical memory
                      Volume - Volume Name - is equal to - ca100*****10-Physical memory
            All child conditions must be satisfied (AND)
            Volume - Volume Percent Available - is less than - 20

            • Re: Linux Memory Volume Alert based on 2 conditions
              Campy

              Ok I feel dumb, I was using the "Alert can be triggered if objects (at the same time) have met the specified condition and then trigger single alert" incorrectly. Once I removed that selection completely my rules worked fine. In my defense It's a little confusing the way its worded but either way my issue has been fixed.