2018/10 5

[Grafana] sqlite3 로 설치된 grafana 에서 admin 로그인 실패 시 패스워드 초기화 방법

[Grafana] sqlite3 로 설치된 grafana 에서 admin 로그인 실패 시 패스워드 초기화 방법참고 : https://github.com/grafana/grafana/issues/1815prometheus-ansible 로 grafana 자동 설치 시 지정된 password 로 로그인이 되지 않는 문제가 발생한다. 이 경우 sqlite3 DB 내 admin 계정에 대한 password 를 'admin' 으로 초기화할 수 있다. grafana db가 설치된 디렉토리로 이동[root@server grafana]# cd /var/lib/grafana/ [root@server grafana]# ll total 820 -rw-r--r-- 1 grafana grafana 839680 Oct 30 11..

grafana 2018.10.30

[Prometheus] Prometheus 로 서버 모니터링 구축 - 설치

[Promethus] Prometheus 로 서버 모니터링 구축 - 설치 [Promethus] Prometheus 로 서버 모니터링 구축 - 설치 1-1. 설치(binary install ) 1.1[troubleshooting]make 명령 실행 시 "make: go: Command not found" error 발생 시1.1.1 현상1.1.2 해결방법1-2 설치(ansible-prometheus 활용)참고 : https://github.com/prometheus/prometheus1-1. 설치(binary install ) prometheus 설치용 디렉토리 생성 후 git clone https://github.com/prometheus/prometheus.git cd prometheus make bu..

Prometheus 2018.10.28

[Linux] Disk 관련 RAID 및 JBOD 정리

[Linux] Disk 관련 RAID 및 JBOD 정리RAID : Disk Fault 대응용 Array : Disk capacity 확장용 1. JBODJBOD : 특별한 RM 없이 하나로 구성 Hadoop의 경우 S/W 적으로 replica를 통해 redundancy를 보장하기 때문에 JBOD 사용 RAID 구성보다 속도가 빠르다. File 서버 같은 서비스는 RAID 0 나 JBOD 구성 가능 JBOD에서 RAID Controller 사용 권장 JBOD 구성 시 RAID Controller 사용을 위해 개별 RAID0 으로 나누어 사용 RAID Controller 를 미사용 시 감시 및 조치가 어려움 2. RAIDS/W Based RAID : OS에서 지원하는 RAID 구성 비용 절감 가능 ( Rai..

Linux 2018.10.18

[Linux] createrepo 을 활용한 yum repository 서버 구축

[Linux] createrepo 을 활용한 yum repository 서버 구축yum install -y createrepo 수행 설치 되어 있다면 아래와 같은 메시지 출력 [root@test ~]# yum install -y createrepo Failed to set locale, defaulting to C Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.mirror.cdnetworks.com * extras: centos.mirror.cdnetworks.com * updates: ftp.iij.ad.jp Package createrepo-0.9.9-28.el7.noar..

Linux 2018.10.16

[influxdb] influx CLI로 Query 수행 시 timestamp 를 보기 쉽게(Human-readable) 변경하는 방법

[influxdb] influx CLI로 Query 수행 시 timestamp 를 보기 쉽게(Human-readable) 변경하는 방법배경influx CLI를 통해 influxdb 내에 저장된 데이터를 조회 시 아래와 같이 timestamp 형식으로 출력되어 가독성이 떨어진다.Connected to http://localhost:8086 version 1.6.3 InfluxDB shell version: 1.6.3 > use telegraf Using database telegraf > select * from cpu limit 10; name: cpu time cpu host usage_guest usage_guest_nice usage_idle usage_iowait usage_irq usage_ni..

Influxdb 2018.10.14