Ad Widget

Collapse

Item type HTTP Agent and Query Macro's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skipzoid
    Junior Member
    • Jul 2019
    • 20

    #1

    Item type HTTP Agent and Query Macro's

    Hello.
    I have setup an item to use HTTP Agent that queries a website. I can see from the web logs on the website that zabbix is polling correctly. so now comes passing a query with a value to retrieve a particular value.

    in the host the field Serial Number A holds the value needed to send to the website and I believe that translates to a macro - {INVENTORY.SERIALNO.A} ??

    in the query field for the HTTP Agent I have put door_serial and in the value {INVENTORY.SERIALNO.A}

    however in the web logs the request shows as ?door_serial=%7BINVENTORY.SERIALNO.A%7D which looks like the brackets are being encoded and the macro not translated.



  • olsoncr
    Junior Member
    • Nov 2019
    • 7

    #2
    Did you get a way to workaround this?

    Comment

    Working...