Re: [Nagios-users] check_http SSL cert. date format

2013-08-17 Thread William Leibzon
If you clone nagios-plugins then simply do pull request from a clean copy. Otherwise send a patch to this mail list and I'll commit it being as I'm the last one to work on certificate certificate check for check_http. On Sat, Aug 17, 2013 at 11:37 AM, Niall O Broin ni...@makalumedia.comwrote:

Re: [Nagios-users] check_http with regex on redirects

2013-08-02 Thread Justin T Pryzby
Try -f follow ? justinp@cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f [-b proxy_auth] [-f ok|warning|critcal|follow|sticky|stickyport] -f, --onredirect=ok|warning|critical|follow|sticky|stickyport On Fri, Aug 02, 2013 at 03:13:41PM -0400, james wrote: We were using an

Re: [Nagios-users] check_http with regex on redirects

2013-08-02 Thread james
Try -f follow ? justinp@cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f [-b proxy_auth] [-f ok|warning|critcal|follow|sticky|stickyport] -f, --onredirect=ok|warning|critical|follow|sticky|stickyport Looks like that will work, thank you!

Re: [Nagios-users] check_http with spaces problem

2013-05-09 Thread Claudio Kuenzler
Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H granma.gr -u http://granma.gr/index.html -R Web -w 10 -c 20 Name or service not known HTTP CRITICAL - Unable to open TCP socket You have to break up the -u argument. -u expects the path, not the complete URI. So in this

Re: [Nagios-users] check_http with spaces problem

2013-05-09 Thread Κοκμάδης Δημήτριος
Thank you for the answer, The problem doesn't seem to be at the url but at the -R option If I use -R Web the response is ok but if i use -R Web somethin it returns error! 2013/5/9 Claudio Kuenzler c...@claudiokuenzler.com Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H

Re: [Nagios-users] check_http with spaces problem

2013-05-09 Thread Claudio Kuenzler
If I use -R Web the response is ok but if i use -R Web somethin it returns error! Because the pattern needs to exist in the source code. ./check_http -H granma.gr -u /index.html -R Web somethin HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 4342 bytes in 0.126 second response time

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Sunil Sankar
Please put it within quotes , that should help On Sun, May 5, 2013 at 8:53 PM, Κοκμάδης Δημήτριος dkokma...@gmail.comwrote: Hi, I am trying to check multiple http sites, so i configure a bash script which create the service definition but i faced a problem when the expected string has

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Páll Guðjón Sigurðsson
Put your ARG in quotes. So it looks like this: $USER1$/check_http -H '$ARG1$' -s '$ARG2$' -w 10 -c 20 Then it will handle spaces. Alternatively, you can use custom variables to a check command that is more complex, but in return your service definitions will become much more readable.

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Κοκμάδης Δημήτριος
Thank you for the replies. I tried to use all these before asking! By the check_debug.sh Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H granma.gr -u http://granma.gr/index.html -R Web -w 10 -c 20 Name or service not known HTTP CRITICAL - Unable to open TCP socket If i

Re: [Nagios-users] check_http fails on Cisco ASA

2013-01-31 Thread Travis Runyard
Have you tried check_http -I ip -S The -H is for hostnames On Thu, Jan 31, 2013 at 8:35 PM, Frank Bulk frnk...@iname.com wrote: Does anyone have check_http working against the SSL VPN GUI interface of a Cisco ASA? Whenever I check it always closes, but wget and curl work fine:

Re: [Nagios-users] check_http fails on Cisco ASA

