DbTool Service Commands
The service commands start and stop the Cygna Auditor Windows services on this server, and optionally the remote collection agents.
For how to run DbTool, the common options, and the permissions it requires, see DbTool Command-Line Utility.
service start
Starts every Cygna Auditor service on this server and, optionally, the remote Active Directory and File System agents.
Requirements: You must be a Cygna Auditor Global Administrator.
Syntax
DbTool service start [options]
Options
| Option | Description |
|---|---|
-a, --ad
|
Also start the Active Directory agents on the domain controllers. |
-f, --fs
|
Also start the File System agents on the monitored file servers. Requires --user and --password. |
-u, --user <ACCOUNT>
|
Account used to connect to the remote file servers when --fs is specified, in DOMAIN\user format. |
-p, --password <PASSWORD>
|
Password for --user. Enter ? to be prompted for the password instead of typing it on the command line. |
Example
DbTool service start --ad --fs --user CONTOSO\svc_auditor --password ?
service stop
Stops every Cygna Auditor service on this server and, optionally, the remote Active Directory and File System agents. Run this command before you perform maintenance on SQL Server.
Requirements: You must be a Cygna Auditor Global Administrator.
Syntax
DbTool service stop [options]
Options
| Option | Description |
|---|---|
-a, --ad
|
Also stop the Active Directory agents on the domain controllers. |
-f, --fs
|
Also stop the File System agents on the monitored file servers. Requires --user and --password. |
-u, --user <ACCOUNT>
|
Account used to connect to the remote file servers when --fs is specified, in DOMAIN\user format. |
-p, --password <PASSWORD>
|
Password for --user. Enter ? to be prompted for the password instead of typing it on the command line. |
Example
DbTool service stop --ad