I would like to ignore them as if they didn't exist, as if Icinga did
not care to check their status. The reason is because my list of host
objects is imported automatically and it's a very large list. There's
a subset of hosts we don't want icinga to monitor, and it would be
easier for me to tell
Hi Michael,
so what do you mean with ignore? If it's showing OK, you can ignore the
host, don't you? If you don't use a check_command, what should be shown
in the Web-interface? Or do you want the hosts be hidden from the
Webinterface? How do you want to hide them? If from the GUI, how would
you r
Hi Kai,
Yes, I understand that. But a dummy check that always returns OK is
misleading. The hosts themselves may be Up, may be Down, but for a
particular subset of hosts we don't want to know either way. We would
rather ignore them.
On Fri, Oct 7, 2016 at 5:04 AM, Kai Nothdurft wrote:
> Hi Micha
Hi Michael,
I know, you wrote, that you don't want to assign a dummy check - but
why not? You could use the built-in "dummy"-check for this:
object Host "unchecked-host" {
import "generic-host"
check_command = "dummy"
vars.dummy_state = 0
vars.dummy_text = "This host
Hi Hasan, thanks for your reply. I should be more clear: I am actually
looking to ignore the Host check itself. What you've written works for
service checks only.
On Wed, Oct 5, 2016 at 10:26 AM, hasan akgöz wrote:
> Hello Michael,
>
> if you hostname or ip adress whatever is static you can use i
Hello Michael,
if you hostname or ip adress whatever is static you can use ignore keyword
follow like ;
apply Service "Service Name" {
...
assign where match("web*.example.org", host.name)
ignore where host.name
}
2016-10-05 19:51 GMT+03:00 Michael Martinez :
> we need to exclude certa
Any ideas? The reason I need this is that I have a script which
generates a list of "object Host" for our EC2 instances. This happens
automatically and we need to exclude certain hosts based on AWS
attributes (VpcId). However, I am unable to modify the script, so I
need a way to do this in Icinga2.
Is there a way to tell Icinga2 not to monitor a particular Host
object? To completely ignore it. Does putting it into Downtime achieve
this, or is there another way?
Thanks for your help!
--
---
Michael Martinez
http://www.michael--martinez.com
___
ici