Back to Geneos FAQ

How to configure a sampler to use variable timezones

Problem Copied

You would like to configure a sampler so that it can be used in different timezones.

Possible solution(s) Copied

Set up your sampler to use an active times variable. On two or more managed entities, define the same variable name but reference different active times.

Example

  1. Open the gateway setup editor and Go to Active Times and click New Active Time. Fill up the files with selected timezone (example: America-New York, Asia-Manila)

    Geneos - How to configure a sampler to use variable timezones

  2. Click on Active Times again then click Advanced. Make sure that the “gateway-controlled active time” is enabled.

    Geneos - How to configure a sampler to use variable timezones

  3. Go to your Sampler -> Advanced Tab -> Active Times -> select “var” from the options and assign a variable name (ex. MNL)

    Geneos - How to configure a sampler to use variable timezones

  4. Go to your managed entity -> Advanced Tab -> Var. Type in the variable name that you have assigned in your Sampler (ex. MNL), select activeTime in options list and enter the name of the active time that you have created in the Active Time field.

    Geneos - How to configure a sampler to use variable timezones

The sampler will use the variable set, MNL, to refer to the Active Time in Managed Entity.

["Geneos"] ["Geneos > Gateway"] ["FAQ"]

Was this topic helpful?