From 1f4267f3e0b4c604abfe55abd9cd239296b14614 Mon Sep 17 00:00:00 2001 From: Niloth P <20315308+Niloth-p@users.noreply.github.com> Date: Wed, 30 Jul 2025 14:25:14 +0530 Subject: [PATCH] integrations: Add screenshot configs for monitoring integrations. that do not have fixtures. --- zerver/lib/integrations.py | 1 + zerver/webhooks/fixtureless_integrations.py | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py index 917bc4ab35..0ea3841c40 100644 --- a/zerver/lib/integrations.py +++ b/zerver/lib/integrations.py @@ -74,6 +74,7 @@ FIXTURELESS_INTEGRATIONS_WITH_SCREENSHOTS: list[str] = [ "jenkins", "mastodon", "mercurial", + "nagios", "notion", "openshift", "perforce", diff --git a/zerver/webhooks/fixtureless_integrations.py b/zerver/webhooks/fixtureless_integrations.py index b5bb772f37..6607f4037f 100644 --- a/zerver/webhooks/fixtureless_integrations.py +++ b/zerver/webhooks/fixtureless_integrations.py @@ -119,6 +119,15 @@ MERCURIAL = ScreenshotContent( """, ) +NAGIOS = ScreenshotContent( + topic="service Remote Load on myserver.example.com", + content="""**PROBLEM**: service is CRITICAL +~~~~ +CRITICAL - load average: 7.49, 8.20, 4.72 +~~~~ +""", +) + NOTION = ScreenshotContent( topic=f"{PROJECT_NAME} Release {VERSION_NUMBER}", content=f"""**{BO_NAME}** [commented]() on: