Hi,
There has been recently a case where the company's website: www.xxx.com itself was redirected to another URL. This redirection was detected quickly but only by coincidence.
I would like to ask if there is existing monitoring of the content of the site (using Nagios).
Thanks.
Monitoring of Webpage
Re: Monitoring of Webpage
The check_http plugin included with the nagios-plugins package allows for checking of a page's content as well as the response code of the page.
From the plugin's help section:
Additionally, here are some sample usages of the plugin (see "Monitoring HTTP"):
https://assets.nagios.com/downloads/nag ... vices.html
If you followed the official documentation for compiling Nagios Core from source, the "Installing The Nagios Plugins" section covers how to setup the nagios-plugins package.
From the plugin's help section:
Code: Select all
-s, --string=STRING
String to expect in the content
...
-e, --expect=STRING
Comma-delimited list of strings, at least one of them is expected in
the first (status) line of the server response (default: HTTP/1.)
If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)
https://assets.nagios.com/downloads/nag ... vices.html
If you followed the official documentation for compiling Nagios Core from source, the "Installing The Nagios Plugins" section covers how to setup the nagios-plugins package.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Monitoring of Webpage
Thanks for the assist, @mcapra! OP, please let us know if you need further assistance.
Former Nagios employee