Ad Widget

Collapse

Zabbix Web Scenarios NeedTo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pedro.Almeida
    Junior Member
    • Sep 2014
    • 22

    #1

    Zabbix Web Scenarios NeedTo

    Hi there,

    Been missing some stuff on web scenarios:
    - Ability to manually specify connect-to-IP-address to request an URL (to test availability of that URL at different origin servers. (not stick to the IP(s) that the name on the URL resolves-to)
    - Ability to pass SNI
    - Ability to select SSL/TLS version
    - History/Trends settings for WebScenario items

    On (most) HTTP sites you can put the IP in the URL and pass an host header. Unfortunately this won't work for some (specially if behind reverse proxies).
    This will not work at all for HTTPS, namely using TLS where you have to set SNI as well as passing a proper URL.

    If you want to test all your server pools for proper working you have to use external scripts.

    A flag to enable debug on a webscenario base would be great to log requests/responses instead of having to activate debugging for all the hundrends of webscenarios just to fix one.


    Any ideia if these are being addressed?
    Last edited by Pedro.Almeida; 31-01-2017, 19:23. Reason: missing question mark at the end
  • pbychikhin
    Junior Member
    • Feb 2017
    • 2

    #2
    +1
    Curl has the option CURLOPT_CONNECT_TO for this purpose.
    It would be really good if Zabbix implement that option in web scenarios.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by pbychikhin
      +1
      Curl has the option CURLOPT_CONNECT_TO for this purpose.
      It would be really good if Zabbix implement that option in web scenarios.
      Seems you have problems with understanding how web scenario is working.
      It probes over http remote host which is defined in monitored host interface and it does it from zabbix server or proxy (if host with web scenario is monitored over proxy).
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • pbychikhin
        Junior Member
        • Feb 2017
        • 2

        #4
        Originally posted by kloczek
        Seems you have problems with understanding how web scenario is working.
        It probes over http remote host which is defined in monitored host interface and it does it from zabbix server or proxy (if host with web scenario is monitored over proxy).
        So you're saying that the host name from the URL option of a Web scenario step configuration is not resolved? And Zabbix uses IP address (which one?) that is configured in Host tab of host configuration instead? Please confirm that I understood you correctly.

        Comment

        • vesper1978
          Member
          • Nov 2016
          • 59

          #5
          Originally posted by Pedro.Almeida
          - Ability to manually specify connect-to-IP-address to request an URL (to test availability of that URL at different origin servers. (not stick to the IP(s) that the name on the URL resolves-to)
          It already does this. Specify the IP you want to connect to in the URL field (http(s)://xxx.xxx.xxx.xxx). Then in the Headers field use the Host Header (Host: site.com).

          Comment

          Working...