< Back

LimitMode

Sun Jan 19, 2020 5:47 pm

NAME LimitMode



SYNOPSIS

Generates a <LimitMode></LimitMode> XML tag for specifying whether error and warning limits should be enabled by

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





SYNTAX

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





DESCRIPTION

The LimitMode tag specifies whether error/warming limits should be enabled by a channel by default. If a LimitMin

or LimitMax value has been set, this value must also be specified.



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

adjusted under the channel's settings.





PARAMETERS

-Value <String>

The value to use. Either 1 (enable limits) or 0 (disable limits).



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 2

}

}



Specify an upper error limit for a channel with error limits enabled.



RELATED LINKS

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

Prtg

Result

LimitMinWarning

LimitMaxWarning

LimitWarningMsg

LimitMinError

LimitMaxError

LimitErrorMsg