Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions codebundles/aws-eks-health/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
Check EKS Fargate Cluster Health Status
Check EKS Fargate Cluster Health Status in AWS Region `${AWS_REGION}`
[Documentation] This script checks the health status of an Amazon EKS Fargate cluster.
[Tags] EKS Fargate Cluster Health AWS Kubernetes Pods Nodes
[Tags] EKS Fargate Cluster Health AWS Kubernetes Pods Nodes access:read-only
${process}= RW.CLI.Run Bash File check_eks_fargate_cluster_health_status.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand All @@ -35,9 +35,9 @@ Check EKS Fargate Cluster Health Status
END
RW.Core.Add Pre To Report ${process.stdout}

Check EKS Cluster Health Status
Check Amazon EKS Cluster Health Status in AWS Region `${AWS_REGION}`
[Documentation] This script checks the health status of an Amazon EKS cluster.
[Tags] EKS Cluster Health AWS Kubernetes Pods Nodes
[Tags] EKS Cluster Health AWS Kubernetes Pods Nodes access:read-only
${process}= RW.CLI.Run Bash File check_eks_cluster_health.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand All @@ -54,9 +54,9 @@ Check EKS Cluster Health Status
END
RW.Core.Add Pre To Report ${process.stdout}

List EKS Cluster Metrics
Monitor EKS Cluster Health in AWS Region `${AWS_REGION}`
[Documentation] This bash script is designed to monitor the health and status of an Amazon EKS cluster.
[Tags] AWS EKS Fargate Bash Script Node Health
[Tags] AWS EKS Fargate Bash Script Node Health access:read-only
${process}= RW.CLI.Run Bash File list_eks_fargate_metrics.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand Down
2 changes: 1 addition & 1 deletion codebundles/aws-eks-health/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
Check EKS Cluster Health Status
Check Amazon EKS Cluster Health Status in AWS Region `${AWS_REGION}`
[Documentation] This script checks the health status of an Amazon EKS cluster.
[Tags] EKS Cluster Health AWS Kubernetes Pods Nodes
${process}= RW.CLI.Run Bash File check_eks_cluster_health.sh
Expand Down
4 changes: 2 additions & 2 deletions codebundles/aws-eks-node-reboot/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Suite Setup Suite Initialization


*** Tasks ***
Check EKS Nodegroup Status
Check EKS Nodegroup Status in `${EKS_CLUSTER_NAME}`
[Documentation] Performs a check on a given cluster's nodegroup, raising an issue if the status of the nodegroup is not healthy.
[Tags] aws eks node group status
[Tags] aws eks node group status access:read-only
${node_state}= RW.CLI.Run Cli
... cmd=${AWS_ASSUME_ROLE_CMD} aws eks describe-nodegroup --cluster-name ${EKS_CLUSTER_NAME} --nodegroup-name ${EKS_NODEGROUP} --output json
... target_service=${AWS_SERVICE}
Expand Down
4 changes: 2 additions & 2 deletions codebundles/aws-elasticache-redis-health/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
Scan AWS Elasticache Redis Status
Scan AWS Elasticache Redis Status in AWS Region `${AWS_REGION}`
[Documentation] Checks the high level metrics and status of the elasticache redis instances in the region.
[Tags] AWS Elasticache configuration endpoint configuration
[Tags] AWS Elasticache configuration endpoint configuration access:read-only
${process}= RW.CLI.Run Bash File analyze_aws_elasticache_redis_metrics.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand Down
2 changes: 1 addition & 1 deletion codebundles/aws-elasticache-redis-health/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
Scan ElastiCaches
Scan ElastiCaches in AWS Region `${AWS_REGION}`
[Documentation] Performs a broad health scan of all Elasticache instances in the region.
[Tags] bash script AWS Elasticache Health
${process}= RW.CLI.Run Bash File redis_status_scan.sh
Expand Down
12 changes: 6 additions & 6 deletions codebundles/aws-lambda-health/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
List Lambda Versions and Runtimes
List Lambda Versions and Runtimes in AWS Region `${AWS_REGION}`
[Documentation] This script is designed to list all the versions and runtimes of a specified AWS Lambda function.
[Tags] AWS Lambda Versions Runtimes
[Tags] AWS Lambda Versions Runtimes access:read-only
${process}= RW.CLI.Run Bash File list_lambda_runtimes.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
... secret__AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
... secret__AWS_ROLE_ARN=${AWS_ROLE_ARN}
RW.Core.Add Pre To Report ${process.stdout}

