Hi, I'm trying to send alerts via Slack. Specific...
# support
e
Hi, I'm trying to send alerts via Slack. Specifically I'm trying to send alert each time threshold > 50% for file_system_usage for each host. But the problem is that I'm only getting alerts for 1 host only. I can see that all alerts are triggered - but only 1 of them is reaching Slack. If I set up separate alerts for each host - then it works, but it's not very practical. Why is SigNoz refusing to send all triggered alerts ?
v
Can you please share your alert query? Are you using group by?
e
Thank you for the reply.
Copy code
100 * (sum by(host_name) (system_filesystem_usage{state="used",device!~"/dev/loop.*", device!~"tmpfs|nsfs"}) / sum by(host_name) (system_filesystem_usage{device!~"/dev/loop.*", device!~"tmpfs|nsfs"}))
v
@Evgeny Lundberg Are you using host metrics dashboard? @Srikanth Chekuri Can you please check?
e
Yes. As you can see there is 3 hosts above threshold (80%) but only 1 one of them is sending alerts.
v
Can you share your slack alert as well? When there are 2-3 hosts crossing threshold then a single alert is delivered which is by default hidden by slack under
Show More
e
Oh I see. Thank you. Is there a way to seperate this ? 1 alert / host ?
s
No, all the host alerts are delivered as one message with each host having it's own details
e
Thank you.