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 | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...