diff --git a/cloud/azure/virtual-machine/inputs.tf b/cloud/azure/virtual-machine/inputs.tf index e217570..eb4f855 100644 --- a/cloud/azure/virtual-machine/inputs.tf +++ b/cloud/azure/virtual-machine/inputs.tf @@ -191,4 +191,42 @@ variable "ram_reserved_threshold_critical" { default = 95 } +variable "filesystem_free_disk_space_low_enabled" { + description = "Flag to enable Virtual Machine status monitor" + type = string + default = "true" +} +variable "filesystem_free_disk_space_low_time_aggregator" { + description = "Monitor aggregator for Virtual Machine free disk space [available values: min, max or avg]" + type = string + default = "avg" +} + +variable "filesystem_free_disk_space_low_timeframe" { + description = "Monitor timeframe for Virtual Machine free disk space too low [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" + type = string + default = "last_15m" +} + +variable "filesystem_free_disk_space_low_threshold_critical" { + description = "Virtual Machine free disk space in percent (critical threshold)" + default = "5" +} + +variable "filesystem_free_disk_space_low_threshold_warning" { + description = "Virtual Machine free disk space in percent (warning threshold)" + default = "10" +} + +variable "filesystem_free_disk_space_low_extra_tags" { + description = "Extra tags for Virtual Machine free disk space monitor" + type = list(string) + default = [] +} + +variable "filesystem_free_disk_space_low_message" { + description = "Custom message for Virtual Machine CPU free disk space monitor" + type = string + default = "" +} diff --git a/cloud/azure/virtual-machine/monitors-virtual-machine.tf b/cloud/azure/virtual-machine/monitors-virtual-machine.tf index 8aa4aac..6304571 100644 --- a/cloud/azure/virtual-machine/monitors-virtual-machine.tf +++ b/cloud/azure/virtual-machine/monitors-virtual-machine.tf @@ -105,7 +105,7 @@ resource "datadog_monitor" "virtualmachine_ram_reserved" { type = "query alert" query = <