2013-01-31 Thread Frank Bulk
That was it – thanks! Frank From: Travis Runyard [mailto:travisruny...@gmail.com] Sent: Thursday, January 31, 2013 11:07 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails on Cisco ASA Have you tried check_http -I ip -S The -H is for hostnames On Thu, Jan 31

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-22 Thread Claudio Kuenzler
[mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-20 Thread Joerg Linge
@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-20 Thread Travis Runyard
but not the 5xx error ;-) any ideas? Regards, Jaap From: Joerg Linge [mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
Hello, Does anyone know why it gives me a 200 back? If you need more info, I will gladly provide it ;-) Thank you. Regards, Jaap On 11/16/12 11:54 AM, Jaap van Arragon j.vanarra...@lukkien.com wrote: Hello, I¹m trying to use the check_http plugin to verify if one of our website is

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Ryan Edwards
You said u are using it like so: Check: /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing. You prob only

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
Thank you for your reply. I¹ve tried the check without the ip adress option but it makes no difference. Any other ideas? Thanks. On 11/19/12 2:29 PM, Ryan Edwards wyi...@gmail.com wrote: You said u are using it like so:    Check:    /usr/local/nagios/libexec/check_http -I ip address -u

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge
Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header -u = relative url to fetch without protocol infos like http:// some examples check nagios.org OMD[gearman]:~/lib/nagios/plugins$

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
Hey Joerg, The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) any ideas? Regards, Jaap _ From: Joerg Linge [mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge
[mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
: Joerg Linge [mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Justin T Pryzby
This may be unrelated to the question of why it's exiting with a nonstandard, out of range exit status, but is port 83 really HTTP over SSL? It seems as if the plugin sent an ssl initiation, and the remote side closed the connection (perhaps because it wasn't ssl?). Later, the plugin tried to

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Andreas Ericsson
On 09/14/2012 08:09 PM, Mike Lindsey wrote: I'm typically used to seeing this kind of error code for a missing plugin, but I've got a device that is accepting tcp connections and then due to a local misconfiguration, immediately closing them. But rather than a normal critical I'm getting:

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Mike Lindsey
On 9/14/12 11:25 AM, Justin T Pryzby wrote: This may be unrelated to the question of why it's exiting with a nonstandard, out of range exit status, but is port 83 really HTTP over SSL? It seems as if the plugin sent an ssl initiation, and the remote side closed the connection (perhaps because

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
This should work, also with self-signed certs. Doing this in my Nagios config as well. Whats the check_http command you're launching? What's the error message? On Wed, Aug 15, 2012 at 4:15 PM, Masoud Tabrizi masoud.tabr...@gmail.comwrote: All, We are using version 4.1.13 for the check_http for

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread masoud . tabrizi
To: Nagios Users Listnagios-users@lists.sourceforge.net Reply-To: Nagios Users List nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_http and self signed certs -- Live Security Virtual Conference

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
On Wed, Aug 15, 2012 at 5:03 PM, masoud.tabr...@gmail.com wrote: Using -H url -I IP -s string -f follow and -p where applicable Timeout seems to be the issue yet the URLs are loading fine in less than a second, (-t is set to 45 seconds as well) Thanks Generally you can use -S and -p 443 for

Re: [Nagios-users] check_http

2012-06-15 Thread Leonardo Bacha Abrantes
Hey Travis! thank you so much my friend! it worked!! On Thu, Jun 14, 2012 at 7:28 PM, Travis Runyard travisruny...@gmail.comwrote: You can monitor the path of a website with the -u option. Here is an example: check_http -H mysite.com -u /tux -f follow You will probably want to use the -f

Re: [Nagios-users] check_http

2012-06-14 Thread Travis Runyard
You can monitor the path of a website with the -u option. Here is an example: check_http -H mysite.com -u /tux -f follow You will probably want to use the -f follow option if your website uses any kind of redirection method. ;-) Travis Runyard On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha

Re: [Nagios-users] check_http fails for two Sprint sites

2012-05-16 Thread Frank Bulk - iName.com
- From: Paul Dubuc [mailto:w...@paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnk...@iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed

Re: [Nagios-users] check_http script is not working

2012-05-09 Thread Claudio Kuenzler
Hello , ** ** I’m Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios. ** ** http://nagiosplugins.org/man/check_http (URL) = Reference ** ** Root# check_http -w 5 -c 10 --ssl -H www.verisign.com Name or service not

Re: [Nagios-users] check_http script is not working

2012-05-09 Thread Claudio Kuenzler
Jeez. I should drink a coffee before responding... ouch. The syntax is correct, as you see in my post I had a typo in the verisign domain name. # ./check_http -w 5 -c 10 --ssl -H www.verisign.com HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.830 second response time

Re: [Nagios-users] check_http script is not working

2012-05-08 Thread Bram Gillemon
Hi, Can you visit the url using lynx / curl / ..., your syntax is correct. So it looks like another problem. Kr, Bram On 08 May 2012, at 09:01, Sankar, Bheemarasetty wrote: Hello , I’m Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios.

Re: [Nagios-users] check_http issue

2012-03-12 Thread Claudio Kuenzler
I know this doesn't answer your questions, but did you give the check_ssl_cert plugin a try? https://svn.id.ethz.ch/nagios_plugins/check_ssl_cert/check_ssl_cert I'm using this plugin to check ssl certificates, not only on http but also tls On Mon, Mar 12, 2012 at 10:04 AM, Sunny Jaisinghani

Re: [Nagios-users] check_http issue

2012-03-12 Thread Jeffrey Watts
I wonder if it's an epoch thing... Are all of the certs that are failing ones in which the expiry year is 2038 or greater? Jeffrey. On Mon, Mar 12, 2012 at 4:04 AM, Sunny Jaisinghani sunny_jaisingh...@symantec.com wrote: Hello, I am using the check_http plugin for checking the SSL cert

Re: [Nagios-users] check_http 1.4.15

2012-03-01 Thread Claudio Kuenzler
Scott, Did you read my answer at all (Feb 27th)? You're looking for something that hasn't been implemented. Here again the post: The link you posted is a user-contributed patch for check_http, posted on the tracker on Jan 3rd 2012. Nagios Plugins v. 1.4.15 were released in July 2010 so you can

Re: [Nagios-users] check_http 1.4.15

2012-02-29 Thread Werner, Robert
Can you include the command line you are using and what you expect it to do? -- Robert G. Werner Oracle Apps Systems Administrator rwer...@pomwonderful.com 559.521.5089 From: Scott Ford [mailto:sm_f...@yahoo.com] Sent: Tuesday, February 28, 2012 12:03 PM To: nagios-users@lists.sourceforge.net

Re: [Nagios-users] check_http 1.4.15

2012-02-27 Thread Claudio Kuenzler
Hi Scott, The link you posted is a user-contributed patch for check_http, posted on the tracker on Jan 3rd 2012. Nagios Plugins v. 1.4.15 were released in July 2010 so you can be sure that this patch has not made it into 1.4.15. You have two options: - Wait and hope that this patch will make it

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-24 Thread Frank Bulk
...@paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnk...@iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-24 Thread Paul Dubuc
Frank Bulk wrote: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow'

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-23 Thread Joerg Linge
Hi Frank, your side does not respond to http requests OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net CRITICAL - Socket timeout after 10 seconds OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net CRITICAL - Socket timeout after 10 seconds HTTPS works well

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-23 Thread Frank Bulk
So if wget can follow redirects from insecure to secure sites, why can't check_http? Frank -Original Message- From: Joerg Linge [mailto:pitchf...@ederdrom.de] Sent: Thursday, February 23, 2012 11:40 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-23 Thread Joerg Linge
: Thursday, February 23, 2012 11:40 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Hi Frank, your side does not respond to http requests OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net CRITICAL - Socket timeout after 10 seconds

Re: [Nagios-users] check_http -L writes raw html (a href) but does not render link in browser

2011-11-15 Thread Kimberly McKinnis
Aha. Thank you muchly! On 11/9/11 9:40 PM, Joerg Linge pitchf...@ederdrom.de wrote: Am 09.11.2011 um 22:33 schrieb Kimberly McKinnis: I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a new check using check_http, but the -L isn't entirely doing what I'd expect. Do I

Re: [Nagios-users] check_http -L writes raw html (a href) but does not render link in browser

2011-11-09 Thread Joerg Linge
Am 09.11.2011 um 22:33 schrieb Kimberly McKinnis: I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a new check using check_http, but the -L isn't entirely doing what I'd expect. Do I need to set something else somewhere in Nagios to get browser renderable code? I've

Re: [Nagios-users] check_http results - interpreting error messages.

2011-11-02 Thread Holger Weiß
* Giles Coochey gi...@coochey.net [2011-11-02 09:09]: I am monitoring a website, and I sometimes get two types of error: One is: CRITICAL - Socket timeout after 10 seconds and the other is: HTTP CRITICAL - No data received from host What is the difference between the two errors? Is

Re: [Nagios-users] check_http and other response codes

2011-10-14 Thread Morty
On Thu, Oct 13, 2011 at 09:39:43AM +0200, Jörg Linge wrote: http://nagiosplugins.org/man/check_http Option -e -e, --expect=STRING Comma-delimited list of strings, at least one of them is expected in the first (status) line of the server response (default: HTTP/1.) If

Re: [Nagios-users] check_http and other response codes

2011-10-13 Thread Morty
On Wed, Oct 12, 2011 at 11:16:17PM -0500, Frank Bulk wrote: Isn't there some regex matching? There is. But it didn't help me in either case. check_http apparently does an implicit test to make sure it gets a valid response code such as 200. And the regex checking is in content, not headers or

Re: [Nagios-users] check_http and other response codes

2011-10-13 Thread Jörg Linge
Am 13.10.2011 um 09:18 schrieb Morty: On Wed, Oct 12, 2011 at 11:16:17PM -0500, Frank Bulk wrote: Isn't there some regex matching? There is. But it didn't help me in either case. check_http apparently does an implicit test to make sure it gets a valid response code such as 200. And the

Re: [Nagios-users] check_http and other response codes

2011-10-12 Thread Frank Bulk
Isn't there some regex matching? Frank -Original Message- From: Morty [mailto:morty+nag...@frakir.org] Sent: Wednesday, October 12, 2011 9:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http and other response codes On some of our apache servers, the normal

Re: [Nagios-users] check_http with multiple outcomes?

2011-08-09 Thread Dr. Ed Morbius
Terry: on 23:37 Mon 08 Aug, Terry Carmen (te...@cnysupport.com) wrote: Quoting Edward Morbius dredmorb...@gmail.com: When some things are going well and others aren't fully up to speed (slow database), we'll get a DATABASE_TEST_RAN_LONG, which isn't ideal, but at least for a few

Re: [Nagios-users] check_http with multiple outcomes?

2011-08-09 Thread Terry Carmen
Quoting Dr. Ed Morbius dredmorb...@gmail.com: Terry: on 23:37 Mon 08 Aug, Terry Carmen (te...@cnysupport.com) wrote: Quoting Edward Morbius dredmorb...@gmail.com: When some things are going well and others aren't fully up to speed (slow database), we'll get a DATABASE_TEST_RAN_LONG,

Re: [Nagios-users] check_http with multiple outcomes?

2011-08-08 Thread Terry Carmen
Quoting Edward Morbius dredmorb...@gmail.com: When some things are going well and others aren't fully up to speed (slow database), we'll get a DATABASE_TEST_RAN_LONG, which isn't ideal, but at least for a few occurances (n = 5) we can live with.  In particular, we DON'T want a single result

Re: [Nagios-users] check_http + headers

2011-07-29 Thread Gary Every
Try using something besides a ; to separate the user and userlogin or better yet encapsulate them in quotes??? 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' On Fri, Jul 29, 2011 at 6:35 AM, af.at.w...@gmail.com wrote: With cURL, I can successfully log into the website I ultimately want

Re: [Nagios-users] check_http + headers

2011-07-29 Thread af . at . work
Wrapping in quotes still made pushed the second value to another line. Cookie: AwarenessNETUserLogin_8800=04dDHmcJjn2vfcvP97i+z9yBGic0y4BIhNfDo8wN1fE= username=admin Can the ; be escaped? I can't pass anything else. On Fri, Jul 29, 2011 at 10:03 AM, Gary Every gev...@gmail.com wrote: Try using

Re: [Nagios-users] check_http + headers

2011-07-29 Thread Ton Voon
On 29 Jul 2011, at 14:35, af.at.w...@gmail.com wrote: I am trying to mimic this in Nagios with check_http like so: ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' -v You should use multiple -k to add

Re: [Nagios-users] check_http + headers

2011-07-29 Thread af . at . work
Per the Nagios doc, I also tried putting the ; in a $USERn$ variable passed that in my check but it still drops the second cookie value to another line. On Fri, Jul 29, 2011 at 10:14 AM, af.at.w...@gmail.com wrote: Wrapping in quotes still made pushed the second value to another line. Cookie:

Re: [Nagios-users] check_http + headers

2011-07-29 Thread af . at . work
I tried multiple -k parameters to add more headers with the same result. This is the output from Nagios with a 400 Bad Request status. I assume that is because the cookie is effectively broken. GET http://mywebsite.com/home.aspx HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15)

Re: [Nagios-users] check_http encrypted link

2011-05-09 Thread Mike Chesnut
On 05/09/2011 07:20 AM, Tristan Drinkwater wrote: I’m struggling to check a http link that’s encrypted. The full url works ok in a browser but I get ‘unable to open a TCP socket’ error when I run ‘check_http –H domain/encrypted link’ from the command line. I’ve also tried ‘check_http –H

Re: [Nagios-users] check_http and authentication

2011-01-20 Thread Edwin Zoeller
I am having the same type of problem but mine is that when I enter a UID/PWD and change it to test it is always successful. What am I doing wrong. -Original Message- From: stan [mailto:st...@panix.com] Sent: Thursday, January 20, 2011 8:45 AM To: nagios List Subject: [Nagios-users]

Re: [Nagios-users] check_http with auth issue

2011-01-20 Thread Ray Kiddy
On Jan 20, 2011, at 1:35 PM, stan wrote: Hi, We're having problems with Nagios3 (3.2.0) reporting 'HTTP WARNING HTTP/1.1 401 Unauthorized' for check_http queries to a several switched CDUs of the same type. All these CDUs have HTTP Server = enabled, Authentication= Basic. Running

Re: [Nagios-users] check_http requests - SSL Not available

2010-11-12 Thread Assaf Flatto
On 12/11/10 17:15, Kevin Davison wrote: I've been digging at this one for a while and not getting any closer to resolution. Has anyone else encountered problems with getting check_http to work with the --S/--ssl option? Nagios 3.2.1 running on a CentOS box. I have openssl and

Re: [Nagios-users] check_http requests - SSL Not available

2010-11-12 Thread Kevin Davison
@lists.sourceforge.net Subject: Re: [Nagios-users] check_http requests - SSL Not available On 12/11/10 17:15, Kevin Davison wrote: I've been digging at this one for a while and not getting any closer to resolution. Has anyone else encountered problems with getting check_http to work with the -S

Re: [Nagios-users] Check_http

2010-10-20 Thread Robert Wolfe
It doesn't look like you have check_http configured in this setup (unless I am totally blind and don't see it). Also, the other checks (like the checks for disk space, users, etc) should be run using nrpe on the remote host with nrpe returning that data back to Nagios (this is how I have it set

Re: [Nagios-users] Check_http

2010-10-20 Thread Jonathan Angliss
On 10/20/10 01:08, Rajesh Kumar wrote: Hi All I have configured Nagios Core in CentOS. I did remotehost(retpro) services of cpu, memory, user, ssh and ping also but unable to config check_http. How to configure remotehost http (url) and Notification Alert (If http

Re: [Nagios-users] check_http started failing on one monitor

2010-10-18 Thread Peters, Paul
Well it just started working again. I will see what I can find since it makes no sense. -Original Message- From: Peters, Paul Sent: Monday, October 18, 2010 11:51 AM To: Nagios Users List Subject: [Nagios-users] check_http started failing on one monitor I have a monitor that has been

Re: [Nagios-users] check_http (bogus) setup

2010-04-16 Thread Gerard Petersen
Dear Marc, Thanx for you elaborate feedback. The joke is somewhat on me, but more on that in a second. You're documentation is good and to the point! The configuration I used was a apt-get installed nagios3 on Ubuntu 9.10 which seems a recipe from a modern kitchen. I ofcourse totally agree

Re: [Nagios-users] check_http (bogus) setup

2010-04-15 Thread Marc Powell
On Apr 15, 2010, at 3:50 AM, Gerard Petersen wrote: Hi All, I've been testing with the check_http service. I always was under the assumption that the setup below would check www.example.com Why did you make this assumption? It's not documented to work like this. check_command

Re: [Nagios-users] check_http (bogus) setup

2010-04-15 Thread Morris, Patrick
Gerard Petersen wrote: Hi All, I've been testing with the check_http service. I always was under the assumption that the setup below would check www.example.com define service{ use generic-service host_name myhost1

Re: [Nagios-users] check_http issue

2010-04-08 Thread Assaf Flatto
Shashank Kamble wrote: Hello, I am newbie to Nagios. I successfully installed Nagios and its monitoring most of our windows and Linux servers. Currently, I am having issues with the one of the website we support for our client. I defined a host and also defined an http service to

Re: [Nagios-users] check_http issue

2010-04-08 Thread Shashank Kamble
Bingo, thanx Assaf. It worked. Cheers, Shashank On Thu, Apr 8, 2010 at 10:14 AM, Assaf Flatto nag...@flatto.net wrote: Shashank Kamble wrote: Hello, I am newbie to Nagios. I successfully installed Nagios and its monitoring most of our windows and Linux servers. Currently, I am

Re: [Nagios-users] check_http and proxy

2010-03-18 Thread Marc-André Doll
Hi and thank you all for your help, I tried check_http -H http://my.proxy -p proxy_port -u https://my.website -S -vvv And I got : CRITICAL - cannot make SSL connection 23041:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:583: GET https://my.website HTTP/1.0

Re: [Nagios-users] check_http and HTTP Basic Authentication

2010-03-18 Thread Marc Powell
On Mar 18, 2010, at 8:29 AM, Marc-André Doll wrote: Hi all, I'm trying to reach a website hosted on a IIS webserver and supervise it with check_http (from the nagios-plugins v1.4.13 bundle). This website asks for a Basic HTTP authentication, so I tried check_http -H 'my.server' -a

Re: [Nagios-users] check_http and HTTP Basic Authentication

2010-03-18 Thread Marc-André Doll
Le jeudi 18 mars 2010 à 09:39 -0500, Marc Powell a écrit : On Mar 18, 2010, at 8:29 AM, Marc-André Doll wrote: Hi all, I'm trying to reach a website hosted on a IIS webserver and supervise it with check_http (from the nagios-plugins v1.4.13 bundle). This website asks for a Basic

Re: [Nagios-users] check_http and proxy

2010-03-17 Thread komodo
Unfortunately, I have to access my application through HTTPS. So I tried with check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv And I obtained this message : GET https://my.website HTTP/1.0 User-Agent: check_http/v2053 (nagios-plugins 1.4.13) Connection: close

Re: [Nagios-users] check_http and proxy

2010-03-17 Thread Leo Stolk
Hi, You could try to use --ssl in the check. check_http --ssl -H my.proxy -p my_proxy_port -u http://my.website Greetings, Leo -Oorspronkelijk bericht- Van: Marc-André Doll [mailto:m...@b-care.net] Verzonden: woensdag 17 maart 2010 14:17 Aan: Nagios-Users Onderwerp: [Nagios-users]

Re: [Nagios-users] check_http and proxy

2010-03-17 Thread Frost, Mark {PBC}
this. Like, for instance if WWW::Mechanize would allow it either. I wish check_http did, though. Mark -Original Message- From: Leo Stolk [mailto:leo.st...@enovation.nl] Sent: Wednesday, March 17, 2010 10:34 AM To: Nagios Users List Subject: Re: [Nagios-users] check_http and proxy Hi, You

Re: [Nagios-users] check_http and proxy

2010-03-17 Thread Marc Powell
On Wed, Mar 17, 2010 at 8:16 AM, Marc-André Doll m...@b-care.net wrote: Hi list, I'm trying to check some web applications through a proxy with check_http (version 1.4.13). I googled it and found that, with version 1.4.8, it might be possible to try this (

Re: [Nagios-users] CHECK_HTTP odd behaviour

2010-02-18 Thread Marc Powell
On Feb 18, 2010, at 5:04 AM, Paul WILLIS PSE 55499 wrote: Clearly that whereas bash only needs $ and ` escaping within inverted commas nagios must have a larger list, including I would guess either the ; or the : Nope, not really. \, ! and $ are the only characters that may need escaping,

Re: [Nagios-users] CHECK_HTTP odd behaviour

2010-02-17 Thread Morris, Patrick
Paul WILLIS PSE 55499 wrote: I'm trying to run a check on a website we have that a) has a stupidly long generated path and b) insists it is available only to certain browers. If I run /usr/local/nagios/check_http -p 8000 -H some.host.co.uk -u

Re: [Nagios-users] check_http and xml

2010-01-22 Thread Marc Powell
On Jan 22, 2010, at 5:47 AM, Assaf Flatto wrote: Hello I am trying to verify the working of a web service which output is a xml content . I thought that using the check_http -s or -e will help me do the verifications by searching for a string in the xml however when trying the test

Re: [Nagios-users] check_http and xml

2010-01-22 Thread gmartin
If you look at the content of the returned data it appears your call is failing for a bad license key. Is that what you are tresting for? \\Greg On Fri, Jan 22, 2010 at 6:47 AM, Assaf Flatto nag...@flatto.net wrote: Hello I am trying to verify the working of a web service which output is

Re: [Nagios-users] check_http and xml

2010-01-22 Thread Assaf Flatto
Marc Powell wrote: On Jan 22, 2010, at 5:47 AM, Assaf Flatto wrote: Hello I am trying to verify the working of a web service which output is a xml content . I thought that using the check_http -s or -e will help me do the verifications by searching for a string in the xml however

Re: [Nagios-users] check_http checking with verbose output breaks performance data

2009-12-01 Thread Marcel
sorry for replying my own post. This particular application has it's query string separator as |, then the mangled perfdata. Is it possible to perfdata to parses only the last segment separated by | ? Thanks, On Tue, Dec 1, 2009 at 5:13 PM, Marcel mits...@gmail.com wrote: I've had a need of

Re: [Nagios-users] Check_http and or Check_url with A string

2009-09-11 Thread Jim Avery
2009/9/11 peter peters pater7...@gmail.com: Dear all, I want not only to see if a webserver in active but (hostname or IP and ping) I also so want to see if a Url is responding. This by checking if there is a string is on this Url. (page) The check_http plugin can check for a given string.

Re: [Nagios-users] Check_http and or Check_url with A string

2009-09-11 Thread Marc Powell
On Sep 11, 2009, at 2:05 AM, Jim Avery wrote: 2009/9/11 peter peters pater7...@gmail.com: This by checking if there is a string is on this Url. (page) The check_http plugin can check for a given string. Try running it at the command line with the --help option to see what it can do.

Re: [Nagios-users] check_http confusion / problem

2009-08-29 Thread David Dyer-Bennet
Jon Angliss wrote: On Fri, 28 Aug 2009 14:01:44 -0500, David Dyer-Bennet d...@dd-b.net wrote: [check_http questions] --help usually gives a whole bunch of extra information... Yes, that's where I got the information I had; it's what got me confused in the first place. In

Re: [Nagios-users] check_http and regular expressions

2009-08-28 Thread shadih rahman
Here is command line definition which works fine for what you are trying to achieve. define command{ command_namecheck_https_reverse command_line$USER1$/check_http -H $HOSTADDRESS$ -S -u $ARG1$ -r $ARG2$ -r $ARG3$ --invert-regex } On Thu, Aug 27, 2009 at 9:30

Re: [Nagios-users] check_http confusion / problem

2009-08-28 Thread jmoseley
No, it works - you have an '=' character after the '-e' argument. Leave that out or use expect= For more documentation: check_http --help James Moseley David Dyer-Bennet d...@dd-b.net wrote: [...@prcapp00 dev]$ /usr/lib/nagios/plugins/check_http --IP-address=192.168.5.3 -p 8075

Re: [Nagios-users] check_http confusion / problem

2009-08-28 Thread David Dyer-Bennet
On Fri, August 28, 2009 14:25, jmose...@corp.xanadoo.com wrote: No, it works - you have an '=' character after the '-e' argument. Leave that out or use expect= For more documentation: check_http --help That's where I found --expect= in the first place. All my tests showed it not working

Re: [Nagios-users] check_http confusion / problem

2009-08-28 Thread jmoseley
Not sure if regular expressions will work, but here's an example: [r...@plugins]# ./check_http -H www -e HTT HTTP OK HTTP/1.1 200 OK - 318 bytes in 0.004 seconds |time=0.004054s;;;0.00 size=318B;;;0 It finds the 'HTT' in the following status line: STATUS: HTTP/1.1 200 OK so it returns an

Re: [Nagios-users] check_http confusion / problem

2009-08-28 Thread Jon Angliss
On Fri, 28 Aug 2009 14:01:44 -0500, David Dyer-Bennet d...@dd-b.net wrote: Thanks to various list members for pointing me at various bits of documentation that I hadn't been able to find, which explain that commands can in fact take arguments, and that those and other useful things are called

Re: [Nagios-users] check_http and regular expressions

2009-08-27 Thread Masoud Tabrizi
, 2009 6:43 PM To: Nagios User list Subject: Re: [Nagios-users] check_http and regular expressions On Aug 26, 2009, at 3:20 PM, Masoud Tabrizi wrote: Perhaps I was not clear the first time around: Here is what I want to do: Search for the string ERROR If not found - return OK

Re: [Nagios-users] check_http and regular expressions

2009-08-27 Thread Morris, Patrick
On Thu, 27 Aug 2009, Masoud Tabrizi wrote: I am running the command as you suggested but it seems like there is something missing; what am I doing wrong? All commans are run from /usr/lib/nagios/plugins directory; /usr/lib/nagios/plugins/check_http -H x -u /sample/test.html -p 80

Re: [Nagios-users] check_http and regular expressions

2009-08-27 Thread Marc Powell
On Aug 27, 2009, at 5:27 PM, Masoud Tabrizi wrote: I am running the command as you suggested but it seems like there is something missing; what am I doing wrong? Nothing, you just don't know how nagios determines status. It's not the plugin text output, that's just for humans. Nagios

Re: [Nagios-users] check_http and regular expressions

2009-08-26 Thread Marc Powell
On Aug 26, 2009, at 2:49 PM, Masoud Tabrizi wrote: Hello All, I need to check on a http page and get an OK if that particular string is NOT present. Using check_http I would like to get an OK after checking on the http page if the matching string is not present on the page. Could

Re: [Nagios-users] check_http and regular expressions

2009-08-26 Thread Masoud Tabrizi
: [Nagios-users] check_http and regular expressions On Aug 26, 2009, at 2:49 PM, Masoud Tabrizi wrote: Hello All, I need to check on a http page and get an OK if that particular string is NOT present. Using check_http I would like to get an OK after checking on the http page if the matching

Re: [Nagios-users] check_http and regular expressions

2009-08-26 Thread Marc Powell
On Aug 26, 2009, at 3:20 PM, Masoud Tabrizi wrote: Perhaps I was not clear the first time around: Here is what I want to do: Search for the string ERROR If not found - return OK Else - return NOK Yes, you were clear and I understood. The solution I provided does that. I did the *exact*

Re: [Nagios-users] check_http --ssl

2009-06-12 Thread p1
PM To: p...@fhri.org Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_http --ssl On 6/11/09 7:58 PM, p...@fhri.org wrote: My check_http doesn't have SSL support: What am I missing? Try installing libssl-dev: apt-get install libssl-dev And compile

Re: [Nagios-users] check_http --ssl

2009-06-12 Thread Marc Powell
On Jun 12, 2009, at 11:33 AM, p...@fhri.org p...@fhri.org wrote: Thanks Mathieu and Jon, that package did the trick. Btw, can I just manually move one file (check_http) to the libexec dir after 'make' or does 'make install' do more than that? Yes, you can just copy the single file. --

  1   2   3   >