URL monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

URL monitoring

Post by RIDS_I2MP »

Hi Team,

We want to monitor a URL(hosted on one server) from Nagios server. We are receiving below message:
output from Nagios end.PNG
But we are receiving below output for traceroute command:
traceroute.PNG
Kindly suggest
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: URL monitoring

Post by bwallace »

Looks like you have you the -H and -I fields flipped, where the hostname is where the IP address is supposed to be, and vice versa. Here is the proper formatting:

Code: Select all

./check_http -H nagios .com -f ok -I 45.33.1.79 -u /products/nagios-xi/ -S
HTTP OK: HTTP/1.1 200 OK - 79990 bytes in 1.234 second response time |time=1.234366s;;;0.000000 size=79990B;;;0
- you should not have to specify -p 80 since check_http will use :80 by default (refer to check_http man page, link below).
- In my example above I had to use -S since it redirects to https

http://nagios-plugins.org/doc/man/check_http.html
Be sure to check out the Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: URL monitoring

Post by RIDS_I2MP »

Hi Team,

Below attached is the exact thing which we are checking.

We have done the configurations using "Website URL" monitoring wizard.

And as mentioned before we are not able to "traceroute" command the server on which URL is hosted, is it so that because of this we are receiving the attached error?
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: URL monitoring

Post by rkennedy »

What is the full output of curl workbench.ricoh-ecommerce-utility.com -v from the Nagios machine?
Former Nagios Employee
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: URL monitoring

Post by RIDS_I2MP »

Hi Team,

Please find the attached snapshot of the curl command output.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: URL monitoring

Post by rkennedy »

If the nagios machine can't resolve the DNS of the URL you're looking to check, then it's going to come back critical.
Former Nagios Employee
Locked