Analyze AWS Lambda Invocation Errors
Analyze AWS Lambda Invocation Errors in Region `${AWS_REGION}`
[Documentation] This bash script is designed to analyze AWS Lambda Invocation Errors for a specified function within a specified region.
[Tags] AWS Lambda Error Analysis Invocation Errors CloudWatch Logs
[Tags] AWS Lambda Error Analysis Invocation Errors CloudWatch Logs access:read-only
${process}= RW.CLI.Run Bash File analyze_lambda_invocation_errors.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand All @@ -45,9 +45,9 @@ Analyze AWS Lambda Invocation Errors
... details=${process.stdout}
END

Monitor AWS Lambda Performance Metrics
Monitor AWS Lambda Performance Metrics in AWS Region `${AWS_REGION}`
[Documentation] This script is a bash utility for AWS Lambda functions the lists their notable metrics.
[Tags] AWS Lambda CloudWatch Logs Metrics
[Tags] AWS Lambda CloudWatch Logs Metrics access:read-only
${process}= RW.CLI.Run Bash File monitor_aws_lambda_performance_metrics.sh
... env=${env}
... secret__AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
Expand Down
2 changes: 1 addition & 1 deletion codebundles/aws-lambda-health/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Library Process
Suite Setup Suite Initialization

*** Tasks ***
Analyze AWS Lambda Invocation Errors
Analyze AWS Lambda Invocation Errors in Region `${AWS_REGION}`
[Documentation] This bash script is designed to analyze AWS Lambda Invocation Errors for a specified function within a specified region.
[Tags] AWS Lambda Error Analysis Invocation Errors CloudWatch Logs
${process}= RW.CLI.Run Bash File analyze_lambda_invocation_errors.sh
Expand Down
8 changes: 4 additions & 4 deletions codebundles/azure-aks-triage/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Suite Setup Suite Initialization
*** Tasks ***
Check for Resource Health Issues Affecting AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch a list of issues that might affect the AKS cluster
[Tags] aks config
[Tags] aks config access:read-only
${resource_health}= RW.CLI.Run Bash File
... bash_file=aks_resource_health.sh
... env=${env}
Expand Down Expand Up @@ -55,7 +55,7 @@ Check for Resource Health Issues Affecting AKS Cluster `${AKS_CLUSTER}` In Resou

Check Configuration Health of AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the config of the AKS cluster in azure
[Tags] AKS config
[Tags] AKS config access:read-only
${config}= RW.CLI.Run Bash File
... bash_file=aks_cluster_health.sh
... env=${env}
Expand Down Expand Up @@ -84,7 +84,7 @@ Check Configuration Health of AKS Cluster `${AKS_CLUSTER}` In Resource Group `${
END
Check Network Configuration of AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the network configuration, generating resource URLs and basic recommendations
[Tags] AKS config network route firewall
[Tags] AKS config network route firewall access:read-only
${network}= RW.CLI.Run Bash File
... bash_file=aks_network.sh
... env=${env}
Expand All @@ -95,7 +95,7 @@ Check Network Configuration of AKS Cluster `${AKS_CLUSTER}` In Resource Group `$

