Configuration file (Alarms Plus)
Extensions’s configuration file is stored in the config.js
file in the extension’s installation folder (/opt/saymon-extensions/cas-incidents
by default)
Extension requires a configuration file to function. |
In most cases, the user doesn’t have to perform any additional actions to apply the changes in configuration file. The extension will apply them the next time the page refreshes. However, your browser can cache the configuration file. In this case, empty the browser cache to apply configuration. |
Parameter | Description |
---|---|
display_rca |
Whether to display RCA fields. Requires RCA module. |
title |
Extension’s title displayed in the top left corner of the screen and in the tab’s title. |
ws_server |
Address of the SAYMON’s WebSocket server. |
Reset configuration file
In the extension’s installation directory there is an example of the configuration file. This example is stored in the config.js.example
file.
var config = {
title: "Alarms Plus",
ws_server: "https://your.saymon.server:8091"
}
To reset the extension’s configuration to the default, copy this file to the same directory with the name config.js
:
sudo cp config.js.example config.js