Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Log & Event Manager (LEM) > Use the CMC checklogs command to display log files

Use the CMC checklogs command to display log files

Table of contents
Created by Justin Rouviere, last modified by Kevin.Kessler on Apr 28, 2017

Views: 446 Votes: 4 Revisions: 8

Overview

The checklogs command displays the contents of the log files stored in LEM from sources such as Syslog and SNMP.

Environment

  • All versions of LEM

Steps

  1. Access the CMC prompt:
    • Virtual Console: Arrow down to Advanced Configuration, and then press Enter.
    • SSH Client: Log in using your CMC credentials.
  2. In the cmc> prompt, enter applianceThe prompt changes to cmc::acm# indicating you are in the appliance configuration menu.
  3. In the acm> prompt, enter checklogs.
  4. Select the log file or local facility by entering the corresponding number in the list and press Enter.
  5. Select if you would like to search from the beginning or end of the log.
    Note: You can press Enter to accept the default (End).
  6. Select the number of lines to return.  
    Note: You can press Enter to accept the default (500).
  7. Press Enter to load the file.
  8. Once you have loaded the file, you can use operators to search for strings.
    • Forward slash (/) to search down the log file.
    • Question mark (?) to search up the log file.
    • Shift + G to go to the bottom of the log file.
    • gg to go to the top of the log file.

 

Last modified
16:27, 28 Apr 2017

Tags

Classifications

Public