강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/snmpd

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/snmpd

 

 SNMP(Simple Network Management Protocol)는 네트워크 상황을 모니터링 할 수 있는 프로토콜입니다

 

 

 흔히 MRTG등으로 네트워크 트래픽을 모니터링하거나 특정 장비의 디바이스의 정보를 확인할 때에도 종종 사용되는 프로토콜입니다

 

 

 

 

사용옵션 : start|stop|status|restart|condrestart|reload

 

데몬파일 : /usr/sbin/snmpd

 

설정파일

- /etc/snmp/snmpd.conf

- /usr/share/snmp/snmpd.conf

관련디렉토리 : /etc/snmp/

PID파일 :  /var/run/snmpd

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/snmpd stop

Stopping snmpd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/snmpd start

Starting snmpd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/snmpd restart

Stopping snmpd: [  OK  ]

Starting snmpd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/snmpd status

snmpd (pid 5755) is running...

[root@command init.d]#

[root@command init.d]# ps -ef | grep snmpd

root      5755     1  2 20:27 ?        00:00:00 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a

root      5770  5553  0 20:27 pts/1    00:00:00 grep snmpd

[root@command init.d]#

 



관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,041 명
  • 현재 강좌수 :  35,855 개
  • 현재 접속자 :  107 명