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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

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

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...