| node_filesystem_free_bytes{device="lxcfs",fstype="fuse.lxcfs",instance="server-ip address:9100",job="node",mountpoint="/var/lib/lxcfs"} | 0 |
> To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8f01a475-aea5-4411-a585-5d1d9e7c5872%40googlegroups.com.
Hi everyone,I have configure the rules to monitor the disk space but recently one of my server disk space is 100%, i did not received anything, following is my config, hope you all can give me some idea.alert.rules.yml:groups:
- name: alert.rules
rules:
- alert: EndpointDown
expr: probe_success == 0
for: 120s
labels:
severity: "critical"
annotations:
summary: "Endpoint {{ $labels.instance }} down"
- alert: DiskSpace20%Free
expr: node_exporter:node_filesystem_free:fs_used_percents >= 80
labels:
severity: moderate
annotations:
summary: "Instance {{ $labels.instance }} is low on disk space"
description: "{{ $labels.instance }} has only {{ $value }}% free."alertmanager.yml:
# smtp_require_tls: true
smtp_auth_username: 'monit...@gmail.com'
smtp_auth_password: 'password'
slack_api_url: "slack hook url
resolve_timeout: 3m
route:
group_by: ['instance', 'severity']
group_wait: 30s
group_interval: 3m
repeat_interval: 3m
receiver: email
receivers:
- name: 'email'
email_configs:
- to: 'user1email.com'