Ad Widget

Collapse

Use customized IP address at "Web"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yousan
    Junior Member
    • Aug 2013
    • 5

    #1

    Use customized IP address at "Web"

    Hello. I owe my deepest gratitude to zabbix.

    I am using "Web" checking against reverse proxy.
    Both frontend web server and backend web server use name based virtual host stuff.

    (the internet) - (frontend server) - (backend server)

    I want to check both front and backend server from zabbix.
    Now I am using hosts file to access each host.

    Code:
    backend.example.com 192.0.2.2
    I added backend.example.com to backend server's "ServerAlias".

    I make a "web" profiles to
    frontend profile: URL = "http://www.example.com/"
    backend profile: URL = "http://backend.example.com/"


    I suggest DO NOT use "gethostbyname()" function when accessing web. And to use specified IP address as server access.
    It helps various access to web servers.


    Thanks.
    Attached Files
Working...