Re: [Nagios-users] check http port 80 warning on a site that actually exists.

2011-08-01 Thread Jonathan Aquilina
The site is www.ludicash.com

nagios is returning the following

HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second 
response time

Could it be though that they might be using a nonstandard web port?

On 31/07/2011 03:19, Frank Bulk wrote:
 Can you share the URL?

 Frank

 -Original Message-
 From: Jonathan Aquilina [mailto:eagles051...@gmail.com]
 Sent: Monday, July 25, 2011 7:18 AM
 To: Nagios Users List
 Subject: [Nagios-users] check http port 80 warning on a site that actually
 exists.

 I am workign with a site which i have being monitored by nagios, and for
 some reason when check_http runs it gets a 404, but if you go to the
 domain the page exists and the site exists.

 Would this be a false positive, and if so how can i fix it.

 Also another interesting matter is that when i try and run the script to
 check http from command line it times out even after increasing the time
 out timefrom the default 10 seconds to 20 for instance. Any ideas would
 be greatly appreciated.

 
 --
 Storage Efficiency Calculator
 This modeling tool is based on patent-pending intellectual property that
 has been used successfully in hundreds of IBM storage optimization engage-
 ments, worldwide.  Store less, Store more with what you own, Move data to
 the right place. Try It Now!
 http://www.accelacomm.com/jaw/sfnl/114/51427378/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check http port 80 warning on a site that actually exists.

2011-08-01 Thread Jonathan Aquilina
Would you say this is a false positive?

On 01/08/2011 10:48, Henti Smith wrote:
 It looks like this is not a HTTP server.

 A HTTP/HEAD/1.0 request returns :


 HEAD / HTTP/1.0

 HTTP/1.1 404 Not Found
 Content-Length: 315
 Content-Type: text/html; charset=us-ascii
 Server: Microsoft-HTTPAPI/2.0
 Date: Mon, 01 Aug 2011 08:36:34 GMT
 Connection: close

  From : http://msdn.microsoft.com/en-us/library/aa364510(v=vs.85).aspx

 The HTTP Server API enables applications to communicate over HTTP
 without using Microsoft Internet Information Server (IIS).
 Applications can register to receive HTTP requests for particular
 URLs, receive HTTP requests, and send HTTP responses. The HTTP Server
 API includes SSL support so that applications can exchange data over
 secure HTTP connections without IIS. It is also designed to work with
 I/O completion ports

 Hence it's not giving a valid response to a HTTP/1.0 request and the
 plugin returns 404 Not found.

 possibly use a tcp check as this is not a HTTP server ?
 On Mon, Aug 1, 2011 at 8:27 AM, Jonathan Aquilina
 eagles051...@gmail.com  wrote:
 The site is www.ludicash.com

 nagios is returning the following

 HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second
 response time

 Could it be though that they might be using a nonstandard web port?

 On 31/07/2011 03:19, Frank Bulk wrote:
 Can you share the URL?

 Frank

 -Original Message-
 From: Jonathan Aquilina [mailto:eagles051...@gmail.com]
 Sent: Monday, July 25, 2011 7:18 AM
 To: Nagios Users List
 Subject: [Nagios-users] check http port 80 warning on a site that actually
 exists.

 I am workign with a site which i have being monitored by nagios, and for
 some reason when check_http runs it gets a 404, but if you go to the
 domain the page exists and the site exists.

 Would this be a false positive, and if so how can i fix it.

 Also another interesting matter is that when i try and run the script to
 check http from command line it times out even after increasing the time
 out timefrom the default 10 seconds to 20 for instance. Any ideas would
 be greatly appreciated.

 
 --
 Storage Efficiency Calculator
 This modeling tool is based on patent-pending intellectual property that
 has been used successfully in hundreds of IBM storage optimization engage-
 ments, worldwide.  Store less, Store more with what you own, Move data to
 the right place. Try It Now!
 http://www.accelacomm.com/jaw/sfnl/114/51427378/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when 
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.

Re: [Nagios-users] check http port 80 warning on a site that actually exists.

