Ad Widget

Collapse

Web monitoring: Failed on step, Error: Could not connect to server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wokwon
    Junior Member
    • Jul 2009
    • 9

    #1

    Web monitoring: Failed on step, Error: Could not connect to server

    I have built a new zabbix proxy server in our existing zabbix architecture (Zabbix 1.8.2, Zabbix Proxy 1.8.2) that will be dedicated to web monitoring for our clients sites.

    I have created applications in that Zabbix proxy, and added a web monitoring and step to test. The step is a simple www.website.com looking for a 200 response code.

    The Zabbix proxy has full access to the internet (tested by pinging the web site and using lynx to browse to the web site).

    I have tested with common sites (e.g. www.google.com) and my clients sites but the result under Monitoring -> Web is always the following:
    Code:
    Failed on "First Step Get homepage" [1 of 1]  Error: Couldn't connect to server
    The log for the Zabbix proxy doesn't log any errors. The only entries in the zabbix_proxy.log are the service start lines and the history cleanups.

    The proxy checks in as normal and a simple http_ping item to www.google.com works fine.

    I am at a loss as to why it doesn't work and would welcome any suggestions.
  • Yello
    Senior Member
    • Apr 2011
    • 309

    #2
    Hi,
    I've not set up a proxy but I suspect that what's happening is that the web check is actually running from the zabbix server and not the proxy.

    There has been discussion of this elsewhere on the forum. Do a search and you'll find it...


    Regards,
    David

    Comment

    Working...