Skip to content

feat(providers): add Nagios provider#6445

Open
tszaks wants to merge 1 commit into
keephq:mainfrom
tszaks:nagios-provider
Open

feat(providers): add Nagios provider#6445
tszaks wants to merge 1 commit into
keephq:mainfrom
tszaks:nagios-provider

Conversation

@tszaks
Copy link
Copy Markdown

@tszaks tszaks commented May 11, 2026

Summary

Adds a Nagios provider to receive alerts from Nagios XI and Nagios Core.

Features

  • Webhook mode (Nagios Core and XI): Configure Nagios notification commands to POST JSON payloads to Keep endpoint
  • Pull mode (Nagios XI only): Keep can poll the Nagios XI REST API for active host/service problems

Implementation

  • Full documentation with example Nagios command definitions (see provider docstring)
  • Host and service notification handling
  • Severity/status mapping to Keep AlertSeverity/AlertStatus
  • SSL verification toggle for self-signed certs
  • 604 lines of comprehensive tests

Testing

  • All severity/status mappings covered
  • Timestamp parsing (Nagios long-date format + ISO-8601)
  • Webhook-only config (empty credentials)
  • Nagios XI API polling

Closes #3960

Adds support for Nagios XI and Nagios Core to push/pull alerts into Keep:

- Webhook mode: Nagios notification commands POST alerts to Keep
- Pull mode (XI only): Keep can poll the Nagios XI REST API for active problems

Includes:
- Full documentation with example Nagios command definitions
- Support for host and service alerts
- Severity/status mapping to Keep's AlertSeverity/AlertStatus
- 604 lines of tests with comprehensive coverage

Closes keephq#3960
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 11, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 11, 2026

CLA assistant check
All committers have signed the CLA.

@dosubot dosubot Bot added Feature A new feature Provider Providers related issues labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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