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