Version 1

    This is a super simple, single file, single line, edit.

     

    ESTIMATED TIME TO INSTALL/PERFORM MODIFICATION: <1 Minute

     

    DIFFICULTY LEVEL:1-Youngling

    1. Youngling (Easiest/Most Basic; no coding experience required, no config wizard required, no system restart required, no system downtime.)
    2. Padawan (Easy/Basic; no coding experience required, possible config wizard required, possible system/services restart required, limited/no downtime.)
    3. Jedi Knight (Moderately Difficult/Advanced; some coding experience required/recommended, config wizard required, possible system/services restart required, limited/short duration downtime.)
    4. Jedi Master (Most Difficult/Advanced; advanced coding experience required, config wizard required, system/services restarts required, 30+ minutes downtime/maintenance window recommended, and other things that I do not even know I would need to know, required...)

     

     

    Recently, I had some issues with the QoE module beating up my database. In the process of managing the QoE Applications, I found it rather annoying that the page had a hard coded limit to the items it would display, and no option(s) to change it. Now, only displaying 20 items at a time is not usually a bad thing, but I had 100+ pages of applications I had to go through. Rather than sit there and repeat the process over and over again, 100+ times, I decided to investigate where this limitation was hiding, and kick it in the hiney!

     

    This is a super simple modification, literally only adding/changing a single number (unless you want to change more), and does not even require a restart or config wizard to complete. In fact, as soon as you change the "20" to "250" (or whatever number you want to use), and save the file, you can refresh the page and see the change.

     

    Okay, here is some information to help you get this modification completed successfully.

     

     

    THINGS TO KNOW:

    • I have numerous custom modified resources scattered throughout my SolarWinds environment, each one works for me exactly how I need it to work.
    • I am a very inexperienced, and untrained, amateur (with the exception being all things Star Wars related, which does you absolutely no good here...)
      • Always backup your system/files BEFORE making any changes, and/or test with a demo/dev system before making changes to your production environment.
      • Please don't break your system, then blame it on me.
        • If you break your system, then blame it on me, please know, "I don't give a care...", "I told you so...", and/or "Nanna nanna boo boo, stick your head in doo doo..." will most likely be my response...

     

    **WARNING! THE INFORMATION YOU ARE ABOUT TO READ COMES FROM THE MIND OF AN UNTRAINED AMATEUR, AND IS MOST LIKELY FAR, FAR FROM THE BEST PRACTICE**

     

     

    Filename(s):

    ManageApps.js

     

    File Location(s):

    \inetpub\SolarWinds\Orion\DPI/Admin/js/ManageApps.js

     

     

    First things first, let's go to the "Manage QoE Applications" page, and see what all the fuss is about.

    On the system/admin settings page, click on the "QoE Settings" link.

    qoe_settings-001a.png

     

     

    The "QoE Settings" link should take you to the "Orion Quality of Experience Settings" page.

    Now, click the "Manage QoE Applications" link.

    qoe_settings-002_manage_qoe_applications-001a.png

     

    You should now see a list of all of the QoE Applications defined in your system. (each users environment will likely show different results, and numbers of items)

    Notice the bottom right corner of the page shows how many items are being displayed, as well as the total number of items.

    Also, the bottom left corner of the page should show you which page number of displayed items you are on, and how many pages of items you have total.

    qoe_settings-003_manage_qoe_applications_before-001a.PNG

     

     

    Displaying items 1-20 of 2174 will give you plenty of pages to click through, only being allowed to select the items on the current page. (hmmm... I wonder why there is not a "Select All" button/checkbox... that actually selects ALL items on ALL pages...?)

     

     

     

     

    Okay, now that we see the limitation, let's move on to fixing it!

     

     

    All you need to do is open the \inetpub\SolarWinds\Orion\DPI/Admin/js/ManageApps.js file, and make the following edit.

    The change you will be making will need to be done on/around line 8.

    The line you are looking for should be "var itemsPerPage = 20;"

     

    Change the RED part, of the line below,

                var itemsPerPage = 20;

     

    To match the GREEN part, of the line below,

                var itemsPerPage = 250;

     

    Save your file, and you are done! (Yeah, that's it!)

     

    HERE IS HOW THE DEFAULT CODE LOOKS, BEFORE ANY CHANGES:

    SW.DPI = SW.DPI || {};
    SW.DPI.ManageApps = SW.DPI.ManageApps || {};
    
    (function (a) {
        var isPredefinedProtocolsMode = false;  // set to true for pre-defined protocol radio button selection
    
        var startItem = 0;
        var itemsPerPage = 20;
        var gridHeight = 640;
        var gridWidth = 1000;
    
        var serviceUrl = "/Orion/DPI/Services/ManageApps.asmx";
    
    
    

     


    AND HERE IS HOW THE CODE SHOULD LOOK AFTER YOUR CHANGE:

    SW.DPI = SW.DPI || {};
    SW.DPI.ManageApps = SW.DPI.ManageApps || {};
    
    (function (a) {
        var isPredefinedProtocolsMode = false;  // set to true for pre-defined protocol radio button selection
    
        var startItem = 0;
        var itemsPerPage = 250;
        var gridHeight = 640;
        var gridWidth = 1000;
    
        var serviceUrl = "/Orion/DPI/Services/ManageApps.asmx";
    
    
    

     

     

     

     

     

     

    After you save your change(s), you can go and refresh the "Manage Quality of Experience (QoE) Applications" page to see your change.

    Notice the results of all your hard work.

    You should have successfully increased the number of items displayed on the page, reducing the total number of pages you will need to use to manage your QoE Applications in bulk.

    qoe_settings-004_manage_qoe_applications_after-001a.png

     

     

     

     

    Thank you,

     

    -Will

     

     

    --If you are interested in customizing, and/or modifying your SolarWinds environment, CourtesyIT has put together a terrific "Page of Pages" (PoP), "List of Links" (LoL), okay, you get the idea... Please visit his page, How to do various customizations with your Solarwinds, and discover a better way to enhance your SolarWinds environment. Make sure to bookmark, like, and rate his page, as it will help you, as well as others after you.