Page 1 of 1

Critical - (500 Can't connect to x.x.x.x:443)

Posted: Tue May 29, 2018 12:49 am
by comeonyoyo
Hi Guys

when I use XI 2014R2.7 , It`s ok to use command : check_http_eappurl!https://x.x.x.x!10!20!!!!!
It responses ok. In the status information of service check

After I migrate it to XI 5.4.11 ,and use the same command : check_http_eappurl!https://x.x.x.x!10!20!!!!!
It responses Critical - (500 Can't connect to x.x.x.x:443)

I`ve tried to copy the CA certificates of my NB to /etc/pki/ca-trust/source/anchors/
then run the following command
update-ca-trust
But still got the same response...

Does anyone know what I may miss to solve the issue ? Thank you in advence^^

Re: Critical - (500 Can't connect to x.x.x.x:443)

Posted: Tue May 29, 2018 3:44 pm
by kyang
Hello,
Could you show us the full command?

Have you tried running it from the terminal?

What version of the check_http plugin are you on?

Code: Select all

/usr/local/nagios/libexec/check_http -V

Re: Critical - (500 Can't connect to x.x.x.x:443)

Posted: Tue May 29, 2018 7:46 pm
by comeonyoyo
Hi, it shows

they are the same version
# /usr/local/nagios/libexec/check_http -V
check_http v2.0.3 (nagios-plugins 2.0.3)

# ./check_http_eappurl!https://x.x.x.x/login.aspx!10!20!!!!!
-bash: !https: event not found

After I change the CA and import , the problem disappear . It`s ok now

Thank you for your support

Re: Critical - (500 Can't connect to x.x.x.x:443)

Posted: Wed May 30, 2018 8:57 am
by scottwilkerson
glad it is resolved.