Page History
You can add instances for monitoring in DMSO through
The user interface
Add an instance to the Management Cluster which is current at the time of addition.
Note |
---|
To determine which repository is used, you may need to allow the current value of the ActiveRepositoryConnection property |
A new cluster-aware PowerShell Cmdlet
Check the example below of PowerShell Cmdlet for adding an instance for monitoring:
Code Block | ||
---|---|---|
| ||
New-SQLdmMonitoredInstance -Path Instance1 -WindowsAuthentication -tags production,finance,critical |
Also, specify the Management Cluster in addition to the Instance name. Check the following example:
Code Block | ||
---|---|---|
| ||
New-SQLdmMonitoredInstanceClustered -Path Instance1 -Cluster MgmtCluster -WindowsAuthentication -tags production,finance |