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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...