You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

662 lines
24 KiB

[SAI-OS-Performance_nix]
title = SAI:OS.Performance.nix
description = KPI base search for OS Performance of *Nix entities.
_owner = nobody
base_search = | mstats avg(cpu.idle) AS "cpu_idle" avg(cpu.wait) AS "cpu_io_wait" avg(load.shortterm) as "1m_system_load" avg(load.midterm) as "5m_system_load" avg(load.longterm) as "15m_system_load" avg(memory.free) as "memory_free" WHERE `itsi_entity_type_nix_metrics_indexes` by host span=30s | eval "cpu_active"=100-cpu_idle | eval "memory_used"=100-memory_free
metrics = [ \
{ \
"_key": "1m_system_load", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "1m_system_load", \
"title": "1 Minute Load Average", \
"unit": "" \
}, \
{ \
"_key": "15m_system_load", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "15m_system_load", \
"title": "15 Minute System Load", \
"unit": "" \
}, \
{ \
"_key": "5m_system_load", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "5m_system_load", \
"title": "5 Minute Sytem Load", \
"unit": "" \
}, \
{ \
"_key": "cpu_active", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "cpu_active", \
"title": "CPU Active %", \
"unit": "%" \
}, \
{ \
"_key": "cpu_io_wait", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "cpu_io_wait", \
"title": "IO Wait %", \
"unit": "%" \
}, \
{ \
"_key": "memory_free", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "memory_free", \
"title": "Memory Free %", \
"unit": "%" \
}, \
{ \
"_key": "df_used", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "df_used", \
"title": "Storage Used %", \
"unit": "%" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-OS-Performance_nix_disk]
title = SAI:OS.Performance.nix.disk
description = KPI base search for Disk Performance of *Nix entities.
_owner = nobody
base_search = | mstats max(disk.octets.read) as disk_bytes_read max(disk.octets.write) as disk_bytes_write max(disk.pending_operations) as "disk_queue_size" max(disk.io_time.weighted_io_time) as "disk_io_weighted" WHERE `itsi_entity_type_nix_metrics_indexes` AND disk!=dev_dm* by host,disk span=30s | eval host_dev = host . ":" . disk
metrics = [ \
{ \
"_key": "disk_bytes_read", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "disk_bytes_read", \
"title": "Disk bytes read per sec", \
"unit": "" \
}, \
{ \
"_key": "disk_bytes_write", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "disk_bytes_write", \
"title": "Disk bytes write per sec", \
"unit": "" \
}, \
{ \
"_key": "disk_io_weighted", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "disk_io_weighted", \
"title": "Disk I/O Weighted Time", \
"unit": "ms" \
}, \
{ \
"_key": "disk_queue_size", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "disk_queue_size", \
"title": "Disk Queue (Pending Operations)", \
"unit": "" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host_dev
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-OS-Performance_nix_disk_device]
title = SAI:OS.Performance.nix.disk_device
description = KPI base search for Disk Device Performance of *Nix entities.
_owner = nobody
base_search = | mstats min(df.free) as "df_free" max(df.used) as "df_used" WHERE `itsi_entity_type_nix_metrics_indexes` by host,device span=30s | eval host_dev = host . ":" . device
metrics = [ \
{ \
"_key": "df_free", \
"aggregate_statop": "min", \
"entity_statop": "min", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "df_free", \
"title": "Min Storage Free %", \
"unit": "" \
}, \
{ \
"_key": "df_used", \
"aggregate_statop": "max", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "df_used", \
"title": "Storage Used %", \
"unit": "%" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host_dev
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-OS-Performance_nix_network]
title = SAI:OS.Performance.nix.network
description = KPI base search for Network Performance of *Nix entities.
_owner = nobody
base_search = | mstats avg(interface.octets.rx) as "network_octets_rx" avg(interface.octets.tx) as "network_octets_tx" avg(interface.packets.rx) as "network_packets_rx" avg(interface.packets.tx) as "network_packets_tx" avg(interface.dropped.rx) as "network_packets_dropped_rx" avg(interface.dropped.tx) as "network_packets_dropped_tx" avg(interface.errors.rx) as "network_errors_rx" avg(interface.errors.tx) as "network_errors_tx" WHERE `itsi_entity_type_nix_metrics_indexes` AND interface!=lo by host,interface span=15s | eval host_dev = host . ":" . interface | eval "network_packets_total" = network_packets_rx + network_packets_tx | eval "network_packets_dropped_total" = network_packets_dropped_rx + network_packets_dropped_tx | eval "network_packets_dropped_perc" = network_packets_dropped_total/network_packets_total | eval "network_mbs_total" = (network_octets_rx + network_octets_tx)/1000000 | eval "network_errors_total" = network_errors_rx + network_errors_tx
metrics = [ \
{ \
"_key": "network_errors_total", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_errors_total", \
"title": "Network Errors", \
"unit": "" \
}, \
{ \
"_key": "network_octets_rx", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_octets_rx", \
"title": "Network Max octets RX per sec", \
"unit": "" \
}, \
{ \
"_key": "network_octets_tx", \
"aggregate_statop": "avg", \
"entity_statop": "max", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_octets_tx", \
"title": "Network Max octets TX per sec", \
"unit": "" \
}, \
{ \
"_key": "network_mbs_total", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_mbs_total", \
"title": "Network MB/s", \
"unit": "MB/s" \
}, \
{ \
"_key": "network_packets_dropped_perc", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "custom_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_packets_dropped_perc", \
"title": "Network Packet Drop %", \
"unit": "%" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host_dev
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-OS-Performance_Windows]
title = SAI:OS.Performance.Windows
description = KPI base search for OS Performance of Windows entities.
_owner = nobody
base_search = | mstats avg(Processor.%_Idle_Time) as "processor_idle_time" avg(Memory.%_Committed_Bytes_In_Use) as "pct_memory_in_use" avg(System.Processor_Queue_Length) as "system_processor_queue_length" WHERE `itsi_entity_type_windows_metrics_indexes` by host span=30s | eval "processor_active_time"=100-processor_idle_time
metrics = [ \
{ \
"_key": "memory_commited_bytes_in_use", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "pct_memory_in_use", \
"title": "Pct Memory Committed Bytes in Use", \
"unit": "%" \
}, \
{ \
"_key": "processor_active_time", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "processor_active_time", \
"title": "Processor Active Time", \
"unit": "%" \
}, \
{ \
"_key": "system_processor_queue_length", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "system_processor_queue_length", \
"title": "System Processor Queue Length", \
"unit": "" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-OS-Performance_Windows_Instance]
title = SAI:OS.Performance.Windows.instance
description = KPI base search for OS Instance Performance of Windows entities.
_owner = nobody
base_search = | mstats avg(LogicalDisk.%_Free_Space) as "logicaldisk_free_space" avg(PhysicalDisk.%_Disk_Read_Time) as "physicaldisk_read_time" avg(PhysicalDisk.%_Disk_Write_Time) as "physicaldisk_write_time" avg(Network_Interface.Packets_Received/sec) as "network_packets_received_per_second" avg(Network_Interface.Packets_Sent/sec) as "network_packets_sent_per_second" avg(Network_Interface.Bytes_Received/sec) as "network_bytes_received_per_second" avg(Network_Interface.Bytes_Sent/sec) as "network_bytes_sent_per_second" avg(Network_Interface.Packets_Outbound_Errors) as "network_packets_outbound_errors" WHERE `itsi_entity_type_windows_metrics_indexes` AND instance!=_Total by host,instance span=30s | eval host_dev=host . ":" . instance | eval "physicaldisk_total_time" = physicaldisk_read_time + physicaldisk_write_time | eval "network_packets_total_per_second" = network_packets_received_per_second + network_packets_sent_per_second | eval "network_mbs_total_per_second" = (network_bytes_received_per_second + network_bytes_sent_per_second)/1000000
metrics = [ \
{ \
"_key": "logicaldisk_free_space", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "logicaldisk_free_space", \
"title": "Logical Disk Free Space", \
"unit": "%" \
}, \
{ \
"_key": "network_mbs_total_per_second", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_mbs_total_per_second", \
"title": "Network MBs Total (Read/Write) Per Second", \
"unit": "" \
}, \
{ \
"_key": "network_packets_total_per_second", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "network_packets_total_per_second", \
"title": "Network Packets Total (Read/Write) Per Second", \
"unit": "" \
}, \
{ \
"_key": "physicaldisk_total_time", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "physicaldisk_total_time", \
"title": "Physical Disk Total Time (Read/Write)", \
"unit": "%" \
} \
]
alert_lag = 30
alert_period = 1
entity_alias_filtering_fields = host
entity_breakdown_id_fields = host_dev
entity_id_fields = host
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 1
source_itsi_da = itsi
[SAI-Cloud-Performance_AWS-EBS]
title = SAI:Cloud.Performance.AWS-EBS
description = KPI base search for Cloud Performance of AWS EBS entities.
_owner = nobody
base_search = | mstats min(AWS/EBS.BurstBalance) as "aws_ebs_burst_balance" avg(AWS/EBS.VolumeIdleTime) as "aws_ebs_volume_idle_time" avg(AWS/EBS.VolumeQueueLength) as "aws_ebs_volume_queue_length" avg(AWS/EBS.VolumeReadBytes) as "aws_ebs_volume_read_bytes" avg(AWS/EBS.VolumeWriteBytes) as "aws_ebs_volume_write_bytes" avg(AWS/EBS.VolumeReadOps) as "aws_ebs_volume_read_ops" avg(AWS/EBS.VolumeWriteOps) as "aws_ebs_volume_write_ops" avg(AWS/EBS.VolumeTotalReadTime) as "aws_ebs_volume_total_read_time" avg(AWS/EBS.VolumeTotalWriteTime) as "aws_ebs_volume_total_write_time" WHERE `itsi_im_metrics_indexes` by VolumeId span=900s | eval "aws_ebs_volume_active_time"=100-aws_ebs_volume_idle_time | eval "aws_ebs_volume_total_time" = aws_ebs_volume_total_read_time + aws_ebs_volume_total_write_time | eval "aws_ebs_volume_total_mb" = (aws_ebs_volume_read_bytes + aws_ebs_volume_write_bytes)/1000000 | eval "aws_ebs_volume_total_ops" = aws_ebs_volume_read_ops + aws_ebs_volume_write_ops
metrics = [ \
{ \
"_key": "aws_ebs_burst_balance", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_burst_balance", \
"title": "AWS/EBS Burst Balance", \
"unit": "%" \
}, \
{ \
"_key": "aws_ebs_volume_queue_length", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_volume_queue_length", \
"title": "AWS/EBS Queue Length", \
"unit": "" \
}, \
{ \
"_key": "aws_ebs_volume_idle_time", \
"aggregate_statop": "min", \
"entity_statop": "min", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_volume_idle_time", \
"title": "AWS/EBS Volume Idle Time", \
"unit": "s" \
}, \
{ \
"_key": "aws_ebs_volume_total_mb", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_volume_total_mb", \
"title": "AWS/EBS Volume Total I/O MB", \
"unit": "mb" \
}, \
{ \
"_key": "aws_ebs_volume_total_time", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_volume_total_time", \
"title": "AWS/EBS Volume Total I/O Time", \
"unit": "s" \
}, \
{ \
"_key": "aws_ebs_volume_total_ops", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ebs_volume_total_ops", \
"title": "AWS/EBS Volume Total Operations", \
"unit": "" \
} \
]
alert_lag = 30
alert_period = 15
entity_alias_filtering_fields = VolumeId
entity_breakdown_id_fields = VolumeId
entity_id_fields = VolumeId
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 15
source_itsi_da = itsi
[SAI-Cloud-Performance_AWS-EC2]
title = SAI:Cloud.Performance.AWS-EC2
description = KPI base search for Cloud Performance of AWS EC2 entities.
_owner = nobody
base_search = | mstats min(AWS/EC2.CPUCreditBalance) as "aws_ec2_credit_balance" avg(AWS/EC2.CPUCreditUsage) as "aws_ec2_credit_usage" avg(AWS/EC2.CPUUtilization) as "aws_ec2_cpu_utilization" avg(AWS/EC2.DiskReadBytes) as "aws_ec2_disk_read_bytes" avg(AWS/EC2.DiskWriteBytes) as "aws_ec2_disk_write_bytes" avg(AWS/EC2.DiskReadOps) as "aws_ec2_disk_read_ops" avg(AWS/EC2.DiskWriteOps) as "aws_ec2_disk_write_ops" avg(AWS/EC2.NetworkIn) as "aws_ec2_network_in" avg(AWS/EC2.NetworkOut) as "aws_ec2_network_out" avg(AWS/EC2.NetworkPacketsIn) as "aws_ec2_network_packets_in" avg(AWS/EC2.NetworkPacketsOut) as "aws_ec2_network_packets_out" max(AWS/EC2.StatusCheckFailed) as "aws_ec2_status_check_failed" WHERE `itsi_im_metrics_indexes` by InstanceId span=900s | eval "aws_ec2_disk_total_ops"= aws_ec2_disk_read_ops + aws_ec2_disk_write_ops | eval "aws_ec2_disk_total_mb" = (aws_ec2_disk_read_bytes + aws_ec2_disk_write_bytes)/1000000 | eval "aws_ec2_network_total_mb" = aws_ec2_network_in + aws_ec2_network_out | eval "aws_ec2_network_total_packets" = aws_ec2_network_packets_in + aws_ec2_network_packets_out
metrics = [ \
{ \
"_key": "aws_ec2_cpu_utilization", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_cpu_utilization", \
"title": "AWS/EC2 CPU Utilization", \
"unit": "%" \
}, \
{ \
"_key": "aws_ec2_disk_total_mb", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_disk_total_mb", \
"title": "AWS/EC2 Disk Total I/O MB", \
"unit": "mb" \
}, \
{ \
"_key": "aws_ec2_disk_total_ops", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_disk_total_ops", \
"title": "AWS/EC2 Disk Total I/O Operations", \
"unit": "" \
}, \
{ \
"_key": "aws_ec2_network_total_mb", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_network_total_mb", \
"title": "AWS/EC2 Network Total I/O MB", \
"unit": "mb" \
}, \
{ \
"_key": "aws_ec2_network_total_packets", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_network_total_packets", \
"title": "AWS/EC2 Network Total Packets", \
"unit": "" \
}, \
{ \
"_key": "aws_ec2_status_check_failed", \
"aggregate_statop": "avg", \
"entity_statop": "avg", \
"fill_gaps": "null_value", \
"gap_custom_alert_value": 0, \
"gap_severity": "unknown", \
"gap_severity_color": "#CCCCCC", \
"gap_severity_color_light": "#EEEEEE", \
"gap_severity_value": "-1", \
"threshold_field": "aws_ec2_status_check_failed", \
"title": "AWS/EC2 Status Checks Failed", \
"unit": "" \
} \
]
alert_lag = 30
alert_period = 15
entity_alias_filtering_fields = InstanceId
entity_breakdown_id_fields = InstanceId
entity_id_fields = InstanceId
is_entity_breakdown = true
is_metric = false
is_service_entity_filter = true
search_alert_earliest = 15
source_itsi_da = itsi