how to get alert on err_too_many_redirects ?
Posted: Wed Jun 05, 2019 2:07 am
Hello
I need to get an alert when one of our webpages goes on error ERR_TOO_MANY_REDIRECTS
For example I have found a website whith the error and am trying to build the nagios check on it:
http://www.amu-asie.org
and one of it page: http://www.amu-asie.org/5697-2 goes on this error
I would like to show that on Nagios
I tried with -f follow from check_http but nothing.. Just tells me the redirect is fine..
my service:
define service{
use generic-service
host_name amu-asie.org
service_description just-a-test
check_command check_http!/5697-2!-f follow
}
I'm a new guy on nagios by the way
I need to get an alert when one of our webpages goes on error ERR_TOO_MANY_REDIRECTS
For example I have found a website whith the error and am trying to build the nagios check on it:
http://www.amu-asie.org
and one of it page: http://www.amu-asie.org/5697-2 goes on this error
I would like to show that on Nagios
I tried with -f follow from check_http but nothing.. Just tells me the redirect is fine..
my service:
define service{
use generic-service
host_name amu-asie.org
service_description just-a-test
check_command check_http!/5697-2!-f follow
}
I'm a new guy on nagios by the way