All Apps and Add-ons

Splunk 8.0 Website Monitoring python fail

eduardo1989
Path Finder

Dear All,
I am facing the following issue on a Splunk 8.0 with WebSite Monitoring app:
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': Traceback (most recent call last):
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py", line 5, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': from website_monitoring_app.search_command import SearchCommand
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/etc/apps/website_monitoring/bin/website_monitoring_app/search_command.py", line 45, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': from splunk.appserver.mrsparkle.lib.util import make_splunkhome_path
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/util.py", line 22, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': import cherrypy
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/lib/python2.7/site-packages/cherrypy/init.py", line 73, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': from ._cptools import default_toolbox as tools, Tool
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/lib/python2.7/site-packages/cherrypy/_cptools.py", line 33, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': from cherrypy.lib import auth_basic, auth_digest
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': File "/opt/splunk/lib/python2.7/site-packages/cherrypy/lib/auth_digest.py", line 27, in
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': from six.moves.urllib.request import parse_http_list, parse_keqv_list
11-07-2019 12:09:51.967 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/etc/apps/website_monitoring/bin/web_ping_search_command.py url=https://google.com': ImportError: cannot import name parse_http_list
11-07-2019 12:09:51.975 ERROR script - sid:1573150191.65 External search command 'webping' returned error code 1. .

On the other hand when I wanted to create a new input it says:
Encountered the following error while trying to save: global name 'splunk' is not defined
Thank you,

1 Solution

LukeMurphey
Champion

Website Monitoring has not yet been updated to work on Splunk 8.0.0. I am in the process of converting the apps to work with Splunk 8.0.0.

See https://lukemurphey.net/issues/2500 for details. This will be fixed in version 2.8.0 of Website Monitoring (should be done within a week or so).

View solution in original post

LukeMurphey
Champion

Website Monitoring has not yet been updated to work on Splunk 8.0.0. I am in the process of converting the apps to work with Splunk 8.0.0.

See https://lukemurphey.net/issues/2500 for details. This will be fixed in version 2.8.0 of Website Monitoring (should be done within a week or so).

eduardo1989
Path Finder

Thank you very much for the fast response!

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...