HI Antony

Here is what I have conf file

object Host "mysite" {
   address = "173.212.216.101"
   check_command = "http"
   vars.http_vhosts["www.umardraz.com"] = {
      http_uri = "/"
      http_ssl = "true"
   }
}

I hope this time google will not do anything wrong with format

BR

On Thu, Jun 22, 2017 at 5:29 PM, Antony Stone <
antony.st...@icinga.open.source.it> wrote:

> On Thursday 22 June 2017 at 14:20:59, Umar Draz wrote:
>
> > No Luck,
> >
> > I think there is something else that is not documented or missing.
>
> Is the way your Host definition is quoted below *exactly* what you have on
> your
> system?
>
> I'm very puzzled by the entries of "http://mysite.com/"; and I'm wondering
> if
> this is something bizarre introduced by your mail client when posting to
> the
> list, or do you really have that in you Icinga config?
>
>
> Antony.
>
> > On Thu, Jun 22, 2017 at 4:56 PM, <mweinberg...@email.de> wrote:
> > > Please try http_ssl = true instead of "1" and test it again.
> > >
> > > BR,
> > > Marcel
> > > *Gesendet:* Donnerstag, 22. Juni 2017 um 13:50 Uhr
> > > *Von:* "Umar Draz" <unix...@gmail.com>
> > > *An:* "Icinga User's Corner" <icinga-users@lists.icinga.org>
> > > *Betreff:* Re: [icinga-users] https url monitoring failed
> > > Hi
> > >
> > > I think something bad with Icinga look at that my configuration for
> https
> > > monitor
> > >
> > > object Host "mysite <http://mysite.com/>" {
> > >
> > >     address = "umardraz.com <http://mysite.com/>"
> > >     check_command = "http"
> > >     vars.http_vhosts["wwwumardraz.com:443 <http://www.mysite.com:443/
> >"]
> > >
> > > = {
> > >
> > >         http_uri = "/"
> > >         http_ssl = "1"
> > >
> > >     }
> > >
> > >  }
> > >
> > > But in host problems I saw this
> > >
> > > connect to address umardraz.com and port 80: connection refused.
> > > HTTP CRITICAL - Unable to open TCP socket
> > >
> > > Why icinga still hitting http?
> > >
> > > Regards
>
> --
> The words "e pluribus unum" on the Great Seal of the United States are
> from a
> poem by Virgil entitled "Moretum", which is about cheese and garlic salad
> dressing.
>
>                                                    Please reply to the
> list;
>                                                          please *don't* CC
> me.
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to