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.
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.
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 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.