Syslog: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Kadamsoo (talk | contribs)
Kadamsoo (talk | contribs)
No edit summary
Line 10: Line 10:
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 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.
Syslog'i teated sisaldavad tavaliselt informatsiooni: kus, millal ja miks teade saadeti.
= Facility =
<table class="wikitable">
<tr>
<th>Facility code</th>
<th>Keyword</th>
<th>Description</th>
</tr>
<tr>
<td>0</td>
<td>kern</td>
<td>kernel messages</td>
</tr>
<tr>
<td>1</td>
<td>user</td>
<td>user-level messages</td>
</tr>
<tr>
<td>2</td>
<td>mail</td>
<td>mail system</td>
</tr>
<tr>
<td>3</td>
<td>daemon</td>
<td>system daemons</td>
</tr>
<tr>
<td>4</td>
<td>auth</td>
<td>security/authorization messages</td>
</tr>
<tr>
<td>5</td>
<td>syslog</td>
<td>messages generated internally by syslogd</td>
</tr>
<tr>
<td>6</td>
<td>lpr</td>
<td>line printer subsystem</td>
</tr>
<tr>
<td>7</td>
<td>news</td>
<td>network news subsystem</td>
</tr>
<tr>
<td>8</td>
<td>uucp</td>
<td>UUCP subsystem</td>
</tr>
<tr>
<td>9</td>
<td></td>
<td>clock daemon</td>
</tr>
<tr>
<td>10</td>
<td>authpriv</td>
<td>security/authorization messages</td>
</tr>
<tr>
<td>11</td>
<td>ftp</td>
<td>FTP daemon</td>
</tr>
<tr>
<td>12</td>
<td>-</td>
<td>NTP subsystem</td>
</tr>
<tr>
<td>13</td>
<td>-</td>
<td>log audit</td>
</tr>
<tr>
<td>14</td>
<td>-</td>
<td>log alert</td>
</tr>
<tr>
<td>15</td>
<td>cron</td>
<td>scheduling daemon</td>
</tr>
<tr>
<td>16</td>
<td>local0</td>
<td>local use 0 (local0)</td>
</tr>
<tr>
<td>17</td>
<td>local1</td>
<td>local use 1 (local1)</td>
</tr>
<tr>
<td>18</td>
<td>local2</td>
<td>local use 2 (local2)</td>
</tr>
<tr>
<td>19</td>
<td>local3</td>
<td>local use 3 (local3)</td>
</tr>
<tr>
<td>20</td>
<td>local4</td>
<td>local use 4 (local4)</td>
</tr>
<tr>
<td>21</td>
<td>local5</td>
<td>local use 5 (local5)</td>
</tr>
<tr>
<td>22</td>
<td>local6</td>
<td>local use 6 (local6)</td>
</tr>
<tr>
<td>23</td>
<td>local7</td>
<td>local use 7 (local7)</td>
</tr>
</table>


= Probleemide raskusastmed =
= Probleemide raskusastmed =

Revision as of 13:55, 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

Facility code Keyword Description
0 kern kernel messages
1 user user-level messages
2 mail mail system
3 daemon system daemons
4 auth security/authorization messages
5 syslog messages generated internally by syslogd
6 lpr line printer subsystem
7 news network news subsystem
8 uucp UUCP subsystem
9 clock daemon
10 authpriv security/authorization messages
11 ftp FTP daemon
12 - NTP subsystem
13 - log audit
14 - log alert
15 cron scheduling daemon
16 local0 local use 0 (local0)
17 local1 local use 1 (local1)
18 local2 local use 2 (local2)
19 local3 local use 3 (local3)
20 local4 local use 4 (local4)
21 local5 local use 5 (local5)
22 local6 local use 6 (local6)
23 local7 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