< Back

LimitErrorMsg

Sun Jan 19, 2020 5:46 pm

NAME LimitErrorMsg



SYNOPSIS

Generates a <LimitErrorMsg></LimitErrorMsg> XML tag for specifying the default error limit message of a channel in

a custom PRTG Network Monitor EXE/XML Sensor.





SYNTAX

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





DESCRIPTION

The LimitErrorMsg tag specifies the message to display when a channel's value has surpassed its LimitMaxError or

LimitMinError. This tag can be used alongside Limit Warning tags including LimitMaxWarning, LimitMinWarning and

LimitWarningMsg.



If the channel's value reaches a Warning Limit threshold, the sensor's message will be replaced with the Warning

Limit Message.



This tag will only be considered when the channel is initially created. Once created, the error 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

LimitMaxError 2

LimitErrorMsg "System is about to explode!"

}

}



Specify an error message for a channel.



RELATED LINKS

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

Prtg

Result

LimitMode

LimitMinError

LimitMaxError

LimitMinWarning

LimitMaxWarning

LimitWarningMsg