Open Source 28

[ Zabbix ] Python의 ZabbixAPI_py 모듈을 이용한 problem 상태 받아오기

python 모듈을 이용해 zabbix problem 데이터를 gethering - Test Zabbix Version : 4.4.3 - Python Module : ZabbixAPI_py from ZabbixAPI_py import Zabbix from datetime import datetime zabbix = Zabbix('url') # zabbix url zabbix.login('id','password') # zabbix 계정정보 for x in zabbix.problem(method='get'): print(datetime.fromtimestamp(int(x['clock'])),x['name']) # problem 데이터 gethering # int(x['clock']) 유닉스 time 형식이..

Open Source 2019.12.13

[ metricbeat ] mariadb basic monitoring. (mariadb 기본 모니터링)

- OS : CentOS 7 - Elasticsearch / Kibana / Metricbeat 7.5 OSS mariadb 서버에 metricbeat가 설치되어 있다는 전제하에.. 1. metricbeat mysql module enable 기본적으로 mysql module은 disable 되어 있다. module을 enable시켜주자. # ls -l /etc/metricbeat/modules.d/mysql.yml.disabled -rw-r--r-- 1 root root 716 Dec 9 19:03 /etc/metricbeat/modules.d/mysql.yml.disabled # /usr/bin/metricbeat modules enable mysql Enabled mysql 2. /etc/metri..

Open Source 2019.12.09

[ Zabbix ] 4.4.1 Windows 2012 Agent (64bit) install and host setting

Download : https://www.zabbix.com/download [ Zabbix Agents ] 1. Windows 2012 R2서버에 설치할 예정이므로 4.4.1 64비트 설치형 프로그램 Agent Download 2. Windows 2012 서버에 Agent를 설치 [ 설치과정에 zabbix 서버 IP 입력 ] 3. Zabbix Server에 호스트 등록. (Agent를 포함할 호스트 그룹이 있으면 생략) [ Configuration ] - [ Host groups ] - [ Create host group ] - [ 본인이 만들고 싶은 그룹명을 만든다 ] 4. 호스트 등록 [ Configuration ] - [ Hosts ] - [ Create host ] - Host name : 윈도..

Open Source 2019.11.18

Mongo DB 커뮤니티 버전 설치 - CentOS 7

몽고DB 설치 가이드 : https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ 1. YUM 설치를 위한 몽고DB 저장소 추가 # vi /etc/yum.repos.d/mongodb-org-4.2.repo 파일 추가 [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc 2. mongdb 커뮤니티 설치 # yum install -y mongo..

Open Source 2019.10.30

freesshd를 이용한 windows 서버 ssh 접속

freesshd는 windows 서버를 ssh를 이용하여 접속할 수 있는 프로그램이다. 강력한 암호화 및 인증 기능을 제공하고, SFTP 서버에 연결하여 원격파일에 액세스 할 수도 있다. 다운로드 : http://www.freesshd.com/?ctt=download freeSSHd and freeFTPd - open source SSH and SFTP servers for Windows Downloads Here you can download the latest version of freeSSHd and freeFTPd. Please have in mind that you must have administrator privileges to install both applications. www.free..

Open Source 2019.07.12