Administrator Guide

Table Of Contents
#- This script is processed as if it had been sourced using the 'source' command
#-------------------------------------------------------------------------------
.
.
ll /monitoring/directors/*/monitors/
#
#
<new entry added below at the end of VPlex-init file,
script -i port_stats_monitor
port-monitor start –smtp <mail server ip address> -e <email>,<email>,...>
임계값 조정(필요한 경우)
단계
관리 서버에서 메트로인 경우 port-stats-monitor 디렉토리를 만들고 특정 하드웨어인 VS2 또는 VS6 이전에 port-
stats-monitor_6.2.zip 파일을 압축 해제한 config.json 파일을 새로 생성된 디렉토리로 복사합니다.
a. /var/log/VPlex/cli/port-stats-monitor 디렉토리를 생성합니다.
: mkdir /var/log/VPlex/cli/port-stats-monitor
b. 해당 하드웨어 <vsX>_config.json 파일을 작업 중인 메트로 노드 하드웨어의 디렉토리에 복사합니다. : cp vs2-
config.json /var/log/VPlex/cli/port-stats-monitor/config.json 또는 cp vs6-config.json /var/log/
VPlex/cli/port-stats-monitor/config.json
노트: c 단계 경우 스크립트를 로드한 변경하지 마십시오. 모니터 스크립트를 잠시 실행하고 성능 이슈가 있는 경우
사용자는 이슈에 대한 이메일 알림을 받고 추가 지원을 위해 메트로 노드 지원에 문의합니다. 모니터가 실행 중임을 확인
하는 경우에만 d 단계 이동합니다. d 단계에서는 "상태 확인 "이라고 표시된 아래쪽으로 스크롤하고 지금은 해당 명령만
실행합니다. 메트로인 경우 클러스터에 대해 c d 단계를 따라야 합니다.
c. config.json 파일에서 기본 임계값을 변경합니다(선택 사항). 나은 결과를 위해 기본값 또는 하나를 찾을 있는 경우
임계값에 대한 config.json 파일을 수정할 있습니다(VI 편집기 사용). : vim /var/log/VPlex/cli/port-stats-
monitor/config.json
Sample Output:
{
"bad_CRC": 5,
"Disc_frame": 40,
"link_fail": 15,
"Loss_of_sync": 45,
"loss_of_sig": 45,
"reset": 5
}
d. config.json 파일을 수정한 후에는 port-monitor 스크립트를 재시작해야 합니다.
VPlexcli:/> port-monitor restart
VPlexcli:/> port-monitor status
Status: running with the following parameters:
Emails: joe@dell.com <<< this will only show e-mail addresses if configured
SMTP: x.x.x.x
Local-only: False
Threshold config: {u'lr-remote': 5, u'crc-errors': 50, u'invalid-transmission-
word': 500, u'link-failure': 10, u'loss-of-signal': 45, u'loss-of-sync': 60}
포트 통계 모니터링 사용량 정보
사용량: 6.2.x 스크립트에서 가져옴
Port Stats Monitoring
A prodscript for monitoring critical statistics for ports.
## What does this monitor do?
94 성능 모니터링