Skip to content

feat: add Nagios XI provider - #6500

Closed
Treasure520520 wants to merge 1 commit into
keephq:mainfrom
Treasure520520:bounty/3960-nagios-xi-provider
Closed

Treasure520520 wants to merge 1 commit into
keephq:mainfrom
Treasure520520:bounty/3960-nagios-xi-provider

Conversation

@Treasure520520

@Treasure520520 Treasure520520 commented May 16, 2026 •

Copy link
Copy Markdown

Fixes #3960

/claim #3960

Summary

Adds a Nagios XI provider using the REST API polling path requested in #3960.

This intentionally follows the BaseProvider/Centreon-style polling pattern instead of the webhook-only approach in #6492:

  • adds NagiosProvider with Nagios XI API key authentication
  • polls /nagiosxi/api/v1/objects/hoststatus and /nagiosxi/api/v1/objects/servicestatus
  • supports host_url configured either as the server root or the /nagiosxi base path
  • maps Nagios host and service state codes into Keep alert status/severity
  • marks acknowledged firing problems as ACKNOWLEDGED
  • adds provider docs, generated-style snippet, docs nav entry, and focused unit tests

Validation

  • python -m json.tool docs/mint.json >/dev/null
  • poetry run black --check keep/providers/nagios_provider/nagios_provider.py tests/test_nagios_provider.py
  • poetry run ruff check keep/providers/nagios_provider/nagios_provider.py tests/test_nagios_provider.py
  • poetry run python -m pytest tests/test_nagios_provider.py -q (5 passed; existing warnings only)
  • git diff --check

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 16, 2026
@dosubot dosubot Bot added Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues labels May 16, 2026
@shahargl

Copy link
Copy Markdown
Member

N/A

@shahargl shahargl closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🔌 Provider]: Nagios Provider

2 participants