Enabling debug logs for IMF

Run the following commands to enable additional debug logs for Intelligent Monitoring Framework (IMF). The messages get logged in the agent-specific log file /var/VRTSvcs/log/<agentname>_A.log.

See Troubleshooting Intelligent Monitoring Framework (IMF).

To enable additional debug logs

  1. For Process, Mount, and Application agents:
    # hatype -modify <agentname> LogDbg
    DBG_AGDEBUG DBG_AGTRACE DBG_AGINFO DBG_1 DBG_2 
    DBG_3 DBG_4 DBG_5 DBG_6 DBG_7
  2. For Oracle and Netlsnr agents:
    # hatype -modify <agentname> LogDbg
    DBG_AGDEBUG DBG_AGTRACE DBG_AGINFO DBG_1 DBG_2 
    DBG_3 DBG_4 DBG_5 DBG_6 DBG_7
    DBG_8 DBG_9 DBG_10
  3. For CFSMount agent:
    # hatype -modify <agentname> LogDbg
    DBG_AGDEBUG DBG_AGTRACE DBG_AGINFO DBG_1 DBG_2 
    DBG_3 DBG_4 DBG_5 DBG_6 DBG_7
    DBG_8 DBG_9 DBG_10 DBG_11 DBG_12
    DBG_13 DBG_14 DBG_15 DBG_16 
    DBG_17 DBG_18 DBG_19 DBG_20 DBG_21
  4. For CVMvxconfigd agent, you do not have to enable any additional debug logs.
  5. For AMF driver in-memory trace buffer:

    # amfconfig -S errlevel all all

    If you had enabled AMF driver in-memory trace buffer, you can view the additional logs using the amfconfig -p dbglog command.