Показаны различия между двумя версиями страницы.
linux:rsyslog [2011/10/26 09:55] linko22@gmail.com создано |
linux:rsyslog [2011/10/26 09:59] (текущий) linko22@gmail.com |
||
---|---|---|---|
Строка 5: | Строка 5: | ||
Обычный, | Обычный, | ||
- | < | + | < |
- | *.* / | + | # Вываливаем все на консоль |
- | + | *.* / | |
- | + | ||
- | | + | #iptables |
- | # | + | :msg, contains, " |
- | :msg, contains, " | + | |
- | & ~ | + | |
- | :msg, contains, " | + | |
- | & ~ | + | |
- | + | ||
- | kern.* | + | |
- | & ~ | + | |
- | + | ||
- | + | ||
- | : | + | |
- | & ~ | + | |
- | : | + | |
- | & ~ | + | |
- | : | + | |
- | & ~ | + | |
- | + | ||
- | + | ||
- | : | + | |
- | & ~ | + | |
- | + | ||
- | : | + | |
- | & ~ | + | |
- | : | + | |
- | & ~ | + | |
- | : | + | |
& ~ | & ~ | ||
- | *.info; | + | :msg, contains, " |
- | & ~ | + | |
- | + | ||
- | auth,authpriv.* | + | |
- | & ~ | + | |
- | + | ||
- | mail.* | + | |
- | & ~ | + | |
- | + | ||
- | cron.* | + | |
- | & ~ | + | |
- | + | ||
- | daemon.* | + | |
- | & ~ | + | |
- | + | ||
- | user.* | + | |
& ~ | & ~ | ||
- | | ||
- | #Display using wall to all logged in users | ||
- | *.emerg * | ||
- | & ~ | ||
- | | ||
- | uucp, | ||
- | & ~ | ||
- | | ||
- | #Finally log everything else | ||
- | *.* / | ||
+ | # сообщения ядра в kernel | ||
+ | kern.* | ||
+ | & ~ | ||
+ | # Логи упса | ||
+ | : | ||
+ | & ~ | ||
+ | # Логи демона упса | ||
+ | : | ||
+ | & ~ | ||
+ | : | ||
+ | & ~ | ||
+ | # OpenVPN | ||
+ | : | ||
+ | & ~ | ||
+ | |||
+ | : | ||
+ | & ~ | ||
+ | : | ||
+ | & ~ | ||
+ | : | ||
+ | & ~ | ||
+ | *.info; | ||
+ | & ~ | ||
+ | |||
+ | auth, | ||
+ | & ~ | ||
+ | |||
+ | mail.* | ||
+ | & ~ | ||
+ | |||
+ | cron.* | ||
+ | & ~ | ||
+ | |||
+ | daemon.* | ||
+ | & ~ | ||
+ | |||
+ | user.* | ||
+ | & ~ | ||
+ | |||
+ | #Display using wall to all logged in users | ||
+ | *.emerg * | ||
+ | & ~ | ||
+ | |||
+ | uucp, | ||
+ | & ~ | ||
+ | |||
+ | #Finally log everything else | ||
+ | *.* / | ||
</ | </ |