< Back

LimitMaxWarning

Sun Jan 19, 2020 5:47 pm

NAME LimitMaxWarning



SYNOPSIS

Generates a <LimitMaxWarning></LimitMaxWarning> XML tag for specifying the default upper warning limit threshold

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





SYNTAX

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





DESCRIPTION

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

warning state. A sensor will enter a warning 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 LimitMinWarning and LimitWarningMsg.



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

LimitMaxWarning 4

}

}



Specify an upper warning limit for a channel.



RELATED LINKS

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

Prtg

Result

LimitMode

LimitMinWarning

LimitWarningMsg

LimitMinError

LimitMaxError

LimitErrorMsg