check_http on cloudflare results in 500 Internal error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gossamer
Posts: 20
Joined: Wed Jul 13, 2011 9:56 pm

check_http on cloudflare results in 500 Internal error

Post by gossamer »

Hi, I have a fedora34 system with nagios-4.4.6-4.fc34.x86_64 and recently noticed the check_http plugin is returning a 500 internal error, then a 301 redirect:

Sep 23 17:09:32 arcade nagios[744]: SERVICE ALERT: darwin;HTTPS-darwin-linuxsecurity;CRITICAL;SOFT;3;HTTP CRITICAL: HTTP/1.1 500 Internal Server Error - 676 bytes in 0.142 second response time
Sep 23 17:10:26 arcade nagios[744]: SERVICE ALERT: darwin;HTTPS-www.linuxsecurity.com;OK;SOFT;2;HTTP OK: HTTP/1.1 301 Moved Permanently - 879 bytes in 3.120 second response time

This is the service entry for this check:

define service {
use standard-service-24x7
host_name darwin
service_description HTTPS-www.linuxsecurity.com
check_command check_https_url!linuxsecurity.com!/index.php
}

This config has been in place for a really long time, but has only recently started to produce this problem. I also don't believe any changes have been made to cloudflare which may have caused this. I've also just added a rule that allows the originating IP and the problem continues.

What more can I do to troubleshoot this?
gossamer
Posts: 20
Joined: Wed Jul 13, 2011 9:56 pm

Re: check_http on cloudflare results in 500 Internal error

Post by gossamer »

Hi, no one has any ideas on this?
Locked