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
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...