Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Zabbix alerts missing host name #6613

Copy link
Copy link

Description

@washosk
Issue body actions

Bug

Zabbix alerts often arrive without a host name attached, in both the polling and webhook-push paths of the Zabbix provider.

  • Polling (_get_alerts in keep/providers/zabbix_provider/zabbix_provider.py): the problem.get API call never requests host data (no selectHosts param), so pulled alerts have no host information at all.
  • Webhook push (_format_alert): the installed Zabbix script sends the host as host_name / host_ip (matching the parameter names configured in setup_webhook), but the code reads hostName / hostIp instead — these keys never exist in the payload. The primary source, service ({HOST.HOST}), can be empty for problems tied to multiple hosts, and the fallback then silently returns None due to this key mismatch.

Fix

See linked PR.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingSomething isn't workingProviderProviders related issuesProviders related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.