본문 바로가기

전체 글

Zabbix에서 Item과 Trigger를 설정하는 방법 Zabbix에서 Item과 Trigger를 설정하는 방법 zabbix agent 설정 tail /etc/zabbix/zabbix_agentd.conf $ tail /etc/zabbix/zabbix_agentd.conf # UserParameter= UserParameter=t8081log[*],tail -n 1000 /var/lib/tomcat7/8081/logs/catalina.out | grep "$1" | wc -l UserParameter=t8082log[*],tail -n 1000 /var/lib/tomcat7/8082/logs/catalina.out | grep "$1" | wc -l Zabbix server(web) Item 설정 Configuration > Hosts로 이동 대상 호스트의 .. 더보기
원도우에서 Zabbix Agent를 설치하는 방법 원도우에서 Zabbix Agent를 설치하는 방법 Zabbix 에이전트 다운로드 https://www.zabbix.com/download_agents C:\zabbix>dir C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 805E-22A7 Zabbix 에이전트 디렉토리로 이동 cd C:\zabbix 디렉터리 2015-04-17 오전 10:06 . 2015-04-17 오전 10:06 .. 2015-04-17 오전 09:45 bin 2015-04-17 오전 09:45 conf 2015-03-12 오전 11:54 7,104 zabbix_agentd.conf 2015-03-12 오전 11:55 385,024 zabbix_agentd.exe 2개 파일 392,128 바이트 4개 디렉터리 7,857,9.. 더보기
윈도우 텍스트(TXT) 파일를 리눅스 텍스트(TXT) 파일로 변환하는 방법 윈도우 텍스트(TXT) 파일를 리눅스 텍스트(TXT) 파일로 변환하는 방법 Windows에서 작성된 텍스트 파일을 Linux에서 사용할 수 있는 텍스트 파일로 변환하는 것은 일반적으로 인코딩 차이 때문에 필요할 수 있습니다. Windows는 주로 CRLF(Carriage Return Line Feed)를 사용하는 반면 Linux는 LF(Line Feed)만 사용합니다. 리눅스에서 dos2unix 명령어를 사용하여 Windows 스타일의 텍스트 파일을 Unix 스타일로 변환할 수 있습니다. dos2unix 패키지에 포함되어 있을 수 있습니다. 변환 명령어의 예시 dos2unix windows_file.txt linux_file.txt 만약 dos2unix 명령어가 설치되어 있지 않다면 대부분의 리눅스 배포.. 더보기
[원도우] DOS Command Index DOS Command Index Windows Version : Microsoft Windows [Version 6.1.7601] Document Source : http://www.dostips.com http://www.dostips.com/DosCommandIndex.bat.php Created by : DosCommandIndex.bat Source Code below ASSOC Displays or modifies file extension associations. ATTRIB Displays or changes file attributes. BREAK Sets or clears extended CTRL+C checking. BCDEDIT Sets properties in boot databas.. 더보기
오라클 데이터베이스의 버전 정보를 확인 오라클 데이터베이스의 버전 정보를 확인 SYSDBA 권한으로 로그인 sqlplus / as sysdba $ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 14 16:22:09 2015 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Data Mining options 오라클 버전 정보 확인 select * from v$version; SQL> select .. 더보기
hpacucli 유틸리티 hpacucli 유틸리티 hpacucli 유틸리티를 사용하여 HP Smart Array 컨트롤러에서 RAID를 구성하는 예시입니다. 1. hpacucli 다운로드 wget http://downloads.linux.hp.com/SDR/downloads/ServicePackforProLiant/RedHatEnterpriseServer/5.7Server/x86_64/2013.02.0/hpacucli-9.40-12.0.x86_64.rpm yum install hpacucli-9.40-12.0.x86_64.rpm 2. Array Card hpacucli ctrl all show $ hpacucli ctrl all show Smart Array P400 in Slot 0 (Embedded) Smart Array P.. 더보기
Amazon CloudWatch Agent 설치 Amazon CloudWatch Agent 설치 Cloudwatch에서는 메모리 및 디스크 사용률에 대해서 모니터링이 불가능하여 EC2의 메모리 및 디스크 사용률을 보기 위해서는 Cloudwatch Agent로 메트릭을 수집하여 모니터링할 수 있습니다. AWS CloudWatch Agent 설치 작업 순서 IAM Role 설정 EC2 인스턴스에 IAM Role 연결 EC2 인스턴스에 CloudWatch Agent 설치 CloudWatch Agent로 메모리 사용량 확인 IAM 역할 설정(생성) IAM 기존 역할에 CloudWatchAgentServerPolicy 정책 추가 IAM > 액세스 관리 > 정책 > 기존 역할 > 권한 추가 > 정책 연결 > CloudWatchAgentServerPolicy, A.. 더보기
hpacucli 유틸리티(hpacucli 명령어) hpacucli 유틸리티 HP Smart Array 컨트롤러를 구성하고 관리하기 위한 hpacucli 명령어의 예시 컨트롤러 명령 컨트롤러의 세부 정보 표시 hpacucli> ctrl all show config hpacucli> ctrl all show config detail 컨트롤러의 상태 표시 hpacucli> ctrl all show status 캐시 활성화 또는 비활성화 hpacucli> ctrl slot=0 modify dwc=disable hpacucli> ctrl slot=0 modify dwc=enable 마지막 재검사 후 새로 추가된 장치 탐지 hpacucli> rescan 물리적 드라이브 명령 물리적 드라이브의 세부 정보 표시 hpacucli> ctrl slot=0 pd all sh.. 더보기

반응형