로그인
Sign in
System의 OVERTEMP가 emergency일떄 rebooting이 됩니다. system 온도가 OVERTEMP CRITICAL일때 root mail 등으로 경고 메세지를 받고자 합니다.



envd.conf file에  아래의 내용을 추가합니다  

# vi /etc/envd.conf      

OVERTEMP_CRIT:y  
/usr/bin/mailx -s "WARNING: OVERTEMP" root        
/usr/bin/logger -t envd -p crit -i "WARNING: OVERTEMP"    

위의 내용에 따라 system 온도가 OVERTEMP_CRIT 일 경우에
root 계정으로 메일 메세지 "WARNING: OVERTEMP"를 보냅니다.
syslog에도 같은 메세지를 남깁니다.

다음에 envd deamon을 restart 합니다.

# /sbin/init.d/envd stop  
envd stopped  

# /sbin/init.d/envd start  
Environmental daemon started  

syslog.log: 에 envd restart에 관련된 log가 생길 것 입니다.
June 18 10:01:43 fletch /usr/sbin/envd[3199]: restart, and read the configuration file  

OVERTEMP_CRIT event: 를 command에서 발생 시켜서 test 할수 있습니다.

# echo '\001\c' > /var/run/envd_diag  

# vi syslog.log

Jun 18 10:16:14 inblue /usr/sbin/envd[19061]: ***** OVERTEMP_CRIT WARNING *****
Jun 18 10:16:14 inblue /usr/sbin/envd[19061]: Temperature exceeded the normal operation threshold.  Correct the over-temperature condition.
Jun 18 10:16:14 inblue envd[19080]: WARNING: OVERTEMP

TEMP_NORMAL event: 로 다시 정상화 시킵니다.

# echo '\000\c' > /var/run/envd_diag  
# vi syslog.log

Jun 18 10:16:53 inblue /usr/sbin/envd[19061]: Temperature is back to the normal machine operating range  


출처 : HP 레스판스 센터
조회 수 :
897
추천 수 :
6 / 0
등록일 :
2008.09.09
11:21:24 (*.236.3.225)
엮인글 :
http://bestceok.com/xe/index.php?mid=unix_com&document_srl=2807&act=trackback&key=c25
게시글 주소 :
http://bestceok.com/xe/index.php?mid=unix_com&document_srl=2807
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 179
152 hpacucli 사용법 하록 2010-04-08 3141
151 vsftpd home 접근제어... 하록 2010-04-02 470
150 파일 시스템이 read only 로 마운트 됐을때... 하록 2010-01-27 689
149 ping으로 서버 운영체제 알기... 하록 2009-12-17 498
148 q4 분석 방법 하록 2009-07-10 475
147 cannot restore segment prot after reloc: Permission denied 해결 방법 하록 2009-04-16 1486
146 xxxx.src.rpm 빌드하는 방법 하록 2009-04-09 488
145 ethtool 설정 옵션... [2] 하록 2009-03-19 1033
144 HP-UX 11.00 시스템에서 이전 패치 제거 하록 2009-03-18 874
143 HPUX 커널 설명... file 하록 2009-03-17 440
142 Oracle 8i와 9i Startup 방법 하록 2008-10-30 930
141 ndd 설정값 확인 하록 2008-10-29 619
140 LVM Error 메세지 별 해결 방법 하록 2008-10-24 1387
139 vgexport와 vgimport 설명 하록 2008-10-22 1984
138 Netapp Disk Array 메세지 확인 법 하록 2008-10-15 615
137 리눅스 스왑 생성 하록 2008-10-09 561
» System 온도가 OVERTEMP CRITICAL일때 root mail 등으로 경고 메세지를 받고자 합니다. 하록 2008-09-09 897
135 RP 7410의 overtemp range 하록 2008-09-09 890
134 HPUX 11i Version 정보... 하록 2008-08-20 2568
133 Port Scan Source... 하록 2008-08-01 609