Change setting widget " All Alert"

Hi

I would like to change the setting of the "All Alerts" widget. I would like him to sort on the parameter "active time" and not on Severitie.

pastedImage_0.png  pastedImage_2.png

I would also like it to display just the alerts that start with Safenet or Netword or whatever.

pastedImage_3.png

Top Replies

Parents
  • collombons​ & roga​ 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.)

    \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")

    image (12).png

    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

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

    Thank you,

    -Will

  • Wondering if there is anything to change the number of results as well? This seemed like the obvious choice but no luck
    {page:1,pageSize:15,total:0},this.sortingInitialData={sortableColumns:[],sortBy:this.swAlertsService.sortColumns[3],direction:"asc"}

Reply Children
No Data