Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2008-03-21 Thread Josip Rodin
Hi, It's apparent that nobody is going to want to change the meaning of an existing command definition, as Sean noted. So, I concede that the applicable solution is the one where a new command is defined by the package's file. Call it check_http_with_host_name, that sounds straightforward enough?

Bug#423461: [Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-13 Thread sean finney
hey josip, On Sun, 2007-05-13 at 10:43 +0200, Josip Rodin wrote: > Like I said, in my case, the -H argument should simply be changed to use > $HOSTNAME$. okay, but sven seemed to have the concern that this might break stuff for other people. perhaps we could just create a new check similar to th

Bug#423461: [Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-13 Thread sean finney
hey josip! On Sat, 2007-05-12 at 16:51 +0200, Josip Rodin wrote: > > Well, it's obviously not - that would require me to specify the first > argument. I didn't spend time adding host names (as in FQDNs) into nagios > settings just so I have to repeat the whole thing again! :) i was under the imp

Bug#423461: [Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-13 Thread Josip Rodin
On Sun, May 13, 2007 at 10:34:04AM +0200, sean finney wrote: > On Sat, 2007-05-12 at 16:51 +0200, Josip Rodin wrote: > > Well, it's obviously not - that would require me to specify the first > > argument. I didn't spend time adding host names (as in FQDNs) into nagios > > settings just so I have to

Bug#423461: [Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-12 Thread Josip Rodin
On Sat, May 12, 2007 at 04:21:00PM +0200, Sven Velt wrote: > > Nevertheless, I think you should try changing the default to use either > > $HOSTNAME$ or $HOSTALIAS$, and see if there's fallout. > > > > If necessary, the fallback procedure would be to add a separate set of > > checkcommands which u

Bug#423461: [Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-12 Thread Sven Velt
Hio Josip! Am 2007-05-12, tippselte Josip Rodin: > On Sat, May 12, 2007 at 01:34:55AM +0200, Josip Rodin wrote: > > Package: nagios-plugins-basic > > > > Hi, > > > > The config file change provided in #292124 had a bug: it gave the IP address > > ($HOSTADDRESS$) to the check_https command in bo

Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-11 Thread Josip Rodin
On Sat, May 12, 2007 at 01:34:55AM +0200, Josip Rodin wrote: > Package: nagios-plugins-basic > > Hi, > > The config file change provided in #292124 had a bug: it gave the IP address > ($HOSTADDRESS$) to the check_https command in both the -I and -H parameters. > > Since the meaning of the -H par

Bug#423461: http.cfg/check_http flawed arguments (-H/-I confusion)

2007-05-11 Thread Josip Rodin
Package: nagios-plugins-basic Hi, The config file change provided in #292124 had a bug: it gave the IP address ($HOSTADDRESS$) to the check_https command in both the -I and -H parameters. Since the meaning of the -H parameter is to modify the Host: HTTP header, putting an IP address in it is fai