Alerting

Linux Server Shutdown and Reboot Alert

nnimbe1
Path Finder

Hi Team,

I Need to create an alert whenever a Linux Server shutdown and whenever a Linux server reboot, can you please help me with query condition, which parameter i need to search to get this alert implemented

PS: We have RHEL,SUSE,Oracle Linux servers in our environment.

 

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Shutdowns may be a problem since it's possible the system could stop before the event is sent to Splunk.  Reboots are possible, however.  The key is monitoring the right source(s) on your Linux boxes and indexing that data in Splunk.  You will need to monitor the /var/log file in which the OS records shutdown and startup events (I don't know which file, ATM).  Then it's just a matter of creating a scheduled search to find those events and alert when they're found.  Once you have the data in Splunk, come back with questions about searching for it.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...