Page 1 of 1
Monitor multiple url from same domain
Posted: Thu Dec 09, 2010 4:34 pm
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.
Thank you
Re: Monitor multiple url from same domain
Posted: Fri Dec 10, 2010 2:17 pm
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?
Re: Monitor multiple url from same domain
Posted: Fri Dec 17, 2010 6:12 pm
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?
Re: Monitor multiple url from same domain
Posted: Mon Dec 20, 2010 7:10 pm
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.

Re: Monitor multiple url from same domain
Posted: Thu Dec 23, 2010 11:14 am
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

Re: Monitor multiple url from same domain
Posted: Thu Dec 23, 2010 3:48 pm
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.
Re: Monitor multiple url from same domain
Posted: Tue Dec 28, 2010 4:18 pm
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
Re: Monitor multiple url from same domain
Posted: Wed Dec 29, 2010 5:16 pm
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>