1 Reply Latest reply on Aug 12, 2019 11:36 AM by wluther

    NPM 12.3 All Alerts Widget

    soley1234

      Hi,

      Is it possible to have this widget sort alerts by Active Time by default.   Everytime i refresh the page it defaults back to sorting by severity. 

        • Re: NPM 12.3 All Alerts Widget
          wluther

          soley1234

          I recently had the same issue myself, needing to sort by active time, seeing the most recent on top. I could not figure a way to get the widget to save the sort order, so I went digging.

           

          Anyone looking for a workaround, just edit the following file, and change the default.

          (This will change the default sort on all of the "all alert" widgets, but at least they will not change... or at least not until you re-run config wizard.)

           

          Open this file:

          \inetpub\SolarWinds\ui\modules\widgets\js\widgets.min.js

           

          Search for:

          sortBy:this.swAlertsService.sortColumns

           

          Now you just need to change the number for "sortColumns" (the default is 7, for "Severity")

           

           

          Additionally, you can change the default "desc" to "asc" to sort them with newest alerts on top, and oldest on bottom.

           

          This modification worked for me, using the following product versions:
          Orion Platform 2018.4 HF3, SCM 1.1.0, NCM 7.9, NPM 12.4, DPAIM 11.1.1, VMAN 8.4.0, SAM 6.8.0, NetPath 1.1.4

           

          If you have multiple "Additional Web Servers", you will need to make the same change on those servers too.

          Remember, running the config wizard will revert the setting(s) back to default.

           

           

          Thank you,

           

          -Will

          1 of 1 people found this helpful