Montior a website URL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
iqadmin
Posts: 12
Joined: Tue Oct 06, 2020 2:01 am

Montior a website URL

Post by iqadmin »

I have an issue with monitoring the Website URL to know the status .Kindly your advise on this


1.(CRITICAL - Cannot make SSL connection.)

Host is reachable but the service getting ssl connection error it seems it requires SSL certificate to connect to it
Is there a way to include the certificate when calling the endpoint URL from Nagios?

2.(HTTP CRITICAL - No data received from host)
Host is reachable but we don’t receive data from the service
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Montior a website URL

Post by gsmith »

Hi,

In the "Website URL" configuration wizard, on the second screen, make sure the "Use SSL" box is checked and that
the port is set to 443.
Screenshot 2021-04-22 150840.jpg
Let me know the results.

Thanks
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Montior a website URL

Post by ssax »

Take the URLs for both of the failing ones and run this command against them from the CLI and send us the full output:

Code: Select all

curl -k -L -vvv 'https://theurl'
curl -k -L -vvv 'http://theurl'
Additionally, try adding -v to your check command for both services and then run the check and send the full output.

Please PM one of us a copy of your profile as well and let us know the service names so we can see how they are configured, you can download the profile.zip from Admin > System Profile by clicking the Download Profile button.
iqadmin
Posts: 12
Joined: Tue Oct 06, 2020 2:01 am

Re: Montior a website URL

Post by iqadmin »

Hello ,

please find the required output that has requested.
Last edited by iqadmin on Mon Apr 26, 2021 2:38 am, edited 1 time in total.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Montior a website URL

Post by dchurch »

Looks like your system is set up to route all HTTP traffic thru a Squid HTTP proxy running on IP 100.x.x.x:3128 (i.e. NOT the same server as the Nagios XI server), and it's the proxy server that's having problems connecting to the remote HTTP server. Specifically it's getting a 502 Bad Gateway error.

Questions:
1. Did you mean to set up your server this way?
2. Do you have shell access to the Squid server (IP is 100.x.x.x)? Can we test some things out to maybe help you get it so the Squid proxy can work? If not, can you get in touch with that server's administrator?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
iqadmin
Posts: 12
Joined: Tue Oct 06, 2020 2:01 am

Re: Montior a website URL

Post by iqadmin »

yes Nagios server is connected via proxy to the internet , and this is the way other URL has configured and its working fine with no issues.

Also I have checked the other URL that has same output and its showing the status of https services .
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Montior a website URL

Post by dchurch »

Since you have an open ticket, #862072, I'm closing this issue. Any further replies should be directed there.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked