How do I find out why a web test scenario failed? I've only seen records of when it failed, and at what step it failed, but not why that step failed.
I have a web test scenario that fails often, many times a week, but only for one poll period each time. By the time a human can get to it to test with other tools, Zabbix already reports that it's back to normal. None of the other websites on the same machine are suffering; the web test scenario itself is just looking for a '302 Moved Temporarily' response so I know it's not some website app code gone awry.
I could set up a little monitoring script to poll at the same time as Zabbix for the same thing, but if I have to do that then why do I have Zabbix in the first place? So I feel there must be a way for Zabbix to tell me why a web test scenario has failed, not just "yes it failed."
Here's a description of the web test:
Name: cheers
Update Interval: 120
Retries: 1
Agent: Google Chrome 17
Variables:
- {hostname}=[omitted]
Enabled: true
Steps:
- {name: "GET /", url: "http://{hostname}/", follow-redirects: false, timeout: 15, required-status-codes: "301-302"}
And this is the trigger:
{mt:web.test.fail[cheers].last()}<>0
I have a web test scenario that fails often, many times a week, but only for one poll period each time. By the time a human can get to it to test with other tools, Zabbix already reports that it's back to normal. None of the other websites on the same machine are suffering; the web test scenario itself is just looking for a '302 Moved Temporarily' response so I know it's not some website app code gone awry.
I could set up a little monitoring script to poll at the same time as Zabbix for the same thing, but if I have to do that then why do I have Zabbix in the first place? So I feel there must be a way for Zabbix to tell me why a web test scenario has failed, not just "yes it failed."
Here's a description of the web test:
Name: cheers
Update Interval: 120
Retries: 1
Agent: Google Chrome 17
Variables:
- {hostname}=[omitted]
Enabled: true
Steps:
- {name: "GET /", url: "http://{hostname}/", follow-redirects: false, timeout: 15, required-status-codes: "301-302"}
And this is the trigger:
{mt:web.test.fail[cheers].last()}<>0
Comment