Back to Geneos FAQ

Create a regular expression for the remote or local port that references a variable

Geneos - 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.

Geneos - create a regular expression for the remote or local port that references a variable 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:

8051379683613 mceclip2

The managed entities have the variable defined as:

8052040918941 mceclip5

8052042775453 mceclip6

8052044536349 mceclip7

["Geneos"] ["Geneos > Netprobe"] ["FAQ"]

Was this topic helpful?