4.429 rept-stat-seculog

Use this command to display the following information about the security log on the active and standby OAMs:

  • The active or standby status of each log
  • The number of new (that is, not uploaded) entries in each log
  • The percentage of log space used by those new entries
  • Whether overflow has occurred since the last upload
  • Whether a recording failure has occurred since the last upload
  • The date and time of the oldest and newest records in the log
  • The date and time when the last successful upload of the log occurred

Parameters

This command has no parameters.

Example

rept-stat-seculog

Dependencies

No other security log command can be in progress when this command is entered.

Notes

The %FULL field displays the amount of space in the log taken up by new (not uploaded) entries. That number is obtained by dividing the number displayed in the ENTRIES field by the overall storage capacity of the log (10,000 entries). Because the log stays full of entries at all times, new entries overwrite existing entries.

The percentage full computed is rounded up to the next integer with one exception: the value of 100 is not displayed until the log is truly 100% full.

The log capacity is 10,000 records. To determine how many more commands can be logged before an overflow condition occurs, subtract the value displayed in the ENTRIES field from 10,000.

The status of the active OAM’s log is always reported first in the output report, followed by the status of the standby log; in other words, they are notnecessarily displayed numerically by the location number.

The report displays dates in the format yy-mm-dd, where yy is the year, mm is the month, and dd is the date. The report displays times in the format of hh:mm:ss, where hh is hours, mm is minutes, and ss is seconds.

Output

This example shows the output in the normal security log state. All un-uploaded records appear in the log on the active OAM.

rept-stat-seculog

    rlghncxa03w 05-07-29 16:40:40 EST  EAGLE 28.1.0
                 -- SINCE LAST UPLOAD --  OLDEST   NEWEST   LAST
    LOC  ROLE    ENTRIES %FULL OFLO FAIL  RECORD   RECORD   UPLOAD
    1114 Active  8312    84    No   No    96-08-12 05-07-04 05-07-16
                                          11:23:56 15:59:06 14:02:22 

    1116 Standby 0       0     No   No    96-09-12 05-07-30 05-07-30
                                          11:24:12 14:00:06 14:02:13 
;

This example shows the output when the active security log is full and has overflowed.

rept-stat-seculog

    rlghncxa03w 05-07-29 16:40:40 EST  EAGLE 28.1.0
                 -- SINCE LAST UPLOAD --  OLDEST   NEWEST   LAST
    LOC  ROLE    ENTRIES %FULL OFLO FAIL  RECORD   RECORD   UPLOAD
    1114 Active  10000   100   Yes  No    96-08-12 05-07-04 05-07-16
                                          11:23:56 15:59:06 14:02:22

    1116 Standby 0       0     No   No    96-09-12 05-07-30 05-07-30
                                          11:24:12 14:00:06 14:02:13 
;

This example shows the output when both logs contain un-uploaded entries. The standby log on 1116 should be uploaded.

rept-stat-seculog

    rlghncxa03w 05-07-29 16:40:40 EST  EAGLE 28.1.0
                 -- SINCE LAST UPLOAD --  OLDEST   NEWEST   LAST
    LOC  ROLE    ENTRIES %FULL OFLO FAIL  RECORD   RECORD   UPLOAD
    1114 Active  8312    84    No   No    96-08-12 05-07-04 05-07-16
                                          11:23:56 15:59:06 14:02:22

    1116 Standby 693     7     No   No    96-09-12 05-07-30 05-07-30
                                          11:24:12 14:00:06 14:02:13 
;

This example shows the output if data cannot be retrieved from the standby OAM (for example, in simplex mode).

rept-stat-seculog

    rlghncxa03w 05-07-29 16:40:40 EST  EAGLE 28.1.0
                 -- SINCE LAST UPLOAD --  OLDEST   NEWEST   LAST
    LOC  ROLE    ENTRIES %FULL OFLO FAIL  RECORD   RECORD   UPLOAD
    1114 Active  8312    83    No   No    96-08-12 05-07-04 05-07-16
                                          11:23:56 15:59:06 14:02:22 

    1116 Standby -----   ---   ---  ---   -------- -------- --------
                                          -------- -------- -------- 
;

Legend

  • LOC—Address of the TDM card (with the hard disk on it) that contains the log. It is always the card at location 1114 or 1116.
  • ROLE—Current role of the security log at that location. This value is always the same as the role of the OAM associated with the TDM card: active or standby.
  • -- SINCE LAST UPLOAD—Applies to the four columns directly below the heading on the output. It indicates that the fields below display information obtained since the last upload.
    • ENTRIES—Shows how many un-uploaded commands are currently recorded in the log. This value resets to 0 (zero) when the log is uploaded using copy-seculog .
    • %FULL—Shows, as a percentage, how much space in the log the ENTRIES field value occupies
    • OFLO—Overflow indicator. Overflow occurs if the log is not uploaded periodically: new entries start overwriting un-uploaded entries. Displays No if no overflow has occurred and Yes if overflow has occurred
    • FAIL——Failed indicator. Displays No if no logging failure has occurred. Displays Yes to indicate that a logging failure has occurred that has prevented one or more entries from being recorded in the log successfully.

    Note:

    Whether the system is able to set the logging failure flag in the security log header depends on the nature of the failure. If a copy-disk command is processing, the system sets the flag when the copy-disk command finishes processing. However, if the active fixed disk fails for some reason, or the security log happens to be in a bad sector that develops, the system is unable to set the logging failure flag.
  • OLDEST RECORD/NEWEST RECORD—Date and time recorded in the oldest and newest record in the log. Allows the administrator to know the time period that the log covers. The log records all commands that were issued between 6/3/96 at 13:45:03 up to 8/5/96 at 06:58:55. The NEWEST RECORD for the active log is the current date, because the log will have recorded the rept-stat-seculog command that was just entered to produce the report.
  • LAST UPLOAD—Date and time when the log was last uploaded successfully. That is, the copy-seculog command successfully copied the log to the FTA.