Cisco Virtual Network Management Center CLI Configuration Guide, Release 1.2
Managing Logging
Downloads: This chapterpdf (PDF - 161.0KB) The complete bookPDF (PDF - 4.06MB) | Feedback

Managing Logs, Events and Faults

Table Of Contents

Managing Logs, Events and Faults

Working With Management Logs

Setting Severity Levels and Log Size

Resetting the Management Log Levels

Saving Management Log Parameters

Displaying Management Logs

Acknowledging Faults

Displaying Audit Logs

Displaying Events

Displaying Faults


Managing Logs, Events and Faults


This chapter provides procedures for managing VNMC management logging.

This chapter includes the following sections:

Working With Management Logs

Acknowledging Faults

Displaying Audit Logs

Displaying Events

Displaying Faults

Working With Management Logs

This section includes the following topics:

Setting Severity Levels and Log Size

Resetting the Management Log Levels

Saving Management Log Parameters

Displaying Management Logs

Setting Severity Levels and Log Size

You can set the severity level and log size.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can also perform the set command in the management controller CLI.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. set {all | file | module}

EXAMPLES

This example shows how to assign a critical severity level to all logging files in the resource manager CLI:

vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # set all crit
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # 

Resetting the Management Log Levels

You can reset the management log levels.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can also perform the reset command in the management controller CLI.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. reset

EXAMPLES

This example shows how to reset in the resource manager CLI:

vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # reset
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # 

Saving Management Log Parameters

You can save the management log parameters.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can also perform the save command in the management controller CLI.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. save

EXAMPLES

This example shows how to save in the resource manager CLI:

vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # save
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # 

Displaying Management Logs

You can display management logs.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can perform the show command in the management controller CLI.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. show

EXAMPLES

This example shows how to display all log files in the resorce manager CLI:

vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # show

    Log File Size Limit:         10000000

    Name                  Level  Default Level
    --------------------- ------ -------------
    agdriver              Crit   Debug1
    ape                   Crit   Debug1
    app_sam_cim           Crit   Debug1
    app_sam_dme           Crit   Debug1
    app_sam_ucsmAG        Crit   Debug1
    app_unittest_testsvc  Crit   Debug1
    auth                  Crit   Debug1
    autocond              Crit   Debug1
    bio_stream            Crit   Debug1
    callhome              Crit   Debug1
    catalog               Crit   Debug1
    char_stream           Crit   Debug1
    core_transactor       Crit   Debug1
    core_utils            Crit   Debug1
    doer                  Crit   Debug1
    event_                Crit   Debug1
    event_channel         Crit   Debug1
    exception_handling    Crit   Debug1
    fault                 Crit   Debug1
    filter                Crit   Debug1
    fsm                   Crit   Debug1
    http_client           Crit   Debug1
    log                   Crit   Debug1
    meta                  Crit   Debug1
    method                Crit   Debug1
    mgmt                  Crit   Debug1
    mgmtif                Crit   Debug1
    mit_init              Crit   Debug1
    mo                    Crit   Debug1
    mo_qualifier          Crit   Debug1
    mod_nuova             Crit   Debug1
    net                   Crit   Debug1
    org                   Crit   Debug1
    os                    Crit   Debug1
    pam_proxy             Crit   Debug1
    pool                  Crit   Debug1
    proc_app              Crit   Debug1
    prt                   Crit   Debug1
    sam_extXMLApi_        Crit   Debug1
    sam_sec               Crit   Debug1
    sam_sessionmgrAG      Crit   Debug1
    sam_ucssh             Crit   Debug1
    smbios                Crit   Debug1
    snmp                  Crit   Debug1
    solprot               Crit   Debug1
    stats                 Crit   Debug1
    sysdebug              Crit   Debug1
    top                   Crit   Debug1
    tx                    Crit   Debug1
    xml_parser            Crit   Debug1
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # 

Acknowledging Faults

You can acknowledge faults.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can perform the acknowledge command in the management controller CLI.


1. scope monitoring

2. acknowledge fault

3. commit-buffer

EXAMPLES

This example shows how to acknowledge a fault in the management controller CLI:

