~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/snmp/doc/src/snmp_audit_trail_log.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="latin1" ?>
 
2
<!DOCTYPE chapter SYSTEM "chapter.dtd">
 
3
 
 
4
<chapter>
 
5
  <header>
 
6
    <copyright>
 
7
      <year>2004</year><year>2009</year>
 
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
 
9
    </copyright>
 
10
    <legalnotice>
 
11
      The contents of this file are subject to the Erlang Public License,
 
12
      Version 1.1, (the "License"); you may not use this file except in
 
13
      compliance with the License. You should have received a copy of the
 
14
      Erlang Public License along with this software. If not, it can be
 
15
      retrieved online at http://www.erlang.org/.
 
16
    
 
17
      Software distributed under the License is distributed on an "AS IS"
 
18
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
19
      the License for the specific language governing rights and limitations
 
20
      under the License.
 
21
    
 
22
    </legalnotice>
 
23
 
 
24
    <title>Audit Trail Log</title>
 
25
    <prepared></prepared>
 
26
    <responsible></responsible>
 
27
    <docno></docno>
 
28
    <approved></approved>
 
29
    <checked></checked>
 
30
    <date></date>
 
31
    <rev></rev>
 
32
    <file>snmp_audit_trail_log.xml</file>
 
33
  </header>
 
34
  <p>The chapter <em>Audit Trail Log</em> describes the audit trail logging.
 
35
    </p>
 
36
  <p>Both the agent and the manager can be configured to log 
 
37
    incoming and outgoing messages. It uses the Erlang standard log
 
38
    mechanism <c>disk_log</c> for logging. The size and location of
 
39
    the log files are configurable. A wrap log is used, which means
 
40
    that when the log has grown to a maximum size, it starts from the
 
41
    beginning of the log, overwriting existing log records.
 
42
    </p>
 
43
  <p>The log can be either a <c>read</c>, <c>write</c> or a 
 
44
    <c>read_write</c>. 
 
45
    </p>
 
46
 
 
47
  <section>
 
48
    <title>Agent Logging</title>
 
49
    <p>For the agent, a <c>write</c>, means that all <c>set</c> 
 
50
      requests and their responses are stored. No <c>get</c> requests
 
51
      or traps are stored in a <c>write</c>. A <c>read_write</c>, 
 
52
      all requests, responses and traps are stored.
 
53
      </p>
 
54
    <p>The log uses a raw data format (basically the BER encoded
 
55
      message), in order to minimize the CPU load needed for the log
 
56
      mechanism.  This means that the log is not human readable, but
 
57
      needs to be formatted off-line before it can be read.  Use the
 
58
      function 
 
59
      <seealso marker="snmpa#log_to_txt">snmpa:log_to_txt</seealso> 
 
60
      for this purpose.
 
61
      </p>
 
62
  </section>
 
63
 
 
64
  <section>
 
65
    <title>Manager Logging</title>
 
66
    <p>For the manager, a <c>write</c>, means that all  
 
67
      requests (<c>set</c> and <c>get</c>) and their responses are stored. 
 
68
      No traps are stored in a <c>write</c>. A <c>read_write</c>, 
 
69
      all requests, responses and traps are stored.
 
70
      </p>
 
71
    <p>The log uses a raw data format (basically the BER encoded
 
72
      message), in order to minimize the CPU load needed for the log
 
73
      mechanism. This means that the log is not human readable, but
 
74
      needs to be formatted off-line before it can be read. Use the
 
75
      function 
 
76
      <seealso marker="snmpm#log_to_txt">snmpm:log_to_txt</seealso> 
 
77
      for this purpose.
 
78
      </p>
 
79
  </section>
 
80
</chapter>
 
81