Hello all,
I have a simple flask webhook running on my splunk server that is managed by supervisord. Since I'd like to know whether the supervisord process is running, I'm looking for a way to get splunk to call the `ps aux | grep supervisord | grep -v grep` command and send an alert when there are no results. Is there a way to get splunk to do that, or are we looking at an alert that calls a python script that writes to a log file that is in turn indexed by splunk? Is there a way to get this process information into the `_introspection` index by updating some config files? Before setting off on this journey I'd like to get some input from the experts!
Best regards,
Andrew
↧