2011-08-01 Thread Pete Dewell
My guess is that the server is possibly set up to always respond with a 
404 on the IP address.

check_http -H www.ludicash.com
check_http -H www.ludicash.com -S

both return OK.

If you set up your host definition with the FQDN in the address field 
rather than the IP address, it should work OK. I do this on several OWA 
servers/certificates that I monitor, and haven't had any problems so far.

Pete Dewell

On 01/08/2011 09:48, Henti Smith wrote:
 It looks like this is not a HTTP server.

 A HTTP/HEAD/1.0 request returns :


 HEAD / HTTP/1.0

 HTTP/1.1 404 Not Found
 Content-Length: 315
 Content-Type: text/html; charset=us-ascii
 Server: Microsoft-HTTPAPI/2.0
 Date: Mon, 01 Aug 2011 08:36:34 GMT
 Connection: close

 From : http://msdn.microsoft.com/en-us/library/aa364510(v=vs.85).aspx

 The HTTP Server API enables applications to communicate over HTTP
 without using Microsoft Internet Information Server (IIS).
 Applications can register to receive HTTP requests for particular
 URLs, receive HTTP requests, and send HTTP responses. The HTTP Server
 API includes SSL support so that applications can exchange data over
 secure HTTP connections without IIS. It is also designed to work with
 I/O completion ports

 Hence it's not giving a valid response to a HTTP/1.0 request and the
 plugin returns 404 Not found.

 possibly use a tcp check as this is not a HTTP server ?
 On Mon, Aug 1, 2011 at 8:27 AM, Jonathan Aquilina
 eagles051...@gmail.com  wrote:
 The site is www.ludicash.com

 nagios is returning the following

 HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second
 response time

 Could it be though that they might be using a nonstandard web port?

 On 31/07/2011 03:19, Frank Bulk wrote:
 Can you share the URL?

 Frank

 -Original Message-
 From: Jonathan Aquilina [mailto:eagles051...@gmail.com]
 Sent: Monday, July 25, 2011 7:18 AM
 To: Nagios Users List
 Subject: [Nagios-users] check http port 80 warning on a site that actually
 exists.

 I am workign with a site which i have being monitored by nagios, and for
 some reason when check_http runs it gets a 404, but if you go to the
 domain the page exists and the site exists.

 Would this be a false positive, and if so how can i fix it.

 Also another interesting matter is that when i try and run the script to
 check http from command line it times out even after increasing the time
 out timefrom the default 10 seconds to 20 for instance. Any ideas would
 be greatly appreciated.

 
 --
 Storage Efficiency Calculator
 This modeling tool is based on patent-pending intellectual property that
 has been used successfully in hundreds of IBM storage optimization engage-
 ments, worldwide.  Store less, Store more with what you own, Move data to
 the right place. Try It Now!
 http://www.accelacomm.com/jaw/sfnl/114/51427378/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when 
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS 

Re: [Nagios-users] check http port 80 warning on a site that actually exists.

2011-08-01 Thread Henti Smith
On Mon, Aug 1, 2011 at 10:58 AM, Jonathan Aquilina
eagles051...@gmail.com wrote:
 Would you say this is a false positive?

No. It's a positive response to your check. The check is a HTTP
check, and the server is not a responding with a valid HTTP response,
hence you need to find a different way of checking it.

Henti

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check http port 80 warning on a site that actually exists.

2011-07-30 Thread Frank Bulk
Can you share the URL?

Frank

-Original Message-
From: Jonathan Aquilina [mailto:eagles051...@gmail.com] 
Sent: Monday, July 25, 2011 7:18 AM
To: Nagios Users List
Subject: [Nagios-users] check http port 80 warning on a site that actually
exists.

I am workign with a site which i have being monitored by nagios, and for 
some reason when check_http runs it gets a 404, but if you go to the 
domain the page exists and the site exists.

Would this be a false positive, and if so how can i fix it.

Also another interesting matter is that when i try and run the script to 
check http from command line it times out even after increasing the time 
out timefrom the default 10 seconds to 20 for instance. Any ideas would 
be greatly appreciated.


--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now!
http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null