Hi,
I am in the process of setting up Zabbix.
I have created an item and a trigger, which triggers a trigger action and sends out a notification once a status code 400 is in the json file.
This all works.
My question: What do I have to do so that the trigger not only indicates that there are new files with status code 400, but also passes the content of the json file to the appropriate media type?
So I want the notification to say the following:
Problem started at: Placeholder
Problem name: Status 400
Host: Host
Severity: High
Operational data: (example) 5
(Example) File Content: id: placeholder, Date: placeholder and so on, the data that is in the json file.
I have created an item that captures the data but unfortunately I haven't found a way to render it in the trigger.
Version 6.2 is used and I use for this a http Agent and not an zabbix agent.
If its not possible, maybe its possible to atleast display the ResponseMessage from the json file?
I am in the process of setting up Zabbix.
I have created an item and a trigger, which triggers a trigger action and sends out a notification once a status code 400 is in the json file.
This all works.
My question: What do I have to do so that the trigger not only indicates that there are new files with status code 400, but also passes the content of the json file to the appropriate media type?
So I want the notification to say the following:
Problem started at: Placeholder
Problem name: Status 400
Host: Host
Severity: High
Operational data: (example) 5
(Example) File Content: id: placeholder, Date: placeholder and so on, the data that is in the json file.
I have created an item that captures the data but unfortunately I haven't found a way to render it in the trigger.
Version 6.2 is used and I use for this a http Agent and not an zabbix agent.
If its not possible, maybe its possible to atleast display the ResponseMessage from the json file?
Comment