Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integrations: Add screenshot configs for monitoring integrations.

Niloth P1f4267f3e0b4
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 917bc4ab358..0ea3841c400 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 b5bb772f37c..6607f4037fd 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: