×
Back to Geneos FAQ
Create a regular expression for the remote or local port that references a variable
Construct the regular expression as usual and use $() to enclose the variable name.
To monitor a different remote port on 2 different managed entities using the same TCP-Link sampler with a variable name RemotePort:
The sampler below references the RemotePort variable as $(RemotePort) and the tailing $ in regex to look for this pattern at the end:
The managed entities have the variable defined as:
["Geneos"]
["Geneos > Netprobe"]
["FAQ"]