Skip to content

[Stack Monitoring] [Test Scenario] Out of the box alerting #98765

@simianhacker

Description

@simianhacker

Summary

Stack Monitoring provides a set of out-of-the-box alerts, created by simply loading the Stack Monitoring UI within Kibana. The default action for each alert is a server log and the action messaging is controlled by the Stack Monitoring UI code directly.

PRs

Original, and CPU alert: #68805
Disk usage alert: #75419
JVM memory usage alert: #79039
Missing monitoring data alert: #78208
Threadpool rejections alert: #79433

Testing

Creation

  • Ensure alerts are created once visiting the Stack Monitoring UI
  • Ensure a user with the minimum set of monitoring permissions is able to create and manage alerts
    • ⚠️ this requires extra permissions, that should be documented (and reflected in the test scenario)

Management

UX

Specific alerts

  • Ensure you can properly trigger and see the server log for the CPU usage alert
  • Ensure you can properly trigger and see the server log for the disk usage alert
  • Ensure you can properly trigger and see the server log for the jvm memory alert
  • Ensure you can properly trigger and see the server log for the missing monitoring data alert (Note: This alert is only concerned with Elasticsearch now and no longer looks at other stack products [Monitoring] Missing monitoring data alert firing for version upgrade and configuration changes for Kibana in Cloud #83309)
  • Ensure you can properly trigger and see the server log for both threadpool rejection alerts
    • 🤔 I was unable to create the conditions for this.

Information in reproducting legacy alerts -> #87377

  • Ensure you can properly trigger and see the server log for the legacy cluster health alert
  • Ensure you can properly trigger and see the server log for the legacy nodes change alert
  • Ensure you can properly trigger and see the server log for the legacy Elasticsearch version mismatch alert
  • Ensure you can properly trigger and see the server log for the legacy Kibana version mismatch alert
  • Ensure you can properly trigger and see the server log for the legacy Logstash version mismatch alert
  • Ensure you can properly trigger and see the server log for the legacy license expiration alert (This cannot be tested on cloud)
    • 🤔 I was unable to create the conditions for this.

Edge cases

Previous issue: #85841

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions