This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
регистрация_событий_в_linux [2026/08/05 09:41] val [Регистрация сообщений, переданных по сети] |
регистрация_событий_в_linux [2026/08/08 17:47] (current) val [Журнал важных сообщений] |
||
|---|---|---|---|
| Line 99: | Line 99: | ||
| #$ActionFileDefaultTemplate WithSeverityFacility | #$ActionFileDefaultTemplate WithSeverityFacility | ||
| - | |||
| - | #:msg, contains, "Unable to add reverse map" stop | ||
| - | #:msg, contains, "vlab.bmstu.ru to 10.32." stop | ||
| - | #:msg, contains, "dhcp_pool_vlan_33" stop | ||
| #*.* -/var/log/syslog.high;WithSeverityFacility | #*.* -/var/log/syslog.high;WithSeverityFacility | ||
| *.warning -/var/log/syslog.high;WithSeverityFacility | *.warning -/var/log/syslog.high;WithSeverityFacility | ||
| - | #*.warning;local3.none -/var/log/syslog.high;WithSeverityFacility | + | #if (not ($msg contains "PNP0A03") and |
| - | #local3.crit -/var/log/syslog.high;WithSeverityFacility | + | # not ($msg contains "LPM") and |
| + | # not ($msg contains "vmwgfx") and | ||
| + | # not ($msg contains "ehci_hcd")) then { | ||
| + | # *.warning;local3.none -/var/log/syslog.high;WithSeverityFacility | ||
| + | # local3.crit -/var/log/syslog.high;WithSeverityFacility | ||
| + | #} | ||
| </code> | </code> | ||
| * [[#Настройка на обработку сообщений типа local0]] | * [[#Настройка на обработку сообщений типа local0]] | ||