Skip to main content

scheduling Scenario 3 — Monitor Status Page for Changes

Written by RTILA X Engineering Team

Intermediate ~6 min
Prerequisites: scheduling/1 scheduling/2

What You'll Learn

Configure time-based workflow triggers

Real-World Use Case

Automating weekly report generation

LIVE DEMO

Status Page Monitor

Extract service name, status, and uptime for each status card.

System Status

API Gateway Operational 99.98%
Database Operational 99.99%
CDN Operational 100.00%
Auth Service Operational 99.95%
Search Engine Degraded 98.41%
Notification Service Operational 99.97%
EXPECTED OUTPUT

Status Checks

id service status lastChecked uptime
1 API Gateway Operational 2025-01-15T10:30:00Z 99.98%
2 Database Operational 2025-01-15T10:31:00Z 99.99%
3 CDN Operational 2025-01-15T10:32:00Z 100.00%
4 Auth Service Operational 2025-01-15T10:33:00Z 99.95%
5 Search Engine Degraded 2025-01-15T10:34:00Z 98.41%
6 Notification Service Operational 2025-01-15T10:35:00Z 99.97%
RTILA X PROJECT JSON

RTILA X Automation Project

monitor-status-page.json
{
  "name": "Monitor_Status_Page",
  "settings": {
    "urls": [
      "https://learn.rtila.com/scenarios/scheduling/3"
    ]
  },
  "datasets": {
    "status_checks": {
      "item_selector": "css=.status-item",
      "properties": [
        {
          "name": "service",
          "type": "text",
          "selector": "css=.service-name"
        },
        {
          "name": "status",
          "type": "text",
          "selector": "css=.status-indicator"
        },
        {
          "name": "uptime",
          "type": "text",
          "selector": "css=.uptime-value"
        }
      ]
    }
  },
  "commands": [
    {
      "command": "extract_data",
      "params": {
        "dataset": "status_checks"
      }
    },
    {
      "command": "comment",
      "params": {
        "text": "Post-processing trigger chain checks extracted status_checks for non-Operational services"
      }
    }
  ]
}

Status page monitoring detects changes from the expected operational state. The script condition inspects the extracted dataset for any service that is not Operational.

Did you complete this scenario?

Ready to run this automation?

Copy the project JSON above, open RTILA X, create a new project, and paste it.

This scenario covers 1 RTILA X command and is referenced in 1 learning article.

Continue Learning

Was this helpful?