Alarm priorities are configured as numbers from 1 to 1000. These are mapped in server configuration to named severities with colors and behaviors. You can remove severities but the numbers used by them in the database will remain, and when alarms occur the next lowest severity will be used.
However, the severity drop-down field on the database item may appear blank when it is not mapped to a severity. This tool can be used to:
Tidy severities by remapping the priorities which are unmapped to the next lowest severity.
Allow you to remap all items using one severity into another severity.
A prebuilt version of the tool is available at the download link below. Unzip the files to a separate folder and run the .exe program.
Use the command parameter -? to get this help for command line parameters:
This program will remove unused alarm severities from the Geo SCADA database. To remap specific severities use the optional -from and -to parameters. Usage: SeverityCleaner -u MyUserName
All parameters: -n or --node <node> Geo SCADA server node name/address (default localhost) -p or --port <port> Geo SCADA server port number (default 5481) -u or --user <user> Geo SCADA User name (omit to enter interactively) -a or --password <pass> Geo SCADA Password (omit to enter interactively) -d or --delay <delay> Delay milliseconds between server requests (default 1) -f or --from <num> Optional: look to change all with this severity -t or --to <num> Required with -f only: change found items to this severity
Options: -c or --change Make database changes. THE DATABASE WILL NOT BE CHANGED UNLESS THIS OPTION IS USED
-q or --quiet Silence the output of severity changes made. -v or --verbose Output all details during execution. -w or --wait Pause for a key press after completion.