Rules

blackbox-exporter

7.063s ago

4.605ms

Rule State Error Last Evaluation Evaluation Time
alert: ProbeFailed expr: probe_success == 0 for: 5m labels: severity: error annotations: description: |- Probe failed VALUE = {{ $value }} LABELS: {{ $labels }} summary: Probe failed (instance {{ $labels.instance }}) ok 7.065s ago 911.8us
alert: SlowProbe expr: avg_over_time(probe_duration_seconds[1m]) > 3 for: 5m labels: severity: warning annotations: description: |- Blackbox probe took more than 3s to complete VALUE = {{ $value }} LABELS: {{ $labels }} summary: Slow probe (instance {{ $labels.instance }}) ok 7.064s ago 523.5us
alert: HttpStatusCode expr: probe_http_status_code <= 199 or probe_http_status_code >= 400 for: 5m labels: severity: error annotations: description: |- HTTP status code is not 200-399 VALUE = {{ $value }} LABELS: {{ $labels }} summary: HTTP Status Code (instance {{ $labels.instance }}) ok 7.064s ago 685.6us
alert: SslCertificateWillExpireSoon expr: probe_ssl_earliest_cert_expiry - time() < 86400 * 20 for: 5m labels: severity: warning annotations: description: |- SSL certificate expires in 20 days VALUE = {{ $value }} LABELS: {{ $labels }} summary: SSL certificate will expire soon (instance {{ $labels.instance }}) ok 7.063s ago 513.5us
alert: SslCertificateHasExpired expr: probe_ssl_earliest_cert_expiry - time() <= 0 for: 5m labels: severity: error annotations: description: |- SSL certificate has expired already VALUE = {{ $value }} LABELS: {{ $labels }} summary: SSL certificate has expired (instance {{ $labels.instance }}) ok 7.063s ago 375.7us
alert: HttpSlowRequests expr: avg_over_time(probe_http_duration_seconds[1m]) > 3 for: 5m labels: severity: warning annotations: description: |- HTTP request took more than 3s VALUE = {{ $value }} LABELS: {{ $labels }} summary: HTTP slow requests (instance {{ $labels.instance }}) ok 7.063s ago 1.286ms
alert: SlowPing expr: avg_over_time(probe_icmp_duration_seconds[1m]) > 1 for: 5m labels: severity: warning annotations: description: |- Blackbox ping took more than 1s VALUE = {{ $value }} LABELS: {{ $labels }} summary: Slow ping (instance {{ $labels.instance }}) ok 7.062s ago 221.5us

monitoring

10.428s ago

3.936ms

Rule State Error Last Evaluation Evaluation Time
alert: HostOutOfMemory expr: node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10 for: 1m labels: severity: warning annotations: description: |- Node memory is filling up (< 10% left) VALUE = {{ $value }} LABELS: {{ $labels }} summary: Host out of memory (instance {{ $labels.instance }}) ok 10.429s ago 827.9us
alert: InstanceDown expr: up == 0 for: 1m labels: severity: critical annotations: description: stuff's happening with {{ $labels.service }} ok 10.428s ago 446.1us
alert: HostOutOfDiskSpace expr: (node_filesystem_avail_bytes * 100) / node_filesystem_size_bytes < 15 and on (instance, device, mountpoint) node_filesystem_readonly == 0 for: 2m labels: severity: warning annotations: description: |- Disk is almost full (< 15% left) VALUE = {{ $value }} LABELS: {{ $labels }} summary: Host out of disk space (instance {{ $labels.instance }}) ok 10.428s ago 1.749ms
alert: HostHighCpuLoad expr: 100 - (avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 80 for: 5m labels: severity: warning annotations: description: |- CPU load is > 80% VALUE = {{ $value }} LABELS: {{ $labels }} summary: Host high CPU load (instance {{ $labels.instance }}) ok 10.426s ago 841.6us

mysqld_exporter

14.937s ago

4.747ms

Rule State Error Last Evaluation Evaluation Time
alert: MysqlDown expr: mysql_up == 0 for: 5m labels: severity: critical annotations: description: |- MySQL instance is down on {{ $labels.instance }} VALUE = {{ $value }} LABELS: {{ $labels }} summary: MySQL down (instance {{ $labels.instance }}) ok 14.937s ago 862.9us
alert: MysqlTooManyConnections expr: avg by (instance) (max_over_time(mysql_global_status_threads_connected[5m])) / avg by (instance) (mysql_global_variables_max_connections) * 100 > 80 for: 5m labels: severity: warning annotations: description: |- More than 80% of MySQL connections are in use on {{ $labels.instance }} VALUE = {{ $value }} LABELS: {{ $labels }} summary: MySQL too many connections (instance {{ $labels.instance }}) ok 14.936s ago 1.917ms
alert: MysqlHighThreadsRunning expr: avg by (instance) (max_over_time(mysql_global_status_threads_running[5m])) / avg by (instance) (mysql_global_variables_max_connections) * 100 > 60 for: 5m labels: severity: warning annotations: description: |- More than 60% of MySQL connections are in running state on {{ $labels.instance }} VALUE = {{ $value }} LABELS: {{ $labels }} summary: MySQL high threads running (instance {{ $labels.instance }}) ok 14.935s ago 1.697ms