On 22.06.17 16:58, Umar Draz wrote:
Hi Gerald
This worked
object Host "mysite" {
import "generic-host"
address = "173.212.216.101"
vars.http_vhosts["www.umardraz.com <http://www.umardraz.com/>"] = {
http_uri = "/"
http_ssl = "true"
}
}
But, this is also a failed solution I have simply disabled ping on my
Don't "disable" pings. A host is supposed to answer to pings. Not
answering is a bad idea. It's in violation of the RFC.
server. now host again marked as down. because this "generic-host" doing
ping4
I want simply a website monitoring solution not these host, vost or ping
checking
I would not disable ping.
If you believe in things like "disabling pings", use either the dummy
check on the host object to make it always live. Or use the http check
on the host object and don't use the vars.http_vhosts...
-Gerald
BR
On Thu, Jun 22, 2017 at 7:24 PM, Antony Stone
<antony.st...@icinga.open.source.it
<mailto:antony.st...@icinga.open.source.it>> wrote:
On Thursday 22 June 2017 at 15:36:02, Umar Draz wrote:
> Please check all screenshots here
>
> https://www.umardraz.com/screen1.png
<https://www.umardraz.com/screen1.png>
> https://www.umardraz.com/screen2.png
<https://www.umardraz.com/screen2.png>
Copy and paste would have been sufficient :)
> https://www.umardraz.com/hosts-web.png
<https://www.umardraz.com/hosts-web.png>
This is not the "http" service check - this is a Host check, trying
to connect
on port 80 - that is quite independent of the HTTPS check we are
discussing.
> https://www.umardraz.com/service.png
<https://www.umardraz.com/service.png>
That shows that your HTTPS check is working correctly.
Tell us (copy'n'paste, please, rather than a screenshot...) the
output of:
icinga2 object list --name hostalive
Antony.
--
I bought a book about anti-gravity. The reviews say you can't put
it down.
Please reply to
the list;
please
*don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org <mailto:icinga-users@lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users
<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
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users