Modify the ThinScale Server Status Page

Modify the ThinScale Server Status Page. #MC-KB13

Written by Giuseppe

Last published at: March 12th, 2024


Even though the status page doesn't contain sensitive data, there could be instances where administrators don't want to expose that page over the internet.


The status page will look like this by default:

If you would like to hide certain rows entirely, please navigate to the following location:

"C:\Program Files (x86)\ThinScale Management Server\TSTMgmt"

Create a .json file called appcustom.json, containing the following lines:

{
"StatusPageOptions":
    {
    "DisableBrokerStatus": false,
    "DisableOnline": false,
    "DisableBrokerName": true,
    "DisableBrokerId": true,
    "DisableBrokerType": true,
    "DisableBrokerVersion": true,
    "DisablePackageLocation": true,
    "DisableFileLocation": true,
    "DisableConnectedBrokers": true,
    }
 }



The folder should now look like this:



If you copy the configuration above, your status page will look as an example below, otherwise, you can modify the lines to your preference.


For versions before 7.2 please click here

The file is located in the server directory folder, please navigate to the following location:

"C:\Program Files (x86)\ThinScale Management Server\TSTMgmt\Pages"

That page is in HTML format, to customize it, you can modify the content of that file.
After modifications, you will have something like this:

Delete