Fetch Activities for AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Gets the activities for the AKS cluster set and checks for errors
[Tags] AKS activities monitor events errors
[Tags] AKS activities monitor events errors access:read-only
${activites}= RW.CLI.Run Bash File
... bash_file=aks_activities.sh
... env=${env}
Expand Down
16 changes: 8 additions & 8 deletions codebundles/azure-appgateway-health/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Suite Setup Suite Initialization
*** Tasks ***
Check for Resource Health Issues Affecting Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch a list of issues that might affect the application gateway cluster
[Tags] aks config
[Tags] appgateway resourcehealth access:read-only
${resource_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_resource_health.sh
... env=${env}
Expand Down Expand Up @@ -63,7 +63,7 @@ Check for Resource Health Issues Affecting Application Gateway `${APP_GATEWAY_NA
END
Check Configuration Health of Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the details and health of the application gateway configuration
[Tags] appgateway logs tail
[Tags] appgateway logs tail access:read-only
${config_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_config_health.sh
... env=${env}
Expand Down Expand Up @@ -101,7 +101,7 @@ Check Configuration Health of Application Gateway `${APP_GATEWAY_NAME}` In Resou

Check Backend Pool Health for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the health of the application gateway backend pool members
[Tags] appgateway logs tail
[Tags] appgateway logs tail access:read-only
${backend_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_backend_health.sh
... env=${env}
Expand Down Expand Up @@ -139,7 +139,7 @@ Check Backend Pool Health for Application Gateway `${APP_GATEWAY_NAME}` In Resou

Fetch Log Analytics for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch log analytics for the application gateway
[Tags] appgateway logs analytics uri_errors requests ssl errors
[Tags] access:read-only appgateway logs analytics uri_errors requests ssl errors
${log_analytics}= RW.CLI.Run Bash File
... bash_file=app_gateway_log_analytics.sh
... env=${env}
Expand All @@ -165,7 +165,7 @@ Fetch Log Analytics for Application Gateway `${APP_GATEWAY_NAME}` In Resource Gr

Fetch Metrics for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch metrics for the application gateway
[Tags] appgateway metrics analytics
[Tags] access:read-only appgateway metrics analytics
${metrics}= RW.CLI.Run Bash File
... bash_file=app_gateway_metrics.sh
... env=${env}
Expand Down Expand Up @@ -209,7 +209,7 @@ Fetch Metrics for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `$

Check SSL Certificate Health for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch SSL certificates and validate expiry dates for Azure Application Gateway instances
[Tags] appgateway ssl expiry
[Tags] access:read-only appgateway ssl expiry
${ssl_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_ssl_certs.sh
... env=${env}
Expand Down Expand Up @@ -247,7 +247,7 @@ Check SSL Certificate Health for Application Gateway `${APP_GATEWAY_NAME}` In Re

Check Logs for Errors with Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Query log analytics workspace for common errors like IP mismatches or subnet issues
[Tags] appgateway logs network errors
[Tags] access:read-only appgateway logs network errors
${log_errors}= RW.CLI.Run Bash File
... bash_file=app_gateway_log_errors.sh
... env=${env}
Expand Down Expand Up @@ -285,7 +285,7 @@ Check Logs for Errors with Application Gateway `${APP_GATEWAY_NAME}` In Resource

List Related Azure Resources for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch a list of resources that are releated to the application gateway
[Tags] appgateway resources azure related
[Tags] access:read-only appgateway resources azure related
${resources}= RW.CLI.Run Bash File
... bash_file=app_gateway_related_resources.sh
... env=${env}
Expand Down
6 changes: 3 additions & 3 deletions codebundles/azure-appgateway-health/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Suite Setup Suite Initialization
*** Tasks ***
Check for Resource Health Issues Affecting Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch a list of issues that might affect the Application Gateway as reported from Azure.
[Tags] aks resource health service azure
[Tags] appgateway resource health service azure access:read-only
${resource_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_resource_health.sh
... env=${env}
Expand All @@ -38,7 +38,7 @@ Check for Resource Health Issues Affecting Application Gateway `${APP_GATEWAY_NA

Check Configuration Health of Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the config of the AKS cluster in azure
[Tags] AKS config
[Tags] appgateway config access:read-only
${config}= RW.CLI.Run Bash File
... bash_file=app_gateway_config_health.sh
... env=${env}
Expand All @@ -57,7 +57,7 @@ Check Configuration Health of Application Gateway `${APP_GATEWAY_NAME}` In Resou

Check Backend Pool Health for Application Gateway `${APP_GATEWAY_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the health of the application gateway backend pool members
[Tags] appservice logs tail
[Tags] appservice logs tail access:read-only
${config_health}= RW.CLI.Run Bash File
... bash_file=app_gateway_backend_health.sh
... env=${env}
Expand Down
18 changes: 9 additions & 9 deletions codebundles/azure-appservice-triage/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Suite Setup Suite Initialization
*** Tasks ***
Check for Resource Health Issues Affecting App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch a list of issues that might affect the APP Service as reported from Azure.
[Tags] aks resource health service azure
[Tags] aks resource health service azure access:read-only
${resource_health}= RW.CLI.Run Bash File
... bash_file=appservice_resource_health.sh
... env=${env}
Expand Down Expand Up @@ -53,9 +53,9 @@ Check for Resource Health Issues Affecting App Service `${APP_SERVICE_NAME}` In
END


Check App Service `${APP_SERVICE_NAME}` Health Check Metrics In Resource Group `${AZ_RESOURCE_GROUP}`
Check App Service `${APP_SERVICE_NAME}` Health in Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Checks the health status of a appservice workload.
[Tags]
[Tags] access:read-only appservice health
${health_check_metric}= RW.CLI.Run Bash File
... bash_file=appservice_health_metric.sh
... env=${env}
Expand Down Expand Up @@ -99,7 +99,7 @@ Check App Service `${APP_SERVICE_NAME}` Health Check Metrics In Resource Group `

Fetch App Service `${APP_SERVICE_NAME}` Utilization Metrics In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Reviews key metrics for the app service and generates a report
[Tags]
[Tags] access:read-only appservice utilization
${metric_health}= RW.CLI.Run Bash File
... bash_file=appservice_metric_health.sh
... env=${env}
Expand Down Expand Up @@ -135,7 +135,7 @@ Fetch App Service `${APP_SERVICE_NAME}` Utilization Metrics In Resource Group `$

Get App Service `${APP_SERVICE_NAME}` Logs In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch logs of appservice workload
[Tags] appservice logs tail
[Tags] appservice logs tail access:read-only
${logs}= RW.CLI.Run Bash File
... bash_file=appservice_logs.sh
... env=${env}
Expand All @@ -145,7 +145,7 @@ Get App Service `${APP_SERVICE_NAME}` Logs In Resource Group `${AZ_RESOURCE_GROU

Check Configuration Health of App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch the configuration health of the App Service
[Tags] appservice logs tail
[Tags] appservice logs tail access:read-only
${config_health}= RW.CLI.Run Bash File
... bash_file=appservice_config_health.sh
... env=${env}
Expand Down Expand Up @@ -174,7 +174,7 @@ Check Configuration Health of App Service `${APP_SERVICE_NAME}` In Resource Grou

Check Deployment Health of App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Fetch deployment health of the App Service
[Tags] appservice deployment
[Tags] appservice deployment access:read-only
${deployment_health}= RW.CLI.Run Bash File
... bash_file=appservice_deployment_health.sh
... env=${env}
Expand Down Expand Up @@ -203,7 +203,7 @@ Check Deployment Health of App Service `${APP_SERVICE_NAME}` In Resource Group `

Fetch App Service `${APP_SERVICE_NAME}` Activities In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Gets the events of appservice and checks for errors
[Tags] appservice monitor events errors
[Tags] appservice monitor events errors access:read-only
${activities}= RW.CLI.Run Bash File
... bash_file=appservice_activities.sh
... env=${env}
Expand All @@ -227,7 +227,7 @@ Fetch App Service `${APP_SERVICE_NAME}` Activities In Resource Group `${AZ_RESOU
END
Check Logs for Errors in App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
[Documentation] Gets the events of appservice and checks for errors
[Tags] appservice logs errors
[Tags] appservice logs errors access:read-only
${log_errors}= RW.CLI.Run Bash File
... bash_file=appservice_log_analysis.sh
... env=${env}
Expand Down
2 changes: 1 addition & 1 deletion codebundles/azure-appservice-triage/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Fetch App Service `${APP_SERVICE_NAME}` Activities In Resource Group `${AZ_RESOU
END
END

Generate App Service Health Score
Generate App Service Health Score for `${APP_SERVICE_NAME}` in resource group `${AZ_RESOURCE_GROUP}`
${app_service_health_score}= Evaluate (${appservice_resource_score} + ${app_service_health_check_score} + ${app_service_config_score} + ${app_service_activities_score} + ${app_service_deployment_score}) / 5
${health_score}= Convert to Number ${app_service_health_score} 2
RW.Core.Push Metric ${health_score}
Expand Down
1 change: 0 additions & 1 deletion codebundles/cli-test/meta.yaml

This file was deleted.

Loading