데몬 스크립트 파일 : /etc/rc.d/init.d/snmptrapd
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,628 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/snmptrapd
snmptrapd은 SNMP(Simple Network Management Protocol) 트랩데몬(Trap Daemon)입니다.
즉 snmptrapd 데몬은 일종의 SNMP 어플리케이션으로서 SNMP 에이전트(Agent)로부터 TRAP과 INFORM메시지를 받고 기록(저장)하는 데몬으로서 UDP 162번을 사용합니다.
사용옵션 : start|stop|status|restart|condrestart|reload
데몬파일 : /usr/sbin/snmptrapd
설정파일
- /etc/snmp/snmptrapd.conf
- /usr/share/snmp/snmptrapd.conf
PID파일 : /var/run/snmptrapd.pid
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/snmptrapd stop Stopping snmptrapd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/snmptrapd start Starting snmptrapd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/snmptrapd restart Stopping snmptrapd: [ OK ] Starting snmptrapd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/snmptrapd status snmptrapd (pid 5853) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep snmptrapd root 5853 1 0 20:33 ? 00:00:00 /usr/sbin/snmptrapd -s -u /var/run/snmptrapd.pid root 5869 5553 0 20:34 pts/1 00:00:00 grep snmptrap [root@command init.d]# |
관련자료
-
이전
-
다음