Unicon documentation migration is in progress. You might find some broken links or experience minor issues in the documentation. We are working on resolving these issues.

X

Scout Database Model (CR)

Table: PredefinedCommand

Holds the data for predefined commands in Advanced options.

ColumnName DataType Key Not Null Default Value Comment
PredefinedCommandID INTEGER IDENTITY(1,1) PK NN   Unique ID of the command
Name NVARCHAR(255)   NN   Name of the command
Command NVARCHAR(255)   NN   Command string itself
RunAsSystem BIT   NN   Flag indicates if command should be run with root credentials
Active BIT   NN   Indicates whether a command is active
Administrators NVARCHAR(255)       Allowed admins or admin groups.
IndexName IndexType Columns
PRIMARY PRIMARY PredefinedCommandID

How to create

CREATE TABLE PredefinedCommand( PredefinedCommandID INTEGER IDENTITY (1,1) NOT NULL, Name NVARCHAR(255) NOT NULL, Command NVARCHAR(255) NOT NULL, RunAsSystem BIT NOT NULL, Active BIT NOT NULL, Administrators NVARCHAR(max), CONSTRAINT PK_PredefinedCommand PRIMARY KEY (PredefinedCommandID));
Table: PredefinedCommand