User Tools

Site Tools


регистрация_событий_в_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
регистрация_событий_в_linux [2026/08/05 09:41]
val [Регистрация сообщений, переданных по сети]
регистрация_событий_в_linux [2026/11/03 15:53] (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]]
Line 143: Line 144:
 ==== Форматы вывода ==== ==== Форматы вывода ====
 <​code>​ <​code>​
 +# journalctl -S-1h
 +
 # journalctl -ra # journalctl -ra
  
регистрация_событий_в_linux.1785912071.txt.gz · Last modified: 2026/08/05 09:41 by val