shack/alert-rules: add more hints on how to clean up puyak
This commit is contained in:
parent
610a81d723
commit
ebde803cac
@ -14,7 +14,14 @@ in {
|
|||||||
labels.severity = "warning";
|
labels.severity = "warning";
|
||||||
annotations.summary = "{{ $labels.alias }} root disk full";
|
annotations.summary = "{{ $labels.alias }} root disk full";
|
||||||
annotations.url = "http://grafana.shack/d/hb7fSE0Zz/shack-system-dashboard?orgId=1&var-job=node&var-hostname=All&var-node=wolf.shack:9100&var-device=All&var-maxmount=%2F&var-show_hostname=wolf";
|
annotations.url = "http://grafana.shack/d/hb7fSE0Zz/shack-system-dashboard?orgId=1&var-job=node&var-hostname=All&var-node=wolf.shack:9100&var-device=All&var-maxmount=%2F&var-show_hostname=wolf";
|
||||||
annotations.description = ''The root disk of {{ $labels.alias }} has {{ $value | printf "%.2f" }}% free disk space (Threshold at ${disk_free_threshold}%). CI for deploying new configuration will seize working. Log in to the system and run `nix-collect-garbage -d` and clean up the shack share folder in `/home/share` .If this does not help you can check `du -hs /var/ | sort -h`, run `docker system prune` or if you are really desperate run `du -hs / | sort -h` and go through the folders recursively until you've found something to delete'';
|
annotations.description = ''The root disk of {{ $labels.alias }} has {{ $value | printf "%.2f" }}% free disk space (Threshold at ${disk_free_threshold}%). CI for deploying new configuration will seize working. Log in to the system and try to clean up the obsolete files on the machine. There are a couple of things you can do:
|
||||||
|
1. `nix-collect-garbage -d`
|
||||||
|
2. clean up the shack share folder in `/home/share`
|
||||||
|
3. check `du -hs /var/ | sort -h`.
|
||||||
|
4. run `docker system prune`
|
||||||
|
5. `find /var/lib/containers/news/var/lib/htgen-go/items -mtime +7 -delete;` to clean up the link shortener data
|
||||||
|
5. If you are really desperate run `du -hs / | sort -h` and go through the folders recursively until you've found something to delete
|
||||||
|
6. as a last resort the root disk can be expanded via `lvresize -L +10G /dev/pool/root && btrfs filesystem resize max /` '';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
alert = "RootPartitionFull";
|
alert = "RootPartitionFull";
|
||||||
|
Loading…
Reference in New Issue
Block a user