Coder Social home page Coder Social logo

zabbix-proxy-container's Introduction

zabbix-proxy-container

1. 배경

  • Zabbix Proxy 운영 및 관리를 단순화하기 위해 Container르 구성하여 서비스를 구성합니다.
  • 이미지는 aㅣpine 기반이며 DB는 sqlite3로 구성합니다.
  • 설치 가능한 OS
    • Amazon Linux 1 & 2
    • CentOS 7 & 8
    • Ubuntu 12.04 later

2. 구성 요소

  • Docker engine
  • Docker-compose
  • Zabbix docker-compose YAML 파일.

3. 전제 조건

  • 소스 코드를 받기 위해 git이 설치되어 있어야 합니다.
  • 해당 소스 내에서 docker image 및 dockerfile 다운로드르 위해 443 포트가 개방되어야 합니다.

4. 지원 Platform

  • Amazon Linux & Amazon Linux 2
  • Ubuntu 12.04 later
  • CentOs 7 & 8

5. 사용법

# User 계정을 Linux Server 터미널에 로그인합니다.
]$ git clone https://github.com/mzc-ems/zabbix-proxy-container.git 
]$ cd zabbix-proxy-container
]$ ./zabbix-proxy-container -h
How to install for zabbix proxy server.

Usage:
  Install-zbx-proxy.sh [-tns]

Options:
  -t <latest|local>   Reference to Type section
  -n <name>           Specify a zabbix proxy server name
  -s <host|ip>        Specify the zabbix server hostname or ip address
  -h                  This help text

Type:
  latest              Specify a default type to install container
  local               Specify a custom build to install container
                      Include a dockerfile

WARRINGS:
  If there are no arguments for options -n and -s,
  the default value is set.
  • 예시
]$ ./Install-zbx-proxy.sh -t latest -n test-amazonlinux2 -s 52.78.???.???     # ???은 IP 숫자입니다.
  • 출력물
Creating dc-zabbix-proxy service for the systemd >>>
Your user rights as a root.
Adding to the systemd service with something like:
Modify {DOCKER-COMPOSE HOME DIRECTORY} in dc-zabbix-proxy.service file
The path is /home/ec2-user/zabbix-proxy-container/zabbix-proxy-latest

      cp dc-zabbix-proxy.service /etc/systemd/system/
      systemctl enable dc-zabbix-proxy.service

                   Name                                 Command               State            Ports
--------------------------------------------------------------------------------------------------------------
zabbix-proxy-latest_zabbix-proxy-sqlite3_1   /sbin/tini -- /usr/bin/doc ...   Up      0.0.0.0:10051->10051/tcp

SUCCESS: Service up zabbix-proxy-latest container.
Completed installing zabbix proxy server .....

 This host's egress ip address: 52.79.???.???
 This proxy server name: test-amazonlinux2
 Connect to Zabbix server mode: Active proxy (default mode)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + Zabbix Server (52.78.???.???:10051) <-- Zabbix Proxy Server +
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Done :)

5. 맺음말

zabbix-proxy-container's People

Contributors

ems-parkmh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.