User Tools

Site Tools


doc:appunti:linux:sa:syslog

Differences

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

Link to this comparison view

Next revision
Previous revision
doc:appunti:linux:sa:syslog [2005/11/11 18:12] – external edit 127.0.0.1doc:appunti:linux:sa:syslog [2016/06/07 10:43] (current) – [Syslog remoto] niccolo
Line 14: Line 14:
 Aug 22 08:55:02 target script[372]: Avviso importante Aug 22 08:55:02 target script[372]: Avviso importante
 </file> </file>
 +
 +===== Livelli di priorità =====
 +
 +^ Numerical Code  ^ Severity Name  ^ RFC Severity  ^
 +|  0 | LOG_EMERG    | system is unusable  |
 +|  1 | LOG_ALERT    | action must be taken immediately  |
 +|  2 | LOG_CRIT     | critical conditions  |
 +|  3 | LOG_ERR      | error conditions  |
 +|  4 | LOG_WARNING  | warning conditions  |
 +|  5 | LOG_NOTICE   | normal, but significant, condition  |
 +|  6 | LOG_INFO     | informational message  |
 +|  7 | LOG_DEBUG    | debug-level message  |
  
 ===== Syslog remoto ===== ===== Syslog remoto =====
  
-Per accettare il log da un sistema remoto si deve lanciare ''**syslogd -r**'', mettere l'opzione opportuna in ''**/etc/init.d/sysklogd**''.+In **Debian 7 Wheezy** per accettare il log da un sistema remoto si deve lanciare ''**syslogd -r**'', mettere l'opzione opportuna in ''**/etc/init.d/sysklogd**''. 
 + 
 +In **Debian 8 Jessie** viene installato il demone **rsyslog**, per attivare la ricezione dei messaggi syslog remoti bisogna modificare **''/etc/rsyslog.conf''** scommentando le righe: 
 + 
 +<file> 
 +# provides UDP syslog reception 
 +$ModLoad imudp 
 +$UDPServerRun 514 
 + 
 +# provides TCP syslog reception 
 +$ModLoad imtcp 
 +$InputTCPServerRun 514 
 +</file>
doc/appunti/linux/sa/syslog.1131729125.txt.gz · Last modified: 2011/02/15 18:54 (external edit)