LukeMurphey / splunk-website-monitoring

A website for monitoring web applications
MIT License
44 stars 20 forks source link

Splunk Cloud Installation is Rejected #18

Closed jeffersongirao closed 6 years ago

jeffersongirao commented 6 years ago

Hello! At the moment I'm not being able to install splunk-website-monitoring in a Splunk Cloud installation. It is being rejected with the following report:

Configuration file standards [ failure ] Check that app does not contain any .conf files that create global definitions using the [default] stanza. default stanza was found in file: default/website_monitoring.conf. Custom app-specific conf files should avoid [default], [general], [global] stanzas or properties outside of a stanza (treated as default/global). This is discouraged because they may cause some confusion for same stanzas defined by Splunk File: default/website_monitoring.conf

Is it ok the rename default to something else? Thanks in advance.

LukeMurphey commented 6 years ago

I'm almost positive you can delete this file because the Python code uses the same defaults. I'll verify that and get back to you.

LukeMurphey commented 6 years ago

It looks like I'm wrong. The app is designed in such a way that it assumes that default stanza exists. I'll modify the app such that it no longer requires this file.

I'll also likely take this up with the App Certification Team at Splunk since I don't think the rules should be rejecting the app in this case.

jeffersongirao commented 6 years ago

@LukeMurphey Thanks a lot for following up. Please let me know if I can do anything to help as well. Cheers! :)

LukeMurphey commented 6 years ago

@jeffersongirao: could you be so kind to try the attached version? I'm hoping this version will be allowed to be installed.

website_monitoring.tar.gz 2.7

jeffersongirao commented 6 years ago

Hello @LukeMurphey! I've tried it and got the same failure: default stanza was found in file: default/website_monitoring.conf. Custom app-specific conf files should avoid [default], [general], [global] stanzas or properties outside of a stanza (treated as default/global). This is discouraged because they may cause some confusion for same stanzas defined by Splunk File: default/website_monitoring.conf.

LukeMurphey commented 6 years ago

I found a way to test this using the self-service cloud rules. Version 2.7 on Splunk-base should pass now.