Monitoring websites
Monitoring websites
We are trying to monitor websites hosted on our client infrastructure with Private IP and pointed to external websites like faceboo, etc.. for promotions when we try to monitoring these websites the service DNS IP Match fails as the websites is resolved to a public IP against the private IP. Is there an option where we can chk the websites hosted on the private IP on client's servers directly.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Monitoring websites
Can you please explain with a little more detail. It sounds like your nagios server is local to you, and you are attempting to use a public page such as facebook to monitor ads there, hosted at a third location by your client. However you would like to specify your clients IP to use opposed to the dns name that is being resolved.
You should look at the man page for check_http plugin. When you specify an IP as an argument it can ignore the domain name also specified and look directly to the IP specified.
http://nagiosplugins.org/man/check_http
check_http -I 127.0.0.1 -H remote.domain .....
You should look at the man page for check_http plugin. When you specify an IP as an argument it can ignore the domain name also specified and look directly to the IP specified.
http://nagiosplugins.org/man/check_http
check_http -I 127.0.0.1 -H remote.domain .....
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Monitoring websites
Do we have any plugings which with check the response time of a webpage using basic authentication.
Re: Monitoring websites
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Monitoring websites
Thanks for the post, I will check above plugin today.
I have been using this plugin to check the response times of the websites :
http://exchange.nagios.org/directory/Pl ... se/details
However it fails for HTTPS sites with an error message "<url> doeasn't have any data", I have checked that these webpages do open up.
I have been using this plugin to check the response times of the websites :
http://exchange.nagios.org/directory/Pl ... se/details
However it fails for HTTPS sites with an error message "<url> doeasn't have any data", I have checked that these webpages do open up.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring websites
Let us know how the other plugin works, that error is able to be found in the plugin:
Looks like you probably cannot get a site's checksum with the "-s" flag if it is running SSL.
Code: Select all
if [ ! -s "$WGETOUTCKSUM" ]; then
OUTMSG="$URL does not contain any data"
STATUS=CRITICAL
output
fiRe: Monitoring websites
Hi,
The check_basicauth plugin works fine, but what we are really interested in is getting the response time of the website.
The check_basicauth plugin works fine, but what we are really interested in is getting the response time of the website.
Can this be bypassed in any way to get the response time for websites using SSL? or do we have any other plugin available to get those metricsif [ ! -s "$WGETOUTCKSUM" ]; then
OUTMSG="$URL does not contain any data"
STATUS=CRITICAL
output
fi
Looks like you probably cannot get a site's checksum with the "-s" flag if it is running SSL.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring websites
Well, if you are looking for a basic response time, your host's ping check will give you the RTA or "Round Trip Average." If you are trying to check response time of a certain action on the website, that is more into the realm of webtesting. The Web Transaction Monitoring Wizard can assist with that.
Re: Monitoring websites
we are monitoring a website which when typed on the web browser re-directs to a different page. Now when this original website is configured on nagios both the http and the host check return HTTP 500 error. Any pointers on what could have caused this?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Monitoring websites
I am not sure how well either of these plugins will work with redirects. However a 500 error is generated via your server, not the plugin. Have you looked into the apache error logs?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.