Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alerts for Microsoft.Network/bastionHosts #53

Merged
merged 4 commits into from
Oct 25, 2023
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
6 changes: 6 additions & 0 deletions services/Network/bastionHosts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Azure Bastion Host
geekdocCollapseSection: true
---

{{< alertList name="alertList">}}
54 changes: 54 additions & 0 deletions services/Network/bastionHosts/alerts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
- name: Bastion Communication Status
description: Communication status shows 1 if all communication is good and 0 if its bad.
type: Metric
verified: false
visible: false
properties:
metricName: pingmesh
metricNamespace: Microsoft.Network/bastionHosts
severity: 2
windowSize: PT5M
evaluationFrequency: PT5M
timeAggregation: Average
operator: LessThan
threshold: 1
criterionType: StaticThresholdCriterion
references:
- name: Supported metrics for microsoft.network/bastionHosts
urls: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-bastionhosts-metrics
- name: CPU Usage
description: CPU Usage stats.
type: Metric
verified: false
visible: false
properties:
metricName: usage_user
metricNamespace: Microsoft.Network/bastionHosts
severity: 3
windowSize: PT5M
evaluationFrequency: PT5M
timeAggregation: Average
operator: GreaterThan
threshold: 85
criterionType: StaticThresholdCriterion
references:
- name: Supported metrics for microsoft.network/bastionHosts
urls: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-bastionhosts-metrics
- name: Memory Usage
description: Memory Usage stats.
type: Metric
verified: false
visible: false
properties:
metricName: used
metricNamespace: Microsoft.Network/bastionHosts
severity: 3
windowSize: PT5M
evaluationFrequency: PT5M
timeAggregation: Average
operator: GreaterThan
threshold: 85
criterionType: StaticThresholdCriterion
references:
- name: Supported metrics for microsoft.network/bastionHosts
urls: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-bastionhosts-metrics