#topicpath
----
#contents
----
* rsyslogの設定(wheezy) [#jf8d579f]
ルータ等のsyslogを飛ばしていたので、wheezyマシンにrsyslogの設定を行う。

/usr/share/doc/rsyslog-doc/example/sample.conf.gz のファイルを参照しながら
/etc/rsyslog.conf
を修正。

コメントをはずす。
 $ModLoad imudp
 $UDPServerRun 514
 
 $ModLoad imtcp
 $InputTCPServerRun 514

以下を追加。
 # We limit who can send us messages:
 #
 # remove the AllowedSender directives if you do not want to limit
 # who can send rsyslogd messages (not recommended)
 $AllowedSender UDP, 192.168.1.0/24, 123.45.67.89, 123.45.67.90
 $AllowedSender TCP, 123.45.67.89, 123.45.67.90


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS