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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

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

Post 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^^
kyang

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

Post 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
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

glad it is resolved.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked