Ad Widget

Collapse

WEB check - how to check string value in different environments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mantonik
    Junior Member
    • May 2015
    • 17

    #1

    WEB check - how to check string value in different environments

    Hi

    I am trying to monitor version of web application in three different envirement
    Dev,QA,Production
    In each envirment we have this same URL

    https://SERVER_PROD.com/app/version.html
    https://SERVER_QA.com/app/version.html
    https://SERVER_DEV.com/app/version.html

    I will create three different hosts for each environment

    In each environment version string will be different example:
    dev : app-v2.3
    qa : app-v2.2
    prod: app-v2.1

    Each host I can identified by {HOST.DNS} macro and point to correct website where I can read version.

    Is there a way to configure version in the template and then base on host configuration if it is prod, qa, dev select specific version to compare?
    This way I will be changing only version in the template and don't need change anything in hosts.

    Thank you for the suggestion.
Working...