< Back
New-OAOMonitoringPolicy
Post
NAME New-OAOMonitoringPolicy
SYNTAX
New-OAOMonitoringPolicy [-Name] <string> [[-Description] <string>] [-Email] <string> [-Agent] <bool>
[-CpuWarningValue] <int> [-CpuWarningAlert] <bool> [-CpuCriticalValue] <int> [-CpuCriticalAlert] <bool>
[-RamWarningValue] <int> [-RamWarningAlert] <bool> [-RamCriticalValue] <int> [-RamCriticalAlert] <bool>
[-DiskWarningValue] <int> [-DiskWarningAlert] <bool> [-DiskCriticalValue] <int> [-DiskCriticalAlert] <bool>
[-TransferWarningValue] <int> [-TransferWarningAlert] <bool> [-TransferCriticalValue] <int>
[-TransferCriticalAlert] <bool> [-InternalPingWarningValue] <int> [-InternalPingWarningAlert] <bool>
[-InternalPingCriticalValue] <int> [-InternalPingCriticalAlert] <bool> [-Ports] <Ports[]> [-Processes]
<Processes[]> [<CommonParameters>]
PARAMETERS
-Agent <bool>
Set true for using agent
Required? true
Position? 4
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuCriticalAlert <bool>
Enable alert
Required? true
Position? 8
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 7
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuWarningAlert <bool>
Enable alert
Required? true
Position? 6
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 5
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Description
Required? false
Position? 2
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskCriticalAlert <bool>
Enable alert
Required? true
Position? 16
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 15
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskWarningAlert <bool>
Enable alert
Required? true
Position? 14
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 13
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Email <string>
User's email
Required? true
Position? 3
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingCriticalAlert <bool>
Enable alert
Required? true
Position? 24
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingCriticalValue <int>
dvise when this value is exceeded (ms) maximum: 100
Required? true
Position? 23
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingWarningAlert <bool>
Enable alert
Required? true
Position? 22
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingWarningValue <int>
Advise when this value is exceeded (ms)
Required? true
Position? 21
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Name
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Ports <Ports[]>
Array of ports that will be monitoring
Required? true
Position? 25
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Processes <Processes[]>
Array of processes that will be monitoring
Required? true
Position? 26
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamCriticalAlert <bool>
Enable alert
Required? true
Position? 12
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 11
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamWarningAlert <bool>
Enable alert
Required? true
Position? 10
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 9
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferCriticalAlert <bool>
Enable alert
Required? true
Position? 20
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferCriticalValue <int>
Advise when this value is exceeded (kbps) maximum: 2000
Required? true
Position? 19
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferWarningAlert <bool>
Enable alert
Required? true
Position? 18
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferWarningValue <int>
Advise when this value is exceeded (kbps)
Required? true
Position? 17
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Boolean
System.Int32
OneAndOne.POCO.Requests.MonitoringPolicies.Ports[]
OneAndOne.POCO.Requests.MonitoringPolicies.Processes[]
OUTPUTS
OneAndOne.POCO.Response.MonitoringPolicies.MonitoringPoliciesResponse
ALIASES
None
REMARKS
None
SYNTAX
New-OAOMonitoringPolicy [-Name] <string> [[-Description] <string>] [-Email] <string> [-Agent] <bool>
[-CpuWarningValue] <int> [-CpuWarningAlert] <bool> [-CpuCriticalValue] <int> [-CpuCriticalAlert] <bool>
[-RamWarningValue] <int> [-RamWarningAlert] <bool> [-RamCriticalValue] <int> [-RamCriticalAlert] <bool>
[-DiskWarningValue] <int> [-DiskWarningAlert] <bool> [-DiskCriticalValue] <int> [-DiskCriticalAlert] <bool>
[-TransferWarningValue] <int> [-TransferWarningAlert] <bool> [-TransferCriticalValue] <int>
[-TransferCriticalAlert] <bool> [-InternalPingWarningValue] <int> [-InternalPingWarningAlert] <bool>
[-InternalPingCriticalValue] <int> [-InternalPingCriticalAlert] <bool> [-Ports] <Ports[]> [-Processes]
<Processes[]> [<CommonParameters>]
PARAMETERS
-Agent <bool>
Set true for using agent
Required? true
Position? 4
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuCriticalAlert <bool>
Enable alert
Required? true
Position? 8
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 7
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuWarningAlert <bool>
Enable alert
Required? true
Position? 6
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-CpuWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 5
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Description
Required? false
Position? 2
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskCriticalAlert <bool>
Enable alert
Required? true
Position? 16
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 15
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskWarningAlert <bool>
Enable alert
Required? true
Position? 14
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-DiskWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 13
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Email <string>
User's email
Required? true
Position? 3
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingCriticalAlert <bool>
Enable alert
Required? true
Position? 24
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingCriticalValue <int>
dvise when this value is exceeded (ms) maximum: 100
Required? true
Position? 23
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingWarningAlert <bool>
Enable alert
Required? true
Position? 22
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-InternalPingWarningValue <int>
Advise when this value is exceeded (ms)
Required? true
Position? 21
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Name
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Ports <Ports[]>
Array of ports that will be monitoring
Required? true
Position? 25
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Processes <Processes[]>
Array of processes that will be monitoring
Required? true
Position? 26
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamCriticalAlert <bool>
Enable alert
Required? true
Position? 12
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamCriticalValue <int>
Advise when this value is exceeded (%) maximum: 100
Required? true
Position? 11
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamWarningAlert <bool>
Enable alert
Required? true
Position? 10
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-RamWarningValue <int>
Advise when this value is exceeded (%)minimum: 1,maximum: 95,
Required? true
Position? 9
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferCriticalAlert <bool>
Enable alert
Required? true
Position? 20
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferCriticalValue <int>
Advise when this value is exceeded (kbps) maximum: 2000
Required? true
Position? 19
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferWarningAlert <bool>
Enable alert
Required? true
Position? 18
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-TransferWarningValue <int>
Advise when this value is exceeded (kbps)
Required? true
Position? 17
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Boolean
System.Int32
OneAndOne.POCO.Requests.MonitoringPolicies.Ports[]
OneAndOne.POCO.Requests.MonitoringPolicies.Processes[]
OUTPUTS
OneAndOne.POCO.Response.MonitoringPolicies.MonitoringPoliciesResponse
ALIASES
None
REMARKS
None