Injecting JavaScript through browser plugins
You can inject JavaScript into your web applications to monitor their performance and availability. For SaaS-based web applications, you can use browser plugins to manage the JavaScript injection in the browsers of the users in your enterprise, without having to modify the web applications.
Plugins for the following browsers are available:
- Chrome
- Firefox
Do the following to inject JavaScript through browser plugins.
- Distribute the plugins to the browsers in your enterprise.
- Configure the plugins.
- Configure the applications to be monitored.
The following sections describe each step in detail.
Distributing the plugins
Distribute the plugins within your enterprise in any suitable way, such as the BMC Client Management application, or the Windows group policy. The plugins are located here:
For more information, use the following links:
Configuring the plugins
This section provides information about configuring the Chrome and Firefox browser plugins.
Configuring the Chrome browser plugin
Do the following on Windows:
- Ensure that you have administrator privileges.
- Create a registry key at the following location:
<host_computer>\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\<extension_id>\Policy - Create a string key for each of the following mandatory settings and insert the correct values:
- BeaconReceiverHost—The fully qualified server name for the beacon receiver
- BeaconReceiverPort—The port for the beacon receiver server
- Version—The version of the beacon receiver server, for example 11.3
- Save your changes.
For more information, see the Chrome documentation .
Configuring the Firefox browser plugin
Do the following on Windows:
- Ensure that you have administrator privileges.
Create a .json schema file with the following content:
{
"name": "active_eue_enteprise@bmc.com",
"description": "ignored",
"type": "storage",
"data": {
"BeaconReceiverHost": "<Beacon receiver host>",
"BeaconReceiverPort": <Beacon receiver port>,
"Version" : <Version>
}
}
- Create a registry key at the following location:
<host_computer>\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\ManagedStorage\active_eue_enteprise@bmc.com - Change the Default key value to contain the full path to the .json schema file that you created.
- Save your changes.
For more information, see the Mozilla documentation .
Configuring the monitored web applications
You must configure the monitored web applications so that the browser plugins can monitor them.
Do the following:
- On an App Visibility proxy server, open the following file:
%AppVisibilityRoot%/apm-proxy/webapps/static-resources/plugin_settings.json Insert the following content in the file:
{
"DomainsWhitelist" : ["www.bmc.com”],
"ConfigRefreshIntervalMinutes": 1
}
Save your changes.
Repeat the steps on each App Visibility proxy server.
Note: Update file on all proxy servers
When you update the file, ensure that you update it on all App Visibility proxy servers.
Comments
Log in or register to comment.