Ad Widget

Collapse

External Websites Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uday
    Junior Member
    • Jul 2013
    • 2

    #1

    External Websites Monitoring

    Using Zabbix I can monitor my intranet websites very easily, but monitoring external websites I am having difficulties. I want to monitor just simple HTTP uptime.

    For example : How do I monitor if HTTP is working on www.google.com ?

    Thanks in advance
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    There are several ways to achieve this. One way might be to use Simple checks.
    Keep in mind to configure the http_proxy / https_proxy environment variable(s) if necessary.

    Comment

    • uday
      Junior Member
      • Jul 2013
      • 2

      #3
      External Websites Monitoring

      Thanks BDiE8VNy,

      But, where do I set http_proxy / https_proxy environment variable(s).

      If I understand correctly it should be something like this but where to set ?
      http_proxy=http://proxy_ip: proxy_port.
      https_proxy=http://proxy_ip: proxy_port.

      Sorry... I am still new to Zabbix 2.0 the reason for above basic question.

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        There are several ways to achieve this.
        I do it this way:
        Code:
        [root@example ~]# sed -n 17,23p /etc/init.d/zabbix-server 
        
        # Source function library.
        . /etc/rc.d/init.d/functions
        
        # Source sysconfig
        . /etc/sysconfig/zabbix
        
        [root@example ~]# cat /etc/sysconfig/zabbix 
        HTTP_PROXY=http://http-proxy.example.com:8080/
        HTTPS_PROXY=$HTTP_PROXY
        
        http_proxy=$HTTP_PROXY
        https_proxy=$HTTPS_PROXY
        
        export        \
          HTTP_PROXY  \
          HTTPS_PROXY \
          http_proxy  \
          https_proxy
        [root@example ~]#
        Doing it this way needs the init script to be modified every time after an update of the Zabbix Server has been done.

        Comment

        Working...