Hi All,
I have installed the website monitoring app in my PC (Splunk 6). But I couldn't make it working.Its says "Connection Failed"
python_modular_input.log logs looks good.
2014-01-28 17:16:39,510 INFO Execute called
2014-01-28 17:16:39,510 INFO Modular input: validate arguments called
2014-01-28 17:16:39,513 INFO Execution completed successfully
2014-01-28 17:16:40,855 INFO Execute called
web_availability_modular_input.log has ServerNotFound error.
2014-01-28 17:49:29,674 ERROR A general exception was thrown when executing a web request
Traceback (most recent call last):
File "D:\Splunk\etc\apps\website_monitoring\bin\web_ping.py", line 255, in ping
response, content = http.request(url.geturl(), 'GET')
File "D:\Splunk\Python-2.7\Lib\site-packages\httplib2\__init__.py", line 1421, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "D:\Splunk\Python-2.7\Lib\site-packages\httplib2\__init__.py", line 1171, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "D:\Splunk\Python-2.7\Lib\site-packages\httplib2\__init__.py", line 1128, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
ServerNotFoundError: Unable to find the server at www.bbc.uk
Can anyone please help to fix it? The config are as follows
website_monitoring.conf
[default]
proxy_password = PASSWORD
proxy_port = 8080
proxy_server = proxy.com
proxy_user = user1
inputs.conf
[web_ping://bbc]
index = main
interval = 1m
title = presto
url = http://www.bbc.co.uk/
The indexed events looks like below.
timed_out=False title=bbc response_code= request_time= url=www.bbc.co.uk total_time=
Thanks for your help.
Regards
KK
... View more