Ad Widget

Collapse

Web Scenario From Zabbix Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coc@seb
    Junior Member
    • Mar 2016
    • 4

    #1

    Web Scenario From Zabbix Agent

    Hello,

    I would like to check response time FROM different host to différents Websites using some Web scenarios.
    Every host give me response time (as host without zabbix agent....)https://www.zabbix.com/forum/images/...s/rolleyes.gif.
    I think that the Zabbix server who is checking all the web scenario, but not the host which is on the template's group.

    The objectif is to test response from different host using different proxy .

    thanks for your help, and have a good day
  • Coc@seb
    Junior Member
    • Mar 2016
    • 4

    #2
    Web Scenario From Zabbix Agent

    Hello,

    is it possible to test from host (not from zabbix server) web scenarios?

    Thanks

    Comment

    • jan.garaj
      Senior Member
      Zabbix Certified Specialist
      • Jan 2010
      • 506

      #3
      No, webscenarios are executed from zabbix-server (or zabbix-proxy). Zabbix agent doesn't support webscenario, but your can still use some web.page.* keys (!= webscenario) - https://www.zabbix.com/documentation...s/zabbix_agent
      Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
      My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

      Comment

      • Coc@seb
        Junior Member
        • Mar 2016
        • 4

        #4
        Thanks for your answer

        The problem is that my computer are not allowed to bypass proxy for the Web.

        Is it possible to have somethink like that:

        Responsetime www.Site1 on proxy1:8080
        Responsetime www.Site1 on proxy2:8081
        Responsetime www.Site2 on proxy1:8080
        Responsetime www.Site2 on proxy2:8081

        Is it possible to configure proxies with web.page.* ?

        Regards

        Sébastien

        Comment

        • jan.garaj
          Senior Member
          Zabbix Certified Specialist
          • Jan 2010
          • 506

          #5
          > Is it possible to configure proxies with web.page.* ?
          If you read doc, you will save a time. Answer is no.

          Code:
          Responsetime www.Site1 on proxy1:8080
          Responsetime www.Site1 on proxy2:8081
          Responsetime www.Site2 on proxy1:8080
          Responsetime www.Site2 on proxy2:8081
          I assume proxy1/2 are web proxies (not zabbix proxies) => use webproxy settings in webscenario config = web request will be executed from zabbix-server (zabbix-proxy), but it's will be (web) proxied through defined (web) proxy.
          Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
          My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

          Comment

          • Coc@seb
            Junior Member
            • Mar 2016
            • 4

            #6
            So there is no answer to my problem.

            I've seen that it was possible from zabbix server using many Web proxies. It work fine with all differents proxies.

            But it's difficult to check response time from internal clients computers via proxy and Zabbix can't give me the response. Maybe in a future release

            So, in all cases Great thanks for your help

            Comment

            • jan.garaj
              Senior Member
              Zabbix Certified Specialist
              • Jan 2010
              • 506

              #7
              In this case, you can still write your own custom script (module), which will satisfy your requirements.

              Or maybe somebody did it or at least did something similar, which you can still improve (https://github.com/zabbix/zabbix-com...ninger-ecom%29 ?)
              Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
              My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

              Comment

              Working...