user3711869
user3711869

Reputation: 51

Monitoring a website that contains a defined string with Zabbix

How can I monitor a website with Zabbix 2.2 that contains a defined string in the title? For example: https://stackoverflow.com/ contains 'Stack Overflow' in the .

Now I want to get an email, if there is another string instead of 'Stack Overflow' in the title. How can I do this?

Is it the required string in the steps?

Thanks.

Upvotes: 1

Views: 7065

Answers (1)

asaveljevs
asaveljevs

Reputation: 2250

There are two main options:

  1. use Web monitoring and put your string into "Required string" field;
  2. use web.page.regexp[] item and put your string into the <regexp> parameter.

In both cases, you can make a trigger that will alert you if the string is not there.

Upvotes: 3

Related Questions