<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Website monitoring not working. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127594#M26226</link>
    <description>&lt;P&gt;I would recommend first checking a site that does not use proxy to validate the script is working.&lt;BR /&gt;
You might also be able to contact the author here: &lt;A href="https://github.com/LukeMurphey/splunk-website-monitoring"&gt;https://github.com/LukeMurphey/splunk-website-monitoring&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2015 17:46:37 GMT</pubDate>
    <dc:creator>bandit</dc:creator>
    <dc:date>2015-03-04T17:46:37Z</dc:date>
    <item>
      <title>Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127590#M26222</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have installed the website monitoring app in my PC (Splunk 6). But I couldn't make it working.Its says "Connection Failed"&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;python_modular_input.log&lt;/CODE&gt; logs looks good.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;web_availability_modular_input.log&lt;/CODE&gt;  has ServerNotFound error.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;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 &lt;A href="https://community.splunk.com/www.bbc.uk" target="test_blank"&gt;www.bbc.uk&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone please help to fix it? The config are as follows&lt;/P&gt;

&lt;P&gt;website_monitoring.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;proxy_password = PASSWORD
proxy_port = 8080
proxy_server = proxy.com
proxy_user = user1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[web_ping://bbc]
index = main
interval = 1m
title = presto
url = &lt;A href="http://www.bbc.co.uk/" target="test_blank"&gt;http://www.bbc.co.uk/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The indexed events looks like below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timed_out=False title=bbc response_code= request_time= url=www.bbc.co.uk total_time=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;KK&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 06:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127590#M26222</guid>
      <dc:creator>KarunK</dc:creator>
      <dc:date>2014-01-28T06:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127591#M26223</link>
      <description>&lt;P&gt;Hi there KarunK,&lt;/P&gt;

&lt;P&gt;When you run through the setup, the instructions say that when you are not using a proxy server, you are to leave the settings blank. The settings you provide above seem like false settings. Are those really the settings for your proxy server? I would imaging that those settings would cause problems if they lead nowhere... and the "server not found" complaint would then be accurate.&lt;/P&gt;

&lt;P&gt;You might want to run the setup again and wipe out those settings.&lt;/P&gt;

&lt;P&gt;I installed the app and it ran just great for me... the $SPLUNK_HOME/etc/apps/website_monitoring/default/websitemonitoring.conf should contain blank values for the proxy settings and saving the blank form will produce a [default] stanza in a websitemonitoring.conf in the local directory (blank) as well.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:44:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127591#M26223</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2020-09-28T15:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127592#M26224</link>
      <description>&lt;P&gt;Proxy settings shown above are not the correct one. I have masked it for security purposes. I have removed the proxy settings but still i am getting "ServerNotFoundError".&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 00:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127592#M26224</guid>
      <dc:creator>KarunK</dc:creator>
      <dc:date>2014-01-29T00:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127593#M26225</link>
      <description>&lt;P&gt;May be you need to reinstall the tool and choose another website monitoring software? Try Anturis or Pingdom or something else?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 11:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127593#M26225</guid>
      <dc:creator>barryherne</dc:creator>
      <dc:date>2014-02-03T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127594#M26226</link>
      <description>&lt;P&gt;I would recommend first checking a site that does not use proxy to validate the script is working.&lt;BR /&gt;
You might also be able to contact the author here: &lt;A href="https://github.com/LukeMurphey/splunk-website-monitoring"&gt;https://github.com/LukeMurphey/splunk-website-monitoring&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127594#M26226</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2015-03-04T17:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Website monitoring not working.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127595#M26227</link>
      <description>&lt;P&gt;I got the same issue. &lt;BR /&gt;
It was fixed if I remove the httplib2 in &lt;BR /&gt;
$SPLUNK_HOME/lib/python2.7/site-packages&lt;BR /&gt;
and replaced it with httplib2 Version 0.9.2 (downloaded and extracted)&lt;BR /&gt;
`&lt;BR /&gt;
$SPLUNK_HOME/bin/splunk cmd python&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;print httplib2.&lt;STRONG&gt;version&lt;/STRONG&gt;&lt;BR /&gt;
0.9.2`&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;So I can go across proxies also with user and pass....&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Website-monitoring-not-working/m-p/127595#M26227</guid>
      <dc:creator>thomas_unger_ex</dc:creator>
      <dc:date>2020-09-29T07:43:15Z</dc:date>
    </item>
  </channel>
</rss>

