Gotcha, so I did misunderstood the blacklist feature of icinga2. So that means if I want to hide the host/services from dashboard I will need to run "icinga2 node remove" command, maybe I will update the icinga2 documentation to make things more clear when I have a chance.
Thanks for the clarification Michael. Regards, Max On Fri, Mar 20, 2015 at 9:07 AM, Michael Friedrich < [email protected]> wrote: > Am 20.03.2015 um 14:02 schrieb Max Zhang: > > Yes, I have run the command "icinga2 node update-config" command again to > make sure, no more changes to be commited. > I also reload icinga2 process after I add the zone/host to blacklist. > > And my icinga2 blacklist items look like: > > icinga2 node blacklist list > Listing all blacklist entries: > blacklist filter for Node: 'xyz' Host: 'xyz' Service: '*'. > > What else have I missed? > > > So you've added a blacklist *after* adding the node and all of its > hosts/services. That requires manual removal of the desired hosts/services. > Blacklists only prevent future updates, but do not kill already added > objects. > > Kind regards, > Michael > > > > Thanks > Max > > > On Fri, Mar 20, 2015 at 3:33 AM, Michael Friedrich < > [email protected]> wrote: > >> Is your config uptodate? >> >> Details on the docs. >> >> Von meinem iPhone gesendet >> >> > Am 20.03.2015 um 01:26 schrieb Max Zhang <[email protected]>: >> > >> > >> > Has anyone used blacklist/whitelist feature? It doesn't seem to work >> for me. After adding zones/hosts to blacklist, I still can see them on >> Icingaweb2. Or did I misunderstand the blacklist functionality? >> > >> > Thank you, >> > Max >> > _______________________________________________ >> > icinga-users mailing list >> > [email protected] >> > https://lists.icinga.org/mailman/listinfo/icinga-users >> >> -- >> Michael Friedrich, DI (FH) >> Application Developer >> >> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg >> Tel: +49 911 92885-0 | Fax: +49 911 92885-77 >> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 >> http://www.netways.de | [email protected] >> >> ** CeBIT 2015 - 16.-20. März 2015 - http://www.netways.de/cebit ** >> ** OSDC 2015 - April - osdc.de ** >> ** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp ** >> ** OSBConf 2015 - September - osbconf.org ** >> _______________________________________________ >> icinga-users mailing list >> [email protected] >> https://lists.icinga.org/mailman/listinfo/icinga-users >> > > > > _______________________________________________ > icinga-users mailing > [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users > > > > -- > Michael Friedrich, DI (FH) > Application Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | [email protected] > > ** OSDC 2015 - April - osdc.de ** > ** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp ** > ** OSBConf 2015 - September - osbconf.org ** > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users > >
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
