Book Image

Zabbix Cookbook

By : Patrik Uytterhoeven, patrik uytterhoeven
Book Image

Zabbix Cookbook

By: Patrik Uytterhoeven, patrik uytterhoeven

Overview of this book

Table of Contents (18 chapters)
Zabbix Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Monitoring web scenarios


Now that we have our website monitored, we have nice graphs about download speed, access times and so on. But sometimes there are certain things that we would like to know like when a step fails in our scenario. This recipe will show you how to monitor the same.

Getting ready

Make sure you have your Zabbix server properly configured, that you have super admin rights and that you have finished the previous recipe Building web scenarios.

How to do it…

  1. Our first step is to go to Configuration | Hosts and click on the group Triggers on that host.

  2. Add a new trigger to our host by clicking on the Create trigger button in the upper right corner.

  3. Give a name to our new trigger in the Name field.

  4. In the Expression box add the following line :

    {host:web.test.fail[Scenario].last(0)}>0
  5. Don't forget to replace host with your host name or template name and Scenario with the name of your scenario.

  6. Select the preferred severity level.

  7. To save our trigger, click the Add button at the bottom...