Ad Widget

Collapse

Monitor website both in private network and on the web, show results on one dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shepard
    Junior Member
    • Dec 2024
    • 6

    #1

    Monitor website both in private network and on the web, show results on one dashboard

    Hello,

    I need to make a dashboard in Zabbix that would show availability of a site (a bunch of sites actually) both in the private network and on the Internet.
    So one monitoring routine must call the private network's DNS server that would resolve the site's domain name to 10.x.x.x LAN IP address, and the other monitoring routine must call the public DNS server that would resolve the site's domain name to 187.x.x.x public IP address. (Zabbix server host's default DNS server is the private network's DNS server.) And both monitoring routines' data must be shown on a single dashboard.

    What would be the best way to organize this?

    My initial thought was to launch a docker container on a Zabbix server's host which will use public DNS server (docker run --dns 8.8.8.8 ...), install Zabbix agent in that container and query the web site with that Zabbix agent in order to obtain global web monitoring data.

    *Zabbix server 6.0.14 on Oracle Linux 8.4 here.
  • Shepard
    Junior Member
    • Dec 2024
    • 6

    #2
    Update: Now I've learned that availability of a site (web scenario) can be checked either by Zabbix server or Zabbix Proxy, but not by Zabbix agent. So in order to obtain web monitoring data from outside of internal network, a Zabbix proxy must be installed and configured on a server (or in docker container) that uses public DNS servers only. It works.

    Comment

    Working...