Alerting

How to create a Splunk alert for when storage on host reaches 75%?

majilan1
Path Finder

I need to create a Splunk alert that will trigger when storage on /vi/vip_pdh/00d for a host reaches at least 90% capacity.

index=A sourcetype=B   /vi/vip_pdh OR /var/log  earliest=-2h

| eval UsePct=rtrim(UsePct,"%")

| stats latest(UsePct) as UsePct by MountedOn host.

Just a Slight correction, I want to monitor both /vi/vip_pdh and /var/log.

Thanks!

Labels (1)
0 Karma

somesoni2
Revered Legend

Add following to end of your search

| where tonumber(UsePct)>=90
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...