Skip to content

Commit

Permalink
Merge pull request #53 from heoelri/add-bastionhosts
Browse files Browse the repository at this point in the history
Add alerts for `Microsoft.Network/bastionHosts`
  • Loading branch information
JoeyBarnes authored Oct 25, 2023
2 parents f0e8957 + 0e96b13 commit 3608831
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
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

0 comments on commit 3608831

Please sign in to comment.