< Back

LimitMaxError

Sun Jan 19, 2020 5:46 pm

NAME LimitMaxError



SYNOPSIS

Generates a <LimitMaxError></LimitMaxError> XML tag for specifying the default upper error limit threshold of a

channel in a custom PRTG Network Monitor EXE/XML Sensor.





SYNTAX

LimitMaxError [[-Value] <String>] [<CommonParameters>]





DESCRIPTION

The LimitMaxError tag specifies the maximum value a channel's value must stay below to avoid going into an error

state. A sensor will enter a error state when a channel's value goes above this threshold.



If LimitMode is not set to 1 when this channel is created, this value will not take effect until limits are

manually enabled in the PRTG UI.



This tag can be used in conjunction with LimitMinError and LimitErrorMsg.



This tag will only be considered when the channel is initially created. Once created, the lower warning limit can

be adjusted under the channel's settings.





PARAMETERS

-Value <String>

The value to use.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? 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



OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



Prtg {

Result {

Channel "My channel"

Value 3

LimitMode 1

LimitMaxError 4

}

}



Specify an upper error limit for a channel.



RELATED LINKS

Online Version: https://github.com/lordmilko/PrtgXml/bl ... axError.md

Prtg

Result

LimitMode

LimitMinError

LimitErrorMsg

LimitMinWarning

LimitMaxWarning

LimitWarningMsg