Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #9964] icinga2 node update should not write config for blacklisted zones/host #3300

Closed
icinga-migration opened this issue Aug 19, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@icinga-migration
Copy link
Member

commented Aug 19, 2015

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9964

Created by henti on 2015-08-19 08:23:22 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2017-01-14 13:05:55 +00:00 (in Redmine)

Icinga Version: 2.3.8
Backport?: Not yet backported
Include in Changelog: 1

This looks like a possible regression of #8211 or at least an edge case.

I've blacklist two hosts on my setup while users do testing which involve changing dates on the hosts which causes issue on monitoring.

icinga2 node blacklist add --zone "*" --host "dev-qua-za-ff03.domain.com"
icinga2 node blacklist add --zone "*" --host "dev-qua-za-ff05.domain.com"

Check the blacklist is in place.

root@prd-qua-za-mon:/etc/icinga2# icinga2 node blacklist list
Listing all blacklist entries:
blacklist filter for Node: '*' Host: '*' Service: 'apt'.
blacklist filter for Node: '*' Host: '*' Service: 'ping6'.
blacklist filter for Node: '*' Host: '*' Service: 'ping4'.
blacklist filter for Node: '*' Host: '*' Service: 'cpu'.
blacklist filter for Node: '*' Host: 'dev-qua-za-ff03.domain.com' Service: ''.
blacklist filter for Node: '*' Host: 'dev-qua-za-ff05.domain.com' Service: ''.

Noticed the services addition. Not sure if this is correct.

icinga2 node update-config creates the host, endpoint and zone files

Adding host 'dev-qua-za-ff03.domain.com'
    check_command = "cluster-zone"
    import = [ "satellite-host" ]
Adding endpoint 'dev-qua-za-ff03.domain.com'
Adding zone 'dev-qua-za-ff03.domain.com'
    endpoints = [ "dev-qua-za-ff03.domain.com" ]
    parent = "master"
Adding host 'dev-qua-za-ff05.domain.com'
    check_command = "cluster-zone"
    import = [ "satellite-host" ]
Adding endpoint 'dev-qua-za-ff05.domain.com'
Adding zone 'dev-qua-za-ff05.domain.com'
    endpoints = [ "dev-qua-za-ff05.domain.com" ]
    parent = "master"

Parent Task: #13257

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 19, 2015

Updated by henti on 2015-08-19 09:02:42 +00:00

Switching to below command works :

icinga2 node blacklist add --zone "dev-qua-za-ff05.domain.com" --host '*'

henti wrote:

This looks like a possible regression of #8211 or at least an edge case.

I've blacklist two hosts on my setup while users do testing which involve changing dates on the hosts which causes issue on monitoring.

[...]

Check the blacklist is in place.

[...]

Noticed the services addition. Not sure if this is correct.

icinga2 node update-config creates the host, endpoint and zone files

[...]

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 18, 2016

Updated by mfriedrich on 2016-11-18 14:12:03 +00:00

  • Category set to CLI
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 18, 2016

Updated by mfriedrich on 2016-11-18 17:11:24 +00:00

  • Relates set to 13255
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2017

Updated by mfriedrich on 2017-01-14 13:05:55 +00:00

  • Parent Id set to 13257
@dnsmichi

This comment has been minimized.

Copy link
Member

commented Feb 2, 2017

Closing in favour of #4799.

@dnsmichi dnsmichi closed this Feb 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.