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,
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).
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).
Thank you very much for the fast response!