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 <kai.nothdu...@rantzau.de> wrote: > 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 will never be checked and shows > always OK" > > } > > hth > Kai>>> On 06.10.2016 at 19:18, Michael Martinez <mwt...@gmail.com> > wrote: >> 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 <hasanak...@gmail.com> > wrote: >>> 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 <mwt...@gmail.com>: >>>> >>>> we need to exclude certain hosts based on AWS >>>> attributes (VpcId >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> icinga-users mailing list >>> icinga-users@lists.icinga.org >>> https://lists.icinga.org/mailman/listinfo/icinga-users >>> >> >> >> >> -- >> --- >> Michael Martinez >> http://www.michael--martinez.com >> _______________________________________________ >> 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 -- --- Michael Martinez http://www.michael--martinez.com _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users