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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...