# Need only alerts of hdd without mountpoints

**URL:** <https://discuss.prometheus.io/t/need-only-alerts-of-hdd-without-mountpoints/685>\
**Category:** General Help/Support\
**Created:** [January 5, 2022, 3:04am UTC](https://discuss.prometheus.io/t/need-only-alerts-of-hdd-without-mountpoints/685 "2022-01-05T03:04:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkdhanasekar](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tkdhanasekar](https://discuss.prometheus.io/u/tkdhanasekar)\
**Post date:** [January 5, 2022, 3:04am UTC](https://discuss.prometheus.io/t/need-only-alerts-of-hdd-without-mountpoints/685/1 "2022-01-05T03:04:46Z")

</div>

i need to achive alerts from alertmanager for linux HDD  
with

Labels  
alertname = Host Out Of Diskspace  
instance = xx.xx.xx.xx:9100  
job = Webserver  
severity = warning

only , but i got mount points alerts also with amost 163 alerts firing for single server  
HDD alert , my alert rule is

**- alert: HostOutOfDiskSpace**  
**expr: (node\_filesystem\_avail\_bytes \* 100) / node\_filesystem\_size\_bytes \< 15 and ON (instance, device, mountpoint) node\_filesystem\_readonly == 0**  
**for: 5m**  
**labels:**  
**severity: warning**  
**annotations:**  
**summary: Host out of disk space (instance {{ $labels.instance }})**  
**description: "Disk is almost full (\< 15% left)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"**

what else to be done in rule to avoid mountpoint alerts  
attached the alert firing

 ![2](https://europe1.discourse-cdn.com/flex017/uploads/prometheus/original/1X/b2fa838af9b6f5151debef766d54a69aedf4aad5.png)
