Monitoring Splunk

bin/splunk exit codes

zanb
Path Finder

Hello,

I wrote a script to monitor Splunk Enterprise instances and email me if any of my functions return non-zero exit statuses. One of the functions captures the exit status of splunk status. Last night I got an email saying that the splunk status command exited with an exit code of 8.

Can anyone please help me identify any non-zero exit statuses so I may refine my monitor script? Thank you!

Tags (1)
0 Karma

zanb
Path Finder

Are bumps allowed?

0 Karma
Get Updates on the Splunk Community!

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more with ITSI’s ...

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more! Faster Time to ValueManaging and ...

New Release | Splunk Enterprise 9.3

Admins and Analyst can benefit from:  Seamlessly route data to your local file system to save on storage ...

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...