Hi,
I have installed Zabbix 4.0 and I'm monitoring a website uptime.
I created an Item "HTTP Agent" with the URL of the website homepage.
In the preprocessing section I added a regular expression to capture the status code of the page.
If the webserver is online, I get a 200 (OK) response, but if I stopped the apache2 webservice, I get a
"item became not supported: Cannot perform request: Failed to connect to xxx.xxx.xxx.xxx port 443: Connection refused"
I can I configure the item and the trigger "{xxx.xxx.xxx.xxx:http_page_value.last()}<>200 " to generate an alarm if the webserver has been shutted down or it is unreachable?
Thanks in advance for the answers!
I have installed Zabbix 4.0 and I'm monitoring a website uptime.
I created an Item "HTTP Agent" with the URL of the website homepage.
In the preprocessing section I added a regular expression to capture the status code of the page.
If the webserver is online, I get a 200 (OK) response, but if I stopped the apache2 webservice, I get a
"item became not supported: Cannot perform request: Failed to connect to xxx.xxx.xxx.xxx port 443: Connection refused"
I can I configure the item and the trigger "{xxx.xxx.xxx.xxx:http_page_value.last()}<>200 " to generate an alarm if the webserver has been shutted down or it is unreachable?
Thanks in advance for the answers!
Comment