Monitor multiple url from same domain

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
diazmerce
Posts: 4
Joined: Thu Dec 09, 2010 3:38 pm

Monitor multiple url from same domain

Post by diazmerce »

Hi, I'm using nagios xi and I was testing different configurations to monitor urls from the same domain. I googled and found that you must enable the plugin check_http, I checked and it is installed. I used the wizard to add a website, I selected a website choice and add url http://www.mydomain.com, follow the steps and I can see correctly in the Details option. Now, when I want to register other url like http://www.mydomain.com/algo.php I follow the same process but when I go to see its status I can't view or access to view details. I don't know if I have to do something special. :oops:

Thank you
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Monitor multiple url from same domain

Post by mguthrie »

I'm thinking you might have to add that second check as a service under the http://www.mydomain.com host. You're probably having issues with it because it's the same host name and address for both services.

Just out of curiosity, how specifically are you not able to access the details, is it a blank page? Redirect? Error message?
diazmerce
Posts: 4
Joined: Thu Dec 09, 2010 3:38 pm

Re: Monitor multiple url from same domain

Post by diazmerce »

Thanks for your quick response.

What I need to know if the steps to monitor multiple URLs from on domain e.g.

http://www.cnn.com/

http://www.cnn.com/SHOWBIZ/

http://www.cnn.com/WORLD/

any thoughts?
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Monitor multiple url from same domain

Post by admin »

If you use the web monitoring wizard, you should be able to enter the full URL that you want to monitor. It shouldn't be any more complicated than that. :-)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
diazmerce
Posts: 4
Joined: Thu Dec 09, 2010 3:38 pm

Re: Monitor multiple url from same domain

Post by diazmerce »

Thank you for your reply, I spoke on the phone to Ethan and he told me you guys will be releasing a new wizard with that feature within a week.

I'm looking forward to try it soon :-)
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Monitor multiple url from same domain

Post by rdedon »

Here is a brand new wizard for URL monitoring:
http://assets.nagios.com/downloads/nagi ... iteurl.zip

And here are instructions to install Wizards:
http://assets.nagios.com/downloads/nagi ... izards.pdf

Please update us if you have any difficulties or issues and we would more more than glad to assist you.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
diazmerce
Posts: 4
Joined: Thu Dec 09, 2010 3:38 pm

Re: Monitor multiple url from same domain

Post by diazmerce »

Hi, thank you very much!
We could configure URLs to be monitored successfully using the wizard.

But we have the next problem using the Wizard to add website (not url): if we check "Use SSL:" option when we add a Domain name it raises the next error:
Critical
CRITICAL - Can not make SSL connection
3701: error: 140770FC: SSL routines: SSL23_GET_SERVER_HELLO: unknown protocol: s23_clnt.c: 588:
HTTP CRITICAL - Error on Receive

It only happens when we configure a Website by Wizard, not when we configure a Url by wizard.
Can you tell me what might be wrong and how to fix it?

Thanks.
Regards
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Monitor multiple url from same domain

Post by mguthrie »

If you need to tweak the service check after it's been set up by the wizard you can access the settings by going to the Core Config Manager->Services page. Filter the results to show your desired host and take a look at the check command that's being used. There's probably one of the $ARGS$ in the check command that isn't quite right.

You can test different arguments and addresses from the command line like the following example.

Code: Select all

cd /usr/local/nagios/libexec
./check_http -H <yourhostaddress>  <test your arguments here>
Locked