Ad Widget

Collapse

Template for Web Scenario, Item and Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jbezorg
    Junior Member
    • Aug 2017
    • 3

    #1

    Template for Web Scenario, Item and Trigger

    Hi


    I created 10 hosts, each with only a Web Scenario with 1 Step (get http code 200) to monitor the availability of these Web Sites. On one host I created no item, but a trigger like this:
    Name: Website HTTP Status Error, Response Code {ITEM.VALUE}
    Expression: {abc.com:web.test.rspcode[abc.com,abc.com].last()}<>200

    In the expression "abc.com" is the name of the Host and also the name of the one and only step in the Web Scenario (sorry for that, I should change that).

    This trigger works fine. So, now I would like to create a template and use this for all the other Web Scenario hosts. This doesn't work, because I don't know how to change the Host Name and the Scenario Name to a Variable. If I don't change the Host and Scenario Name, the Trigger is saved to the Host and not to the Template.

    Could someone tell me where I can find Informations on how to built that Template?

    Cheerz, Markus
  • jbezorg
    Junior Member
    • Aug 2017
    • 3

    #2
    Either the answer is so easy or so hard... But I don't see it... Could someone please give me a hint?

    Comment

    Working...