Ad Widget

Collapse

Monitoring - Web - # in URL not parsing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devops@viqsolutions.com
    Junior Member
    • Feb 2019
    • 2

    #1

    Monitoring - Web - # in URL not parsing

    I am attempting to create a web scenario (in Zabbix 4.0.0), or 3, that uses a URL format similar to www.foo.com/bar#/login. I suspect the # is related to AngualrJS non-HTML5 browser compliance, however Zabbix truncates the URL at the #, and my scenarios fail. I am not able to alter the URL, I am not in control of the site or it's development.

    Does anyone know if Zabbix can handle this URL format with some kind of string formatting or extensions?

    I have searched the forums for:
    angularjs web scenario
    hash in url parsing
    octothorpe in url parsing
    angularjs url parsing
    web url #
    and found nothing.

    Thank you,
    Richard
  • devops@viqsolutions.com
    Junior Member
    • Feb 2019
    • 2

    #2
    Is it possible to confirm that Zabbix is definitely not able to parse these URLs, even if there is no known workaround, that way I can start investigating other tools?

    Comment

    • VincheZ
      Junior Member
      • Mar 2019
      • 9

      #3
      Hi,

      I have the same issue.
      I think that it could work by putting your URL into quote mark like:
      "www.foo.com/bar#/login"
      If it doesn't work you can just add a back slash like:
      "www.foo.com/bar\#/login"

      Maybe you already tried it 'cause it's just string management but I tried it and it seems to work fine...

      Lmk.

      Comment

      • The_Peacemaker
        Junior Member
        • Oct 2019
        • 1

        #4
        Hello,

        Is there another way?
        I am using Zabbix 3.4 - an upgrade to a new version is currently not possible.

        If I attach the "" the mistake comes:

        "Invalid parameter "URL" unacceptible URL"

        Even the backslash hasn't changed anything.

        is there another option here ?

        Comment

        • Mairold
          Junior Member
          • Nov 2019
          • 5

          #5
          I cannot use web scenario because before you can enter any of my sites, you would have to pass another URL which is a LOGIN page. So if i monitor a say "page.domain.com" it will instead be monitoring "Page2.domain.com" because that is where you have to login. Any ideas how to do network monitoring differently or make zabbix pass the login page ?

          Comment

          Working...