Alerting

Email alert for splunkd failing to start after 3 attempts

srodier01x
New Member

Good afternoon all

I want to be able to get alerted, through email, when the splunkd service on my heavy forwarders does not start after 3 attempts to start the service (using the bash script and cron schedule at the link below) but how would I go about using sendmail in order to create the alert?

https://www.digitalocean.com/community/tutorials/how-to-use-a-simple-bash-script-to-restart-server-p...

0 Karma

niketn
Legend

@srodier01x what is the use case of restarting your HF in the first place? You will have data loss while the HF is being restarted.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Sukisen1981
Champion
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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