< Back

ValueLookup

Sun Jan 19, 2020 5:48 pm

NAME ValueLookup



SYNOPSIS

Generates a <ValueLookup></ValueLookup> XML tag for specifying the default value lookup of a channel in a custom

PRTG Network Monitor EXE/XML Sensor.





SYNTAX

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





DESCRIPTION

The ValueLookup tag specifies the default Value Lookup to use with the channel's value.



Value Lookups allows PRTG to replace a channel's numeric value with a textual representation. Sophisticated dials

can be created using Value Lookups allowing PRTG to show a system as being in a particular state.



Value Lookups are stored on the PRTG Core Server under C:\\Program Files (x86)\\PRTG Network Monitor\\lookups. Custom

lookups can be stored under the lookups\\custom subfolder, and then loaded via the Load Lookups option under Setup

-> Administrative Tools.



This tag will only be considered when the channel is initially created.





PARAMETERS

-Value <String>

The name of a standard or custom lookup that has been installed on the PRTG Core.



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 1

ValueLookup prtg.standardlookups.yesno.stateyesok

}

}



Create a sensor with a channel that shows "Yes" or "No" depending on its value (1 or 2).



RELATED LINKS

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

Prtg

Result

Channel

Value

PRTG Manual: https://www.paessler.com/manuals/prtg/define_lookups