Hi Jan, On Wed, Jun 17, 2009 at 4:11 PM, Jan Wagner<w...@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: > > w...@schuhkarton:~$ dpkg -l | grep nagios-plugins > ii nagios-plugins-basic 1.4.12-5 Plugins for the nagios network monitoring an > w...@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 > w...@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: > > w...@schuhkarton:~$ dpkg -l | grep nagios-plugins > ii nagios-plugins-basic 1.4.13+git200906171200-1 Plugins for the nagios > network monitoring an > w...@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 > w...@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 <w...@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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org