Getting Data In

Help Solving btool errors from alert_manager app

dpwtheitguy
Loves-to-Learn Lots

All,

I've started seeing the following error message on Splunk 8.2.1 since installing alert_manager app and I'd like to clean it up.

- Error from my deployment server, from btool checks
- Version Splunk 8.2.1
- CentOS7
- I have /etc/deployment-apps/alert_manager/README/alert_manager.conf.spec there. So I assume that's what it's looking for.


# Error
08-10-2021 13:23:41.948 -0700 WARN Application [28063 MainThread] - No spec file for: /opt/splunk/etc/deployment-apps/alert_manager/default/alert_manager.conf\n
08-10-2021 13:23:41.948 -0700 WARN Application [28063 MainThread] - Invalid key in stanza [alert_manager] in /opt/splunk/etc/deployment-apps/alert_manager/default/alert_actions.conf, line 12: param.urgency (value: low).\n


# alert_manager.conf, line 12 under [settings] stanza
auto_close_info = false


# alert_manager.conf.spec, line 40, under [settings] stanza
auto_close_info = [true | false]
* Configure if informational events are automatically resolved
* Defaults to false

 

Any ideas on how I'd troubleshoot this? 

Tags (2)
0 Karma

codebuilder
Influencer

The file needs to be named alert_manager.conf not alert_manager.conf.spec.

alert_manager.conf.spec is a reference file.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

dpwtheitguy
Loves-to-Learn Lots

Thanks for replying. 

The app has both alert_manager.conf and alert_manager.conf.spec in it. Neither of which have any obvious problems that I can see. Nevertheless Splunk btool is complaining. 

0 Karma

codebuilder
Influencer

Remove the /etc/deployment-apps/alert_manager/README directory from your deployment app and try again. The .spec files are reference and contain examples with descriptions of parameter  that are not valid values. That is why you are getting the errors.

Also consider putting any other configs you modified in /etc/deployment-apps/alert_manager/local
Never directly modify configs in the default directory.

----
An upvote would be appreciated and Accept Solution if it helps!
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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...