n9e-create-alert-rule

Generate monitoring alert rule configuration JSON for Prometheus, MySQL, Elasticsearch, and SQL data sources.

13.2k|1.8k|Updated Mar 3, 2020
One-click install
npx skills add https://github.com/ccfos/nightingale --skill n9e-create-alert-rule
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n9e-create-alert-rule
Source: https://github.com/ccfos/nightingale/tree/main/aiagent/skill/embedded/builtin/n9e-create-alert-rule
Command: npx skills add https://github.com/ccfos/nightingale --skill n9e-create-alert-rule

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to efficiently define and deploy alerting rules on the Nightingale monitoring platform, reducing manual configuration efforts.

Core Features & Use Cases

  • Unified Rule Creation: Supports both Prometheus-style and general SQL-based alert rules across multiple data sources.
  • Template-Based Configuration: Reads predefined data source documentation to guide rule setup, ensuring correctness.
  • Multi-Mode Operation: Handles simplified Prometheus queries and complex SQL rules, suitable for diverse monitoring scenarios.
  • Use Example: Quickly establish an alert for high CPU utilization on hosts or error logs in Elasticsearch without manual writing of complex queries.

Quick Start

Use the create-alert-rule skill to define a warning threshold alert for database query errors occurring in the last 5 minutes.

Frequently Asked Questions about n9e-create-alert-rule

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Nightingale alert rules for multiple data sources like Prometheus and Elasticsearch?

To create Nightingale alert rules, this skill reads your data source documentation and automatically generates the correct configuration JSON for Prometheus, MySQL, or Elasticsearch monitoring, streamlining deployment.

Can I use SQL queries to set up monitoring alerts on the Nightingale platform?

Yes, you can use SQL queries to configure alerts. The skill supports multi-mode operation, handling both simplified Prometheus queries and complex SQL-based rules for custom databases to ensure accurate monitoring.

How does the alert rule configuration process work without writing manual queries?

The alert rule configuration process works by reading predefined data source documentation to guide setup, automatically selecting the appropriate alert mode, and generating the required JSON configuration without manual query writing.

Do I need to manually select the alert mode when configuring Nightingale monitoring rules?

No, you do not need to manually select the alert mode. The skill automatically determines the appropriate alert mode based on your specific data source and query type to generate accurate configuration.

What is the best way to deploy error log alerts in Elasticsearch using Nightingale?

The best way to deploy Elasticsearch error log alerts is using this skill's template-based configuration, which reads data source documentation to guide setup and automatically generates the correct alerting JSON.