< Back

LimitWarningMsg

Sun Jan 19, 2020 5:47 pm

NAME LimitWarningMsg



SYNOPSIS

Generates a <LimitWarningMsg></LimitWarningMsg> XML tag for specifying the default warning limit message of a

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





SYNTAX

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





DESCRIPTION

The LimitWarningMsg tag specifies the message to display when a channel's value has surpassed its LimitMaxWarning

or LimitMinWarning. This tag can be used alongside Limit Error tags including LimitMaxError, LimitMinError and

LimitErrorMsg.



When a channel's value reaches an Error Limit threshold, the sensor's message will be replaced with the Error

Limit Message.



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

adjusted under the channel's settings.





PARAMETERS

-Value <String>

The message to display.



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 2

LimitWarningMsg "System may be overheating!"

}

}



Specify a warning message for a channel.



RELATED LINKS

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

Prtg

Result

LimitMode

LimitMinWarning

LimitMaxWarning

LimitMinError

LimitMaxError

LimitErrorMsg