
alertmanager 설치 후 슬랙 연동
2024. 5. 13. 18:41
국비지원교육/클라우드
⦁ 프로메테우스 서버에 프로메테우스 유저로 접속su - prometheus ⦁ wget으로 alert manager 설치 및 압축 해제wget https://github.com/prometheus/alertmanager/releases/download/v0.24.0/alertmanager-0.24.0.linux-amd64.tar.gztar -xvf alertmanager-0.24.0.linux-amd64.tar.gzmv alertmanager-0.24.0.linux-amd64/ alertmanager ⦁ 방화벽 설정 (alert manager 9093 포트)exitsudo -sfirewall-cmd --permanent --zone=public --add-port=9093/tcpfirewall-cmd -..

redmine에 node_exporter 설치
2024. 5. 13. 18:16
국비지원교육/클라우드
유저 만들기useradd -m -s /bin/bash redminesu - redminewget & 압축해제 & 이름변경wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gztar -xvf node_exporter-1.3.1.linux-amd64.tar.gzmv node_exporter-1.3.1.linux-amd64/ node_exporter서비스 파일생성 및 시작 vi /etc/systemd/system/node_exporter.service- node_exporter.service[Unit] Description=redmine Node ExporterDo..

redmine 설치, mariaDB연동
2024. 5. 13. 18:08
국비지원교육/클라우드
redmine private 인스턴스 2개 생성# 현재 인스턴스 Stopped 상태 bastion에서 privatekey를 통해 접속sudo ssh -i 'sshKey이름' '유저명'@'접속할 privateIP'sudo ssh -i ssh-key-2024-03-04.key opc@10.0.1.71 ## key가 bastion 폴더에 있어야함EPEL, REMI, yum-utils, php 7.3sudo -syum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmyum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm --skip-brokenyum -y..
mariaDB 설치
2024. 5. 13. 17:42
국비지원교육/클라우드
MariaDB 설치vi /etc/yum.repos.d/MariaDB.repo - MariaDB.repo# MariaDB 10.6 CentOS repository list - created 2023-08-07 03:53 UTC# https://mariadb.org/download/[mariadb]name = MariaDB# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.# baseurl = https://rpm.mariadb.org/10.6/centos/$releasever/$basearchbaseurl = https://mirrors..

prometheus 설치
2024. 5. 13. 17:36
국비지원교육/클라우드
⦁ prometheus 유저 생성 및 로그인useradd -m -s /bin/bash prometheus su - prometheus⦁ wget으로 prometheus 설치 및 압축 해제, 폴더명 변경wget https://github.com/prometheus/prometheus/releases/download/v2.36.1/prometheus-2.36.1.linux-amd64.tar.gztar -xvf prometheus-2.36.1.linux-amd64.tar.gzmv prometheus-2.36.1.linux-amd64/ prometheus⦁ 서비스 파일생성 및 시작 vi /etc/systemd/system/prometheus.service- prometheus.service[Unit] Descr..

Redmine과 오픈소스 모니터링 연동
2024. 5. 13. 17:25
국비지원교육/클라우드
모두 CentOs 7.9 환경에서 진행 레이저 포인터가 없어서, 발표를 앉아서 직접 넘기며 진행 ... 발표 준비와 ppt 만들면서도 정말 많이 배운것같다. 발표에서 sql exporter가 target에 연결 안된이유는 .. mariaDB 방화벽을 안열었다 .. 발표전에 연습할때 열어놓고, 껏다키니 다시 닫혔나보다 ... 발표 끝나자마자 눈치챘는데, 저때는 당황해서 눈치를 못챘다 . 뭔가 아쉽 1.public bastion 서버를 만들어서 prometheus 설치https://datastory96.tistory.com/45 2.bastion 서버를 통해 mariaDB서버 접속해서 mariaDB설치https://datastory96.tistory.com/46 3.bastion서버를 통해 redmi..