On Thursday 22 June 2017 at 16:58:16, 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_uri = "/"
> http_ssl = "true"
> }
> }
>
> But, this is also a failed solution I have simply disabled ping on my
> 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
Aha, now you tell us :)
Add the following line to your Host definition, immediately after the "import"
line:
check_command = "dummy"
That will stop the Host check doing ping4 tests to your server.
Incidentally:
1. why do you want to disable ping on your server?
2. why don't you want Icinga to tell you if your server goes offline?
Antony.
--
The Magic Words are Squeamish Ossifrage.
Please reply to the list;
please *don't* CC me.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users