vnmc# scope monitoring
vnmc /monitoring # acknowledge fault 10194
vnmc /monitoring* # commit-buffer
vnmc /monitoring # 

Displaying Audit Logs

You can display a list of audit logs.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can perform this show command in the management controller CLI.


2. scope monitoring

3. show audit-logs

EXAMPLES

This example shows how to display a list of audit logs in the policy manager CLI:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(policy-mgr) /monitoring # show audit-logs

Audit trail logs:
    Creation Time        User       ID       Action           Description
    -------------------- ---------- -------- ---------------- -----------
    2010-11-29T14:56:29.195
                         admin         10615 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.195
                         admin         10616 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.195
                         admin         10617 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10607 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10608 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10609 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10610 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10611 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10612 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10613 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10614 Modification     sysdebug mgmt log 
vnmc(policy-mgr) /monitoring #

Displaying Events

You can display a list of events.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can perform this show command in the management controller CLI.


2. scope monitoring

3. show events

EXAMPLES

This example shows how to display a list of events in the policy manager CLI:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(resource-mgr)# scope monitoring
vnmc(policy-mgr) /monitoring # show event

Creation Time            ID       Code     Description
------------------------ -------- -------- -----------
2010-11-22T12:09:26.369     10161 E4194467 [FSM:END]: Resolve Mgmt Controller Fs
m(FSM:sam:dme:ObserveObservedResolveControllerFsm)
2010-11-22T12:09:26.368     10160 E4194465 [FSM:STAGE:END]: Resolve Mgmt Control
ler FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:Execute)
2010-11-22T12:09:26.367     10158 E4194465 [FSM:STAGE:STALE-SUCCESS]: Resolve Mg
mt Controller FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:
Execute)
2010-11-22T12:09:26.018     10156 E4194465 [FSM:STAGE:ASYNC]: Resolve Mgmt Contr
oller FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:Execute)
2010-11-22T12:09:26.017     10153 E4194447 [FSM:END]: Service Registration Fsm(F
SM:sam:dme:ExtpolEpRegisterFsm)
2010-11-22T12:09:26.017     10154 E4194464 [FSM:BEGIN]: Resolve Mgmt Controller 
Fsm(FSM:sam:dme:ObserveObservedResolveControllerFsm)
2010-11-22T12:09:26.017     10155 E4194464 [FSM:STAGE:END]: (FSM-STAGE:sam:dme:O
bserveObservedResolveControllerFsm:begin)
2010-11-22T12:09:26.014     10148 E4194445 [FSM:STAGE:END]: Register FSM Execute
(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.991     10144 E4194445 [FSM:STAGE:STALE-SUCCESS]: Register F
SM Execute(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.558     10143 E4194445 [FSM:STAGE:ASYNC]: Register FSM Execu
te(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.557     10141 E4194444 [FSM:BEGIN]: Service Registration Fsm
(FSM:sam:dme:ExtpolEpRegisterFsm)
2010-11-22T12:09:25.557     10142 E4194444 [FSM:STAGE:END]: (FSM-STAGE:sam:dme:E
xtpolEpRegisterFsm:begin)
vnmc(policy-mgr) /monitoring # 

Displaying Faults

You can display a list of faults.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Policy manager

Resource manager

Service registry

Virtual machine manager

SUMMARY STEPS

1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}


Note Step 1 is optional. You can perform the show command in the management controller CLI.


2. scope monitoring

3. show fault

EXAMPLES

This example shows how to display a list of faults:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc# scope monitoring
vnmc /monitoring # show fault

Severity  Code     Last Transition Time     ID       Description
--------- -------- ------------------------ -------- -----------
Critical  F999556  2010-11-24T18:38:17.345     20133 [FSM:FAILED]: internal system 
backup(FSM:sam:dme:MgmtBackupBackup)
Warning   F16516   2010-11-24T18:38:17.344     20131 [FSM:STAGE:FAILED]: internal system 
backup(FSM-STAGE:sam:dme:MgmtBackupBackup:upload)
Warning   F77956   2010-11-24T18:38:17.344     20129 [FSM:STAGE:REMOTE-ERROR]: Result: 
end-point-failed Code: unspecified Message: Permission denied
(sam:dme:MgmtBackupBackup:upload)
vnmc /monitoring #