Ad Widget

Collapse

Web scenario doesn't resolve hostname??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radamand
    Member
    • Aug 2008
    • 89

    #1

    Web scenario doesn't resolve hostname??

    I've set up a web scenario using the hostname of my webserver in the URL;

    http://{hostname}:8070/network_monitoring/servlet/network_monitoring

    Using this all I get is "Unable to resolve hostname", even though I can do an "nslookup {hostname}" on the zabbix server and it resolves just fine.

    I need to use the hostname in the URL because the site is load balanced with an IP that changes.

    Why won't zabbix resolve the hostname?
  • radamand
    Member
    • Aug 2008
    • 89

    #2
    nobody knows?

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Obviously it is because macros are not supported in the URL.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • radamand
        Member
        • Aug 2008
        • 89

        #4
        Thats amazing considering I have other scenarios that also use macros in the URLs and they work just fine.....

        Comment

        • xs-
          Senior Member
          Zabbix Certified Specialist
          • Dec 2007
          • 393

          #5
          if you remove the macro string in the 'working url' does that still provide a valid website url?
          For example: http://{MACRO}.google.com/ -> http://.google.com (which will probably still work).

          Comment

          • radamand
            Member
            • Aug 2008
            • 89

            #6
            If I removed the macro the URL would be changed to:

            http://:8070/network_monitoring/serv...ork_monitoring

            Hardly a valid URL...

            Comment

            Working...