Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

iDRAC 8/7 v2.70.70.70 RACADM CLI Guide

PDF

getraclog

Table 1. Details of getraclog attributeThe following table provides details of getraclog attribute:
Description

The getraclog command displays RAC log entries.

The getraclog command displays CMC log entries.

Synopsis
  • racadm getraclog [-i]
  • racadm getraclog [-s <start>] [-c <count>] [--more]
racadm getraclog [-c <count>] [-s <start-record>] [--more]

NOTE: : If options are not provided, the entire log is displayed.

Input
  • -c — Specifies the number of records to display.

    NOTE: : On Local RACADM, the number of logs are restricted to 100 by default.

  • --more — Displays one screen at a time and prompts you to continue (similar to the UNIX more command).
  • -s — Specifies the starting record used for the display.
  • -c — Specifies the number of records to display.

    NOTE: : On Remote RACADM, the number of logs are restricted to 25 by default.

  • -i — Displays the number of entries in the CMC log.
  • --more — Displays one screen at a time and prompts you to continue (similar to the UNIX more command).
  • -s — Specifies the starting record used for the display.

NOTE: : When Enhanced Chassis Logging and Events feature is enabled, then -i and --more options are not displayed.

Output
SeqNumber = 286
Message ID = USR0005
Category = Audit
AgentID = RACLOG
Severity = Information
Timestamp = 2012-10-05 06:25:27
Message = Login failed from processdisco06a: 192.168.0
Message Arg 1 = processdisco06a
Message Arg 2 = 10.92.68.245
FQDD = iDRAC.Embedded.1  
Example
  • Display the starting record and the number of records.
    racadm getraclog -s 10 -c 2
  • Display a few records and prompt to display another set of records.
    $ racadm getraclog --more
    Dec 4 22:23:09 CMC-JP4BF2S Login success from 192.168.0 (username=root, type=SSH, sid=16393)
    Dec 4 22:24:54 CMC-JP4BF2S Login success from 192.168.0 (username=test, type=SSH, sid=35885)
    Dec 4 22:26:20 CMC-JP4BF2S Login success from 192.168.0 (username=root, type=GUI, sid=27476)
    Dec 4 22:28:06 CMC-JP4BF2S Mod password of user puser succeeds
    Dec 4 22:28:06 CMC-JP4BF2S Mod privileges of user puser succeeds
    Dec 4 22:28:21 CMC-JP4BF2S Login success from 192.168.0 (username=puser, type=SSH, sid=39229)
    Dec 4 22:29:12 CMC-JP4BF2S Mod password of user nuser succeeds
    Dec 4 22:29:12 CMC-JP4BF2S Mod privileges of user nuser succeeds
    Dec 4 22:29:51 CMC-JP4BF2S SSH login failed (username=nuser, ip=192.168.0, reason=Local user fails to login )
    Dec 4 22:30:23 CMC-JP4BF2S last message repeated 3 times
    Dec 4 22:30:23 CMC-JP4BF2S Mod privileges of user nuser succeeds
    Dec 4 22:30:38 CMC-JP4BF2S SSH login failed (username=nuser, ip=192.168.0, reason=Local user fails to login )
    [more]
    
  • Entry in the RAC log when Extended Power Performance control is enabled or disabled.
    racadm getraclog
    Jul 31 14:16:11 CMC-4C2WXF1 Log Cleared
    Jul 31 14:15:49 CMC-4C2WXF1 Extended Power Performance is Enabled
    Jul 31 14:15:49 CMC-4C2WXF1 Extended Power Performance is Disabled
  • When Enhanced Logging mode is enabled, the output of getraclog is displayed similar to chassislog output.

    Using racadm config -g cfgRacTuning -o cfgRacTuneEnhancedLog 1 command, Enhanced Logging feature is enabled.

    SeqNumber       = 38
    Message ID      = USR8501
    Category        = Audit
    AgentID         = CMC
    Severity        = Information
    Timestamp       = 2014-10-18 15:48:10
    Message Arg   1 = 14503
    Message Arg   2 = 48186
    Message         = Successfully closed Session process: pid=14503 sid=4818
Example
Display the recent 2 records for RAC log
racadm getraclog -c 
2 
SeqNumber = 4102
Message ID = LIC201
Category = Audit
AgentID = DE
Severity = Warning
Timestamp = 2014-06-12 01:38:19
Message = License yPMRJGuEf7z5HG8LO7gh assigned to device iDRAC expires in 4 days.
Message Arg 1 = yPMRJGuEf7z5HG8LO7ghMessage Arg 2 = iDRACMessage Arg 3 = 4
-----------------------------------------------------------------------------------
SeqNumber = 4101
Message ID = USR0032
Category = Audit
AgentID = RACLOG
Severity = Information
Timestamp = 2014-06-11 19:54:00
Message = The session for root from 192.168.0 using RACADM is logged off.
Message Arg 1 = root
Message Arg 2 = 10.94.98.92
Message Arg 3 = RACADM
FQDD = iDRAC.Embedded.1
-------------------------------------------------------------------------------------   

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\