[Pkg-nagios-devel] Bug#494835: Bug#494835: nagios-plugins: check_http add , default http port to URL
Brian Stolz
brian at tecnobrat.com
Fri Jul 3 14:20:34 UTC 2009
Hi Jan,
On Wed, Jun 17, 2009 at 4:11 PM, Jan Wagner<waja at cyconet.org> wrote:
> Hi there,
>
> On Tuesday 02 June 2009, Bigot Adrien wrote:
>> I have the same issue and it's a very big problem for us.
>> You can se that :
>>
>> http://www.feedingthesapecosystem.com return a 200 OK
>> and
>> http://www.feedingthesapecosystem.com:80 return a 404 Not Found !
>>
>> Could you add a flag to not include the port number in the host ?
>
> if I understand you correctly, the problem should be fixed with the latest
> git version of nagios-plugins.
>
> unstable:
>
> waja at schuhkarton:~$ dpkg -l | grep nagios-plugins
> ii nagios-plugins-basic 1.4.12-5 Plugins for the nagios network monitoring an
> waja at schuhkarton:~$ /usr/lib/nagios/plugins/check_http -H www1.wowhead.com:80 -I www1.wowhead.com
> HTTP OK - HTTP/1.1 301 Moved Permanently - 0,566 second response time |time=0,565672s;;;0,000000 size=539B;;;0
> waja at schuhkarton:~$ /usr/lib/nagios/plugins/check_http -H www1.wowhead.com -I www1.wowhead.com
> HTTP OK - HTTP/1.1 301 Moved Permanently - 0,443 second response time |time=0,442510s;;;0,000000 size=539B;;;0
>
> a version compiles against latest git:
>
> waja at schuhkarton:~$ dpkg -l | grep nagios-plugins
> ii nagios-plugins-basic 1.4.13+git200906171200-1 Plugins for the nagios network monitoring an
> waja at schuhkarton:~$ /usr/lib/nagios/plugins/check_http -H www1.wowhead.com:80 -I www1.wowhead.com
> HTTP OK: HTTP/1.1 301 Moved Permanently - 539 bytes in 0.338 second response time |time=0.337850s;;;0.000000 size=539B;;;0
> waja at schuhkarton:~$ /usr/lib/nagios/plugins/check_http -H www1.wowhead.com -I www1.wowhead.com
> HTTP OK: HTTP/1.1 200 OK - 6537 bytes in 0.524 second response time |time=0.524306s;;;0.000000 size=6537B;;;0
>
> Can you confirm that this behavior fixes the problem your had?
>
> Thanks and with kind regards, Jan.
> --
> Never write mail to <waja at spamfalle.info>, you have been warned!
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
> Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
> ------END GEEK CODE BLOCK------
>
Yes, this resolves the bug I was experiencing perfectly.
--
- Brian
More information about the Pkg-nagios-devel
mailing list