Syslog: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Line 20: Line 20:
The list of Facilities available:
The list of Facilities available:
   
   
0            kernel messages
*0            kernel messages
1            user-level messages
*1            user-level messages
2            mail system
*2            mail system
3            system daemons
*3            system daemons
4            security/authorization messages
*4            security/authorization messages
5            messages generated internally by syslogd
*5            messages generated internally by syslogd
6            line printer subsystem
*6            line printer subsystem
7            network news subsystem
*7            network news subsystem
8            UUCP subsystem
*8            UUCP subsystem
9            clock daemon
*9            clock daemon
10            security/authorization messages
*10            security/authorization messages
11            FTP daemon
*11            FTP daemon
12            NTP subsystem
*12            NTP subsystem
13            log audit
*13            log audit
14            log alert
*14            log alert
15            clock daemon
*15            clock daemon
16            local use 0  (local0)
*16            local use 0  (local0)
17            local use 1  (local1)
*17            local use 1  (local1)
18            local use 2  (local2)
*18            local use 2  (local2)
19            local use 3  (local3)
*19            local use 3  (local3)
20            local use 4  (local4)
*20            local use 4  (local4)
21            local use 5  (local5)
*21            local use 5  (local5)
22            local use 6  (local6)
*22            local use 6  (local6)
23            local use 7  (local7)
*23            local use 7  (local7)


= Probleemide raskusastmed =
= Probleemide raskusastmed =

Revision as of 15:04, 23 November 2015

Autor

Kaari Zalite A31 2015/2016

Sissejuhatus

Syslog

Syslog on utiliit, mis genereerib logifailid ning saadab need Linxi süsteemi logifaili, mis asub /var/log/ kaustas, kus neid omakorda analüüsitakse. Syslog'i teateid saadavad välja erinevad võrguseadmed: ruuterid, switchid jms. Syslog'i teated sisaldavad tavaliselt informatsiooni: kus, millal ja miks teade saadeti.

Facility

The Facility value is a way of determining which process of the machine created the message. Since the Syslog protocol was originally written on BSD Unix, the Facilities reflect the names of Unix processes and Daemons. The priority value is calculated using the following formula: Priority = Facility * 8 + Level


The list of Facilities available:

  • 0 kernel messages
  • 1 user-level messages
  • 2 mail system
  • 3 system daemons
  • 4 security/authorization messages
  • 5 messages generated internally by syslogd
  • 6 line printer subsystem
  • 7 network news subsystem
  • 8 UUCP subsystem
  • 9 clock daemon
  • 10 security/authorization messages
  • 11 FTP daemon
  • 12 NTP subsystem
  • 13 log audit
  • 14 log alert
  • 15 clock daemon
  • 16 local use 0 (local0)
  • 17 local use 1 (local1)
  • 18 local use 2 (local2)
  • 19 local use 3 (local3)
  • 20 local use 4 (local4)
  • 21 local use 5 (local5)
  • 22 local use 6 (local6)
  • 23 local use 7 (local7)

Probleemide raskusastmed

Väärtus Raskusaste Võtmesõna Kirjeldus Näited
0 Emergency emerg Süsteem on kasutuskõlbmatu This level should not be used by applications.
1 Alert alert Tuleb koheselt korda teha Loss of the primary ISP connection.
2 Critical crit Kriitiline seisund A failure in the system's primary application.
3 Error err Error conditions An application has exceeded its file storage limit and attempts to write are failing.
4 Warning warning May indicate that an error will occur if action is not taken. A non-root file system has only 2GB remaining.
5 Notice notice Events that are unusual, but not error conditions.
6 Informational info Normal operational messages that require no action. An application has started, paused or ended successfully.
7 Debug debug Information useful to developers for debugging the application.

Kasutatud materjalid