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

Provide an empty IfW-API-Template for older Icinga Versions #2776

Closed
Thomas-Gelf opened this issue Jul 18, 2023 · 2 comments
Closed

Provide an empty IfW-API-Template for older Icinga Versions #2776

Thomas-Gelf opened this issue Jul 18, 2023 · 2 comments
Assignees
Milestone

Comments

@Thomas-Gelf
Copy link
Contributor

Icinga for Windows 1.11 ships new Baskets, which would fail on older Icinga versions. To address this, we'll ship a fallback-template in our global zone.

@Thomas-Gelf Thomas-Gelf added this to the v1.11.0 milestone Jul 18, 2023
@Thomas-Gelf Thomas-Gelf self-assigned this Jul 18, 2023
@Thomas-Gelf
Copy link
Contributor Author

if (! globals.System || ! System.get_template || ! get_template(CheckCommand, "ifw-api-check-command")) {
  object CheckCommand "ifw-api" {
    import "plugin-check-command"
  }
}

@Al2Klimov
Copy link
Member

Icinga for Windows 1.11 ships new Baskets, which would fail on older Icinga versions.

Actually only if you alter them via Director IIRC. But yes, all this makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants