Close
Log in to Zabbix Blog
Email
Password
Show password Hide password
Forgot password?
Incorrect e-mail and/or password
or
By creating an account or logging in with an existing account, you agree to our Terms of Service
Handy TipsTechnicalHow ToIntegrationsConferencesCommunityNewsSocialInterviewCase StudyLogin

Zabbix 2.4 features, part 2 – Controlling redirects and header retrieval for web monitoring

Continuing with the improvements for the upcoming Zabbix 2.4, there are several improvements for the web monitoring. In previous versions Zabbix always followed redirects and retrieved the full page – now both of these things can be controlled.   Articles in 2.4 feature series: Part 1 – Multiple LLD filters Part 2 – Controlling redirects and […]

Continuing with the improvements for the upcoming Zabbix 2.4, there are several improvements for the web monitoring. In previous versions Zabbix always followed redirects and retrieved the full page – now both of these things can be controlled.

 

Articles in 2.4 feature series:

Should we follow redirects?

As noted, previously Zabbix followed redirects. Since 2.4, there’s a checkbox in web scenario step properties, which allows to disable redirect following. This allows to test for proper configuration of redirects by verifying response codes – or maybe check that unintended redirects are not appearing.

Note that there is a hardcoded limit of 10 when following redirects.

What if full page is too large?

There are cases when a full page can be fairly huge and retrieving it for monitoring purposes is too much. Another new checkbox in web scenario step properties allows to retrieve headers only.

Unfortunately, at this time it is not possible to check the header for specific contents, thus the Required string field is disabled.

Prev Post Prev Post Next Post Next Post
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x