Add-RedgateMonitorMonitoredObject
Published 18 April 2024
Adds the given monitored object to Redgate Monitor.
Syntax
Add-RedgateMonitorMonitoredObject [-MonitoredObject] <CreationTransferObject> [<CommonParameters>]
Description
The Add-RedgateMonitorMonitoredObject cmdlet adds Amazon RDS SQL Servers, Azure SQL Databases, Azure SQL Servers, Azure Managed Instances, Clusters and Monitored Machines, and SQL Servers on Linux machines to a Redgate Monitor server.
Parameters
-MonitoredObject
<CreationTransferObject>
Definitions of the monitored objects to be created, as returned by the `New-...` cmdlets (i.e. New-RedgateMonitorWindowsHost, New-RedgateMonitorPostgreSql, etc.)
Aliases | None |
Required? | true |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | True (ByValue) |
Accept Wildcard Characters | false |
-ProgressAction
<ActionPreference>
{{ Fill ProgressAction Description }}
Aliases | None |
Required? | false |
Position? | named |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
-
None.
You cannot pipe input to this cmdlet.
Examples
-------------------------- EXAMPLE 1 --------------------------
New-RedgateMonitorWindowsHost -Hostname "localhost" -BaseMonitor $BaseMonitor | Add-RedgateMonitorMonitoredObject