| United States-English |
|
|
|
![]() |
HP-UX AAA Server A.07.00 Administrator's Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Chapter 12 Logging
and Monitoring Accounting Log Files |
|
The Local Authorization Server (LAS) generates accounting log files when the LAS_ACCT module is called by the Finite State Machine. Those files have names in the format session.yyyy-mm-dd.log, where yyyy is the year, mm the month, dd the day when the file was generated.
By default, the radius.fsm (logall.fsm) state table calls the LAS_ACCT module when the server receives an Accounting-Request to start or stop the session. From the navigation tree, click Accounting to retrieve information from the HP-UX AAA Server accounting logfiles. Table 12-3 Accounting Logfile Search Parameters
An accounting search returns a list of users. When you select a user to retrieve information for, Server Manager parses the corresponding accounting records and displays the information in the Accounting: Detailed Records screen similar to the example shown in Figure 12-5 “Detailed Accounting Record for a Selected User”. RADIUS accounting records store both the users account information and the users historical session information. Each record begins with a tab-delimited line of values that represent the default HP-UX AAA Server session information. This information includes time-based values, as well as HP-UX-specific and standard RADIUS A-V pairs. If a value does not exist, N/A will appear in the values placeholder. The first line of a record appears as:
After the first line of a session record, each A-V pair in the accounting message that triggered the logging activity is listed.
Represent attribute values that describe the client used for authentication and authorization. The Access-ID, Time-limit, Service-class, and Filter values correspond to A-V pairs (User-Name, Huntgroup-Name, Session-Timeout, Service-Class, and Filter-Id) that exist in the user profile that corresponds to the session record. These non-configurable attributes are used by the server to track sessions.
Table 12-4 Reasons Why The Record Was Generated
It is not possible to make these changes through the Server Manager graphic interface, you must modify configuration files with a text editor.
Each record of a user’s session begins with Date and Time and a list of Attribute-Value pairs, one below the other. This information includes time-based values as well as specific and standard RADIUS A-V pairs.
The above session record will also include any additional A-V pairs that were included in an Accounting-Request message. The attribute value pair displayed above may differ depending on the server configuration.
The log rollover interval (how often a new log file is created to store accounting records) is determined by the timestamp portion of the filename. To change the interval follow the steps in “Changing the Accounting Log Filename”. The logging interval will change to the smallest unit of time in the timestamp portion of the filename. For example,%Y-%m-%d-%H, will change the rollover interval to hourly. You can roll over the server log file and accounting stream using the radsignal command as follows: radsignal [-h] [-v] [[-di ipcdir] pid level ] [[-di ipcdir] pid roll logfile ] [[-di ipcdir] pid roll stream [stream-name]] Where:
radsignal has the following options:
See the radsignal manpage for more information. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||