Splunk Search

Can you help me monitor httpd process through Splunk on a Linux Machine?

ssatti
New Member

Greetings all,

I want to monitor an "httpd" process for a Linux Machine, and if the process is down or not running, I need to shoot an alert.

Could you please help me with the search query for this?

Thanks in advance.

0 Karma

lakshman239
Influencer

You can install nix add on and enable the process monitoring scripted input. This gives you all active processed, including 'httpd'. on the server. You can then create a seach/alert when the process 'httpd' is down (not seen in the events coming from the add-on).

https://splunkbase.splunk.com/app/833/

0 Karma

lakshman239
Influencer

Did this help you resolve the issue?

0 Karma

ssatti
New Member

I already had Nix addon and enabled the process monitoring.
But Search/alert is not working as expected. could you please give me an example search. Thanks Lakshman

0 Karma

renjith_nair
Legend

@ssatti,
It would be helpful if you could provide some more details.
- Have you tried something ?
- Do you have the events about status already in splunk ? If not you have to start from pushing the status to splunk.
- If you have the events, how do they look like ? Any sample events?

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

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