All Apps and Add-ons

Website Monitoring: Why am I getting error "404 not found Splunk cannot find "adddata/selectsource"" trying to create an input?

bspluk74
New Member

When I click on the "create a website monitoring input now", why am I getting the error:

404 not found Splunk cannot find "adddata/selectsource"
0 Karma

LukeMurphey
Champion

Could try seeing if there is a traceback in the logs? See http://lukemurphey.net/projects/splunk-website-monitoring/wiki/Troubleshooting searches that would reveal it. A traceback would make narrowing this down much easier.

0 Karma

jbailey_splunk
Splunk Employee
Splunk Employee

Did you install the app from the UI or the CLI? If you installed through the UI, your account should have been under the admin role and that should have installed fine, with no issues. If you installed via the CLI, make sure the "website_monitoring" directory is owned by the correct user and has the correct permissions (mirroring the rest of the Splunk install on that server). If the ownership and/or permissions do not match the rest of the Splunk install, make those changes to the entire directory for website_monitoring.

Another recommendation would be to make sure your Splunk instance is running on a recent release/version - such as 6.3.X

Hope this helps...

0 Karma

LukeMurphey
Champion

Have you tried making the input from the Manager (Data inputs >> Website Availability Check >> Add new)? It could just be that that particular link doesn't work

0 Karma

edwinmae
Path Finder

I have the exact same Error
There is also no Website Availability Check under Data inputs

Website Monitoring 1.4.0 / Splunk 6.1.0 / W2008R2
Splunk was rebooted

Unable to initialize modular input "web_ping" defined inside the app "website_monitoring": Introspecting scheme=web_ping: script running failed (exited with code 1).

0 Karma

jameswortman
New Member

I am running a Linux server and I am getting the same errors...did you get an answer to why?
Unable to initialize modular input "web_ping" defined inside the app "website_monitoring": Introspecting scheme=web_ping: script running failed (exited with code 1).

0 Karma

edwinmae
Path Finder

No I did not. I installed the app through the UI and my role is admin, so theoretically all should be fine.
We're moving from W2008R2 to Linux within 2-3 weeks and move to Splunk 6.4 at the same time. Let's see after that.

0 Karma

jbailey_splunk
Splunk Employee
Splunk Employee

Ok, that sounds like a plan... But a couple more things, just in case...

(Just confirming at this point) Are you attempting to configure the website monitoring input as admin or a different user/role?

Go to Settings -> Access Controls -> Roles -> (Specific Role of User performing the website monitoring action).

Under Capabilities, make sure the following are selected (if they are not, then select them):
edit_modinput_web_ping
list_inputs

0 Karma

jameswortman
New Member

OK I have tried everything listed above and still cannot get this app to work. I still get this error ever time we restart SPLUNK:
Unable to initialize modular input "web_ping" defined inside the app "website_monitoring": Introspecting scheme=web_ping: script running failed (exited with code 1).

0 Karma

jbailey_splunk
Splunk Employee
Splunk Employee

Hi jameswortman, could you tell me a little more about your environment? I have not seen this specific error before related to this app, but hopefully we can figure it out...

Version of Splunk you're running?
Version of Linux?
Version of the Website Monitoring app?
What is the user/group that "owns" the directories and files in your Splunk installation?
Does the Website Monitoring app match that ownership and permissions?
What user are you using to create the input?
If not admin, what role has been assigned to that user?
What permissions (from the Manage Apps UI screen) does the Website Monitoring app have? It should be Global, everyone read, admin write.

0 Karma

jameswortman
New Member

Version of SPLUNK: 6.1.3 build 220630
Linux: 5.e16
Website Monitoring: 1.4.0
Admin owns the directories and files
we verified that ownership and permission do match
I tried admin and someone in the admin group.
I made sure that edit_modinput_web_ping and list_inputs were added to the admin roles
Permissions are set to Global, everyone read admin write.

I do not have this capability: Manager (Data inputs >> Website Availability Check >> Add new
Do I need to modify a conf file on the Linux server first for this data input?

0 Karma

jbailey_splunk
Splunk Employee
Splunk Employee

Are you running a trial license or a full Splunk license on this Splunk instance? I've seen similar issues when using a trial license (some functionality is disabled on a trial license). You can check by going to Settings -> Licensing.

0 Karma

edwinmae
Path Finder

As an Admin. We already have 1 Linux server running Splunk 6.3 and Website Monitoring is running just fine.

0 Karma

jbailey_splunk
Splunk Employee
Splunk Employee

Excellent! Thanks for the follow-up on this! I've previously seen this app work correctly in a Windows 2012R2 environment, but never in a Windows 2008R2. I'm not saying it is definitely an issue with 2008R2, but it's a possibility.

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...