Update monitoring targets, internet speed alerts
This commit is contained in:
parent
eac0c82ed8
commit
595e52feb2
|
@ -198,7 +198,24 @@
|
||||||
} ];
|
} ];
|
||||||
} ];
|
} ];
|
||||||
rules = [(builtins.toJSON {
|
rules = [(builtins.toJSON {
|
||||||
groups = [{
|
groups = [
|
||||||
|
{
|
||||||
|
name = "internet_connection";
|
||||||
|
rules = [
|
||||||
|
{
|
||||||
|
alert = "LowInternetDownload";
|
||||||
|
expr = ''speedtest_download_bits_per_second{} < 500000000'';
|
||||||
|
for = "2h";
|
||||||
|
labels.severity = "page";
|
||||||
|
annotations = {
|
||||||
|
summary = "Internet speed low";
|
||||||
|
description = "Home internet speed dropped below 500Mb/s.";
|
||||||
|
dashboard = "o9mIe_Aik";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
name = "healthchecks";
|
name = "healthchecks";
|
||||||
rules = [
|
rules = [
|
||||||
{
|
{
|
||||||
|
@ -272,6 +289,11 @@
|
||||||
metrics_path = "/projects/5f1de50f-a52d-4215-961f-aae7cc6cf6c9/metrics/TbMoU7SUdknzMe-H5Q4HzmKl3itOIrJk";
|
metrics_path = "/projects/5f1de50f-a52d-4215-961f-aae7cc6cf6c9/metrics/TbMoU7SUdknzMe-H5Q4HzmKl3itOIrJk";
|
||||||
static_configs = [ { targets = [ "localhost:8000" ]; } ];
|
static_configs = [ { targets = [ "localhost:8000" ]; } ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "vrc_events";
|
||||||
|
scrape_interval = "60s";
|
||||||
|
static_configs = [ { targets = [ "vancouver:6534" ]; } ];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
job_name = "blackbox";
|
job_name = "blackbox";
|
||||||
metrics_path = "/probe";
|
metrics_path = "/probe";
|
||||||
|
|
Loading…
Reference in a new issue