본문 바로가기
HW Knowledge/Hewlett-Packard Enterprise

ProCurve 6120XG/원격 서버에 로그 기록하기(for debug)

by 스쳐가는인연 2016. 11. 4.

Configure rsyslog Server RHEL 6.x

=====================================================

 

# yum -y install rsyslog

# vim /etc/rsyslog.conf

 

remove '#'

-----------------------------------------------------

# Provides UDP syslog reception

#$ModLoad imudp

#$UDPServerRun 514

 

# Provides TCP syslog reception

#$ModLoad imtcp

#$InputTCPServerRun 514

-----------------------------------------------------

 

to

-----------------------------------------------------

# Provides UDP syslog reception

$ModLoad imudp

$UDPServerRun 514

 

# Provides TCP syslog reception

$ModLoad imtcp

$InputTCPServerRun 514

-----------------------------------------------------

 

# service rsyslog restart

 

# netstat -antup | grep 514

 

=====================================================

 

ProCurve Series 6120 Switches Management and Configuration Guide

http://h20565.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c02617338

 

P. 557, C-39 Configuring Debug/Syslog Operation

=====================================================

Check State

(config) # show debug

 

(config) # logging <rsyslog-server-ip-address>

 

(config) # logging severity debug

(config) # logging system-module all-pass

 

(config) # show debug

(config) # write memory

=====================================